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

Unified Diff: media/video/h264_poc.h

Issue 2661423002: VTVDA: Optimize pic_order_cnt_type == 2. (Closed)
Patch Set: Change POC of MMCO5 frame to 0. Created 3 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
Index: media/video/h264_poc.h
diff --git a/media/video/h264_poc.h b/media/video/h264_poc.h
index a2319cacd005b2cc6f775a1124973304a2161f31..d61a3d76d25cb984dc2482cf633c0d7afa1a4fc7 100644
--- a/media/video/h264_poc.h
+++ b/media/video/h264_poc.h
@@ -26,6 +26,8 @@ class MEDIA_EXPORT H264POC {
const H264SliceHeader& slice_hdr,
int32_t* pic_order_cnt);
+ bool IsPendingMMCO5() { return pending_mmco5_; }
Pawel Osciak 2017/02/17 04:53:26 Please add documentation.
sandersd (OOO until July 31) 2017/02/18 00:46:34 Done.
+
// Reset computation state. It's best (although not strictly required) to call
// this after a seek.
void Reset();
@@ -35,6 +37,7 @@ class MEDIA_EXPORT H264POC {
int32_t ref_pic_order_cnt_lsb_;
int32_t prev_frame_num_;
int32_t prev_frame_num_offset_;
+ bool pending_mmco5_;
DISALLOW_COPY_AND_ASSIGN(H264POC);
};

Powered by Google App Engine
This is Rietveld 408576698