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

Unified Diff: media/filters/h264_parser.h

Issue 813693006: Add accelerated video decoder interface, VP8 and H.264 implementations and hook up to V4L2SVDA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 | « content/content_common.gypi ('k') | media/filters/h264_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/h264_parser.h
diff --git a/media/filters/h264_parser.h b/media/filters/h264_parser.h
index e248db73e5730a71cb3d9f26902f1e0f10968a44..b8dde5028caa9df40183398ceb67205bd6a996ac 100644
--- a/media/filters/h264_parser.h
+++ b/media/filters/h264_parser.h
@@ -249,7 +249,8 @@ struct MEDIA_EXPORT H264SliceHeader {
int idr_pic_id;
int pic_order_cnt_lsb;
int delta_pic_order_cnt_bottom;
- int delta_pic_order_cnt[2];
+ int delta_pic_order_cnt0;
+ int delta_pic_order_cnt1;
int redundant_pic_cnt;
bool direct_spatial_mv_pred_flag;
@@ -285,6 +286,11 @@ struct MEDIA_EXPORT H264SliceHeader {
int disable_deblocking_filter_idc;
int slice_alpha_c0_offset_div2;
int slice_beta_offset_div2;
+
+ // Calculated.
+ // Size in bits of dec_ref_pic_marking() syntax element.
+ size_t dec_ref_pic_marking_bit_size;
+ size_t pic_order_cnt_bit_size;
};
struct H264SEIRecoveryPoint {
« no previous file with comments | « content/content_common.gypi ('k') | media/filters/h264_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698