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

Side by Side Diff: content/common/gpu/media/h264_dpb.h

Issue 356903002: Revert "Revert 279650 "Add VaapiVideoEncodeAccelerator for HW-accelerate..."" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file contains an implementation of an H.264 Decoded Picture Buffer 5 // This file contains an implementation of an H.264 Decoded Picture Buffer
6 // used in H264 decoders. 6 // used in H264 decoders.
7 7
8 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ 8 #ifndef CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_
9 #define CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ 9 #define CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_
10 10
(...skipping 23 matching lines...) Expand all
34 int pic_order_cnt_msb; 34 int pic_order_cnt_msb;
35 int pic_order_cnt_lsb; 35 int pic_order_cnt_lsb;
36 36
37 int pic_num; 37 int pic_num;
38 int long_term_pic_num; 38 int long_term_pic_num;
39 int frame_num; // from slice header 39 int frame_num; // from slice header
40 int frame_num_offset; 40 int frame_num_offset;
41 int frame_num_wrap; 41 int frame_num_wrap;
42 int long_term_frame_idx; 42 int long_term_frame_idx;
43 43
44 media::H264SliceHeader::Type type;
44 bool idr; // IDR picture? 45 bool idr; // IDR picture?
45 bool ref; // reference picture? 46 bool ref; // reference picture?
46 bool long_term; // long term reference picture? 47 bool long_term; // long term reference picture?
47 bool outputted; 48 bool outputted;
48 // Does memory management op 5 needs to be executed after this 49 // Does memory management op 5 needs to be executed after this
49 // picture has finished decoding? 50 // picture has finished decoding?
50 bool mem_mgmt_5; 51 bool mem_mgmt_5;
51 52
52 Field field; 53 Field field;
53 54
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 private: 129 private:
129 Pictures pics_; 130 Pictures pics_;
130 size_t max_num_pics_; 131 size_t max_num_pics_;
131 132
132 DISALLOW_COPY_AND_ASSIGN(H264DPB); 133 DISALLOW_COPY_AND_ASSIGN(H264DPB);
133 }; 134 };
134 135
135 } // namespace content 136 } // namespace content
136 137
137 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ 138 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/gpu_video_encode_accelerator.cc ('k') | content/common/gpu/media/va.sigs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698