Squashed commit of the following:

commit a83d75aed2fae9e0ae877642fbbd8e82b6bacca6
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date:   Fri Apr 4 15:40:54 2014 +0800

    check makefile

commit 097bd858ef46b6febda098253cc0d48e2eb0c95c
Author: lyao2 <lyao2@LYAO2-WS01.cisco.com>
Date:   Fri Apr 4 09:43:24 2014 +0800

    add mask flag

commit 34e86276000bac158abdfb839b1a5aaebac1e235
add scroll detection files
rename Initialize2 to IntializeInternal
remove RawData2SrcPic, which is never called
Merge pull request #636 from volvet/refine_encoder_wrap

Refine encoder wrap
Add ASM related functions for ME cross search

Add asm level functions

Add asm code for ME

Modify format

Add unit test for asm code.

Modify function name and format.

Remove unuse comment

Modify targets file

Add Macro protect for SSE41 funtion test

Modify according to review request.
Modify comment
Merge pull request #637 from zhilwang/ruby-merge

Ruby merge
remove RC enable flag,  use RC Mode to indicate RC on or off
add interface for error concealment, to be continued
Merge pull request #638 from volvet/refine_enc_para

remove RC enable flag,  use RC Mode to indicate RC on or off
update pre-processing workflow for screen content
Use uintptr_t for casting pointers to integers

This fixes compilation on mingw-w64 and makes failing tests pass
on MSVC in 64 bit mode.
correct formatted file headers
Add the new x86 assembly source files to the msvc project files
Merge pull request #641 from ruil2/enc_update

update pre-processing workflow for screen content
Remove stray dos newlines

These were added in 4ced8a9e and 9645f380.
Merge pull request #640 from mstorsjo/update-msvc-proj

Add the new x86 assembly source files to the msvc project files
Remove the explicit -O3 parameter to nasm in visual studio project files

According to "nasm -h", there is no -O3 parameter at all, and
the highest optimization level (-Ox) is already the default.

The corresponding parameter never was set when building with the
make build system.
Remove the literal CRLF (&#x0D;&#x0A;) within the nasm commands in msvc project files
Rename cpufeatures symbols to avoid colisions in static builds

This fixes potential duplicated symbols in static links
with other libraries including the cpufeatures.o object file