Chromium Code Reviews| Index: content/common/gpu/media/omx_video_decode_accelerator.h |
| diff --git a/content/common/gpu/media/omx_video_decode_accelerator.h b/content/common/gpu/media/omx_video_decode_accelerator.h |
| index f48d7e1c489e134e60df93beaabf2a010df6fe9d..3f989c30a7fd34636fe5f8f8d542db17eb6c7119 100644 |
| --- a/content/common/gpu/media/omx_video_decode_accelerator.h |
| +++ b/content/common/gpu/media/omx_video_decode_accelerator.h |
| @@ -173,6 +173,15 @@ class OmxVideoDecodeAccelerator : public media::VideoDecodeAccelerator { |
| // TODO(fischman): do away with this madness. |
| std::set<OMX_BUFFERHEADERTYPE*> fake_output_buffers_; |
| + // Encoded bitstream buffers awaiting decode, queued while the decoder was |
| + // Resetting and thus unable to accept them. This will be empty most of the |
| + // time, is populated when Decode()'s are received between Reset() is called |
| + // and NotifyResetDone() is sent, and is drained right before |
| + // NotifyResetDone() is sent. |
| + typedef std::vector<media::BitstreamBuffer> BitstreamBufferList; |
| + BitstreamBufferList queued_bitstream_buffers_; |
| + std::vector<int> queued_picture_buffer_ids_; |
|
vrk (LEFT CHROMIUM)
2011/07/29 17:06:44
nit: Add comment to explain queued picture buffers
Ami GONE FROM CHROMIUM
2011/07/29 17:17:09
Done.
|
| + |
| // To expose client callbacks from VideoDecodeAccelerator. |
| // NOTE: all calls to this object *MUST* be executed in message_loop_. |
| Client* client_; |