diff options
author | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 23:34:24 +0000 |
---|---|---|
committer | fbarchard@chromium.org <fbarchard@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-03 23:34:24 +0000 |
commit | 0d97e298c87bb5d5b7b3cda7202a82389230c01f (patch) | |
tree | c8ccb8c694c62056575ca512dfeaca9702221069 /media/base | |
parent | 4cbfb7e8cfab54280de2d5e18b2d010c0e48dade (diff) | |
download | chromium_src-0d97e298c87bb5d5b7b3cda7202a82389230c01f.zip chromium_src-0d97e298c87bb5d5b7b3cda7202a82389230c01f.tar.gz chromium_src-0d97e298c87bb5d5b7b3cda7202a82389230c01f.tar.bz2 |
media bench report fps
also handles videos with 0 frames the same as videos with more than 0 frames, for consistency
and throwing in a comment in yuv conversion
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3073019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base')
-rw-r--r-- | media/base/yuv_row.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/media/base/yuv_row.h b/media/base/yuv_row.h index 262d9a0..0a2990b 100644 --- a/media/base/yuv_row.h +++ b/media/base/yuv_row.h @@ -53,7 +53,6 @@ void DoubleYUVToRGB32Row(const uint8* y_buf, // Handles arbitrary scaling up or down. // Mirroring is supported, but not 90 or 270 degree rotation. // Chroma is under sampled every 2 pixels for performance. -// This is the slowest of the scalers. void ScaleYUVToRGB32Row(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, @@ -61,6 +60,10 @@ void ScaleYUVToRGB32Row(const uint8* y_buf, int width, int source_dx); +// Handles arbitrary scaling up or down with bilinear filtering. +// Mirroring is supported, but not 90 or 270 degree rotation. +// Chroma is under sampled every 2 pixels for performance. +// This is the slowest of the scalers. void LinearScaleYUVToRGB32Row(const uint8* y_buf, const uint8* u_buf, const uint8* v_buf, |