Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(80)

Unified Diff: media/base/video_util.h

Issue 9766007: Fix incorrect VideoFrame::row_bytes() for RGB. Add tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Typos. Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/video_util.h
diff --git a/media/base/video_util.h b/media/base/video_util.h
index 3d21c8c1e39707ee48f48ae6cca59b1ddd2b97c6..e22f77f09be28e56d2bfd9447768ba91268e90d4 100644
--- a/media/base/video_util.h
+++ b/media/base/video_util.h
@@ -16,11 +16,11 @@ class VideoFrame;
// source and destinations dimensions.
//
// NOTE: rows is *not* the same as height!
-MEDIA_EXPORT void CopyYPlane(const uint8* source, int stride, int rows,
+MEDIA_EXPORT void CopyYPlane(const uint8* source, size_t stride, size_t rows,
VideoFrame* frame);
-MEDIA_EXPORT void CopyUPlane(const uint8* source, int stride, int rows,
+MEDIA_EXPORT void CopyUPlane(const uint8* source, size_t stride, size_t rows,
VideoFrame* frame);
-MEDIA_EXPORT void CopyVPlane(const uint8* source, int stride, int rows,
+MEDIA_EXPORT void CopyVPlane(const uint8* source, size_t stride, size_t rows,
VideoFrame* frame);
// Fills |frame| containing YUV data to the given color values.

Powered by Google App Engine
This is Rietveld 408576698