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

Side by Side Diff: media/filters/gpu_video_decoder.h

Issue 11961051: Merge 176816 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 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 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 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 5 #ifndef MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 6 #define MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 int32 bitstream_buffer_id; 209 int32 bitstream_buffer_id;
210 base::TimeDelta timestamp; 210 base::TimeDelta timestamp;
211 gfx::Rect visible_rect; 211 gfx::Rect visible_rect;
212 gfx::Size natural_size; 212 gfx::Size natural_size;
213 }; 213 };
214 std::list<BufferData> input_buffer_data_; 214 std::list<BufferData> input_buffer_data_;
215 215
216 // picture_buffer_id and the frame wrapping the corresponding Picture, for 216 // picture_buffer_id and the frame wrapping the corresponding Picture, for
217 // frames that have been decoded but haven't been requested by a Read() yet. 217 // frames that have been decoded but haven't been requested by a Read() yet.
218 std::list<scoped_refptr<VideoFrame> > ready_video_frames_; 218 std::list<scoped_refptr<VideoFrame> > ready_video_frames_;
219 int64 next_picture_buffer_id_; 219 int32 next_picture_buffer_id_;
220 int64 next_bitstream_buffer_id_; 220 int32 next_bitstream_buffer_id_;
221 221
222 // Indicates decoding error occurred. 222 // Indicates decoding error occurred.
223 bool error_occured_; 223 bool error_occured_;
224 224
225 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder); 225 DISALLOW_COPY_AND_ASSIGN(GpuVideoDecoder);
226 }; 226 };
227 227
228 } // namespace media 228 } // namespace media
229 229
230 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_ 230 #endif // MEDIA_FILTERS_GPU_VIDEO_DECODER_H_
OLDNEW
« no previous file with comments | « content/common/gpu/media/video_decode_accelerator_unittest.cc ('k') | media/filters/gpu_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698