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

Unified Diff: content/common/gpu/media/vaapi_h264_decoder.h

Issue 177583002: VAVDA: Switch to using max_num_reorder_frames. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
« no previous file with comments | « no previous file | content/common/gpu/media/vaapi_h264_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/vaapi_h264_decoder.h
diff --git a/content/common/gpu/media/vaapi_h264_decoder.h b/content/common/gpu/media/vaapi_h264_decoder.h
index eaceebbfe18c9ac24e45a1583f7253fd702ede7a..914e37a1863d83d1a7d6564356229aea48f00545 100644
--- a/content/common/gpu/media/vaapi_h264_decoder.h
+++ b/content/common/gpu/media/vaapi_h264_decoder.h
@@ -143,6 +143,8 @@ class CONTENT_EXPORT VaapiH264Decoder {
// frame (see spec).
void UpdatePicNums();
+ bool UpdateMaxNumReorderFrames(const media::H264SPS* sps);
+
// Prepare reference picture lists (ref_pic_list[01]_).
bool PrepareRefPicLists(media::H264SliceHeader* slice_hdr);
@@ -241,6 +243,7 @@ class CONTENT_EXPORT VaapiH264Decoder {
int max_frame_num_;
int max_pic_num_;
int max_long_term_frame_idx_;
+ size_t max_num_reorder_frames_;
int frame_num_;
int prev_frame_num_;
« no previous file with comments | « no previous file | content/common/gpu/media/vaapi_h264_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698