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

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

Issue 350413002: Revert 279650 "Add VaapiVideoEncodeAccelerator for HW-accelerate..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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;
45 bool idr; // IDR picture? 44 bool idr; // IDR picture?
46 bool ref; // reference picture? 45 bool ref; // reference picture?
47 bool long_term; // long term reference picture? 46 bool long_term; // long term reference picture?
48 bool outputted; 47 bool outputted;
49 // Does memory management op 5 needs to be executed after this 48 // Does memory management op 5 needs to be executed after this
50 // picture has finished decoding? 49 // picture has finished decoding?
51 bool mem_mgmt_5; 50 bool mem_mgmt_5;
52 51
53 Field field; 52 Field field;
54 53
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 private: 128 private:
130 Pictures pics_; 129 Pictures pics_;
131 size_t max_num_pics_; 130 size_t max_num_pics_;
132 131
133 DISALLOW_COPY_AND_ASSIGN(H264DPB); 132 DISALLOW_COPY_AND_ASSIGN(H264DPB);
134 }; 133 };
135 134
136 } // namespace content 135 } // namespace content
137 136
138 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_ 137 #endif // CONTENT_COMMON_GPU_MEDIA_H264_DPB_H_
OLDNEW
« no previous file with comments | « trunk/src/content/common/gpu/media/gpu_video_encode_accelerator.cc ('k') | trunk/src/content/common/gpu/media/va.sigs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698