Avoid reading one extra frame at the end of the input file.
Removed stdint.h.

It was included when development was done with VS2008. VS2010 and just about
every other compiler/library has it so we don't need it anymore.
Support long option names by getopt_long().
config: Add --no-deblock to disable deblocking filter.
config: Add --deblock to specify deblocking parameter offsets divided by
2.
config: Add --no-sao to disable sample adaptive offset filter.
Update CREDITS
Merge pull request #9 from VFR-maniac/options

Options
Included getopt.c/.h to VS2010 project
Fixed missing includes in MSVC caused by the deletion of stdint.h
Merge pull request #10 from VFR-maniac/fix

Avoid reading one extra frame at the end of the input file.
Better lambda cost implementation (from HM12)

 - Lambda array changed to double as in HM
 - Needs updating when GOP / B-pictures are used
Simplify the prediction mode search recursion.

No need to be so clever for something this simple.

I moved the cost initialization outside the recursing function because it
relied on the clever recursion to work. It should eventually be moved to its
own function that also initializes all the other fields just to be safe. I
didn't do that yet because I want to do it per-LCU and these functions are
still working on per-frame basis.
Modify search_tree to take a pixel coordinate instead of CU coordinate.

I need at least 4x4 resolution for NxN. It's simpler to just use pixel
coordinates.
Update usage information and version string.

- Change stderr back to text mode. Can't see what harm it should allow us to print
  correct newlines for different platforms.
- Remove copy-pasted function calls from usage printing.
Fix compiler warnings for VS2010 /W3.

- Working towards issue #11.
- Change lambda cost multiplier for intra NxN to from 256 to 4.
- Add 0.5 to the lambda multipliers so it's rounded instead of truncated.
Fix compiler warnings for VS2010 /W4 in tranform.c.

- Working towards issue #11.
- Lots of implicit conversions to explicit ones.
Added deblock beta/tc checking and allowed range to usage, closes issue #13
Fix compiler warnings for VS2010 /W4 in search.c.

- Working towards issue #11.
- Implicit conversions to explicit ones.
Fix compiler warnings for VS2010 /W4 in sao.c.

- Working towards issue #11.