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

Unified Diff: media/base/video_frame.h

Issue 1254953004: Hacking ffvp9 decoder support for profiling. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Supress windows warning Created 4 years, 8 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
« no previous file with comments | « media/base/media_switches.cc ('k') | media/base/video_frame_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame.h
diff --git a/media/base/video_frame.h b/media/base/video_frame.h
index 944a04018ca25c55a6fbd3d12e98b35374e35b77..c2f0b8ca49105c5508c5302957e151a7bd468b6c 100644
--- a/media/base/video_frame.h
+++ b/media/base/video_frame.h
@@ -34,8 +34,10 @@ namespace media {
class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> {
public:
enum {
- kFrameSizeAlignment = 16,
- kFrameSizePadding = 16,
+ // These values are chosen according to like values in FFmpeg. See static
+ // asserts in ffmpeg_common.
+ kFrameSizeAlignment = 32,
+ kFrameSizePadding = 47,
kFrameAddressAlignment = 32
};
« no previous file with comments | « media/base/media_switches.cc ('k') | media/base/video_frame_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698