| Index: media/gpu/ipc/client/gpu_video_decode_accelerator_host.h
|
| diff --git a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.h b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.h
|
| index c60d2b5ab4a7d2001ec0778de06cec421980a751..d89df5f5b02ce66cc0f97d61a6a93ce3e12ad9e3 100644
|
| --- a/media/gpu/ipc/client/gpu_video_decode_accelerator_host.h
|
| +++ b/media/gpu/ipc/client/gpu_video_decode_accelerator_host.h
|
| @@ -49,6 +49,7 @@ class GpuVideoDecodeAcceleratorHost
|
| void Flush() override;
|
| void Reset() override;
|
| void Destroy() override;
|
| + VideoPixelFormat GetOutputFormat() const override;
|
|
|
| // gpu::CommandBufferProxyImpl::DeletionObserver implemetnation.
|
| void OnWillDeleteImpl() override;
|
| @@ -66,7 +67,8 @@ class GpuVideoDecodeAcceleratorHost
|
| // process. Should not be called directly.
|
| void OnInitializationComplete(bool success);
|
| void OnBitstreamBufferProcessed(int32_t bitstream_buffer_id);
|
| - void OnProvidePictureBuffer(uint32_t num_requested_buffers,
|
| + void OnProvidePictureBuffer(VideoPixelFormat format,
|
| + uint32_t num_requested_buffers,
|
| uint32_t textures_per_buffer,
|
| const gfx::Size& dimensions,
|
| uint32_t texture_target);
|
| @@ -99,6 +101,8 @@ class GpuVideoDecodeAcceleratorHost
|
| // Requested dimensions of the buffer, from ProvidePictureBuffers().
|
| gfx::Size picture_buffer_dimensions_;
|
|
|
| + VideoPixelFormat picture_buffer_format_;
|
| +
|
| // WeakPtr factory for posting tasks back to itself.
|
| base::WeakPtrFactory<GpuVideoDecodeAcceleratorHost> weak_this_factory_;
|
|
|
|
|