diff options
author | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 21:22:15 +0000 |
---|---|---|
committer | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-06 21:22:15 +0000 |
commit | b62b752c86847826f3fd20b9aaf09a409ebac61d (patch) | |
tree | 77f3375f1a7375184b98483501dff0fbbd2c6c80 /chrome | |
parent | 6d8924d8cc89c3129e51e2067e7911b960a7a7d8 (diff) | |
download | chromium_src-b62b752c86847826f3fd20b9aaf09a409ebac61d.zip chromium_src-b62b752c86847826f3fd20b9aaf09a409ebac61d.tar.gz chromium_src-b62b752c86847826f3fd20b9aaf09a409ebac61d.tar.bz2 |
Add jpeg varients of YV12 and YV16. In practice, these come up for motion jpeg.
For memory calculation purposes, these are identical to their regular counterparts, but the YUV calculation should be done differently.
A jpeg uses full range 0 to 255, whereas mpeg uses 16 to 240.
Ignoring this distinction, means that jpeg will be slightly darker and brighter than it should be.
Since jpeg is not a focus for us, and other decoders do this the same way, I suggest we treat them as the same for now.
Review URL: http://codereview.chromium.org/62062
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
0 files changed, 0 insertions, 0 deletions