Chromium Code Reviews| Index: content/renderer/pepper/video_decoder_shim.h |
| diff --git a/content/renderer/pepper/video_decoder_shim.h b/content/renderer/pepper/video_decoder_shim.h |
| index 3a0f32ae592ed93c1331ea24d64c58c52a9943c4..8a60d6f9ce4e9eb09304a24b6a12214de012cf5a 100644 |
| --- a/content/renderer/pepper/video_decoder_shim.h |
| +++ b/content/renderer/pepper/video_decoder_shim.h |
| @@ -39,6 +39,7 @@ class DecoderBuffer; |
| namespace content { |
| +class YUVConv; |
|
bbudge
2015/05/01 20:08:59
'Conv' is a little unclear: YUVConverter seems bet
|
| class PepperVideoDecoderHost; |
| // This class is a shim to wrap a media::VideoDecoder so that it can be used |
| @@ -109,8 +110,7 @@ class VideoDecoderShim : public media::VideoDecodeAccelerator { |
| typedef std::queue<uint32_t> CompletedDecodeQueue; |
| CompletedDecodeQueue completed_decodes_; |
| - // Queue of decoded frames that have been converted to RGB and await upload to |
| - // a GL texture. |
| + // Queue of decoded frames that await rgb->yuv conversion |
| typedef std::queue<linked_ptr<PendingFrame> > PendingFrameQueue; |
| PendingFrameQueue pending_frames_; |
| @@ -119,6 +119,9 @@ class VideoDecoderShim : public media::VideoDecodeAccelerator { |
| uint32_t num_pending_decodes_; |
| + // the YUV Converter renderer |
|
bbudge
2015/05/01 20:08:59
comment doesn't add much - you could delete it.
|
| + scoped_ptr<YUVConv> yuv_converter_; |
| + |
| base::WeakPtrFactory<VideoDecoderShim> weak_ptr_factory_; |
| DISALLOW_COPY_AND_ASSIGN(VideoDecoderShim); |