| Index: media/gpu/v4l2_image_processor.h
|
| diff --git a/media/gpu/v4l2_image_processor.h b/media/gpu/v4l2_image_processor.h
|
| index 3e456b9c32158683e323854eaf268fae5f0485f2..c8338e47a0ef7859a442dcb795cbf627537e8c5f 100644
|
| --- a/media/gpu/v4l2_image_processor.h
|
| +++ b/media/gpu/v4l2_image_processor.h
|
| @@ -41,6 +41,7 @@ class MEDIA_GPU_EXPORT V4L2ImageProcessor {
|
| bool Initialize(VideoPixelFormat input_format,
|
| VideoPixelFormat output_format,
|
| v4l2_memory input_memory_type,
|
| + v4l2_memory output_memory_type,
|
| gfx::Size input_visible_size,
|
| gfx::Size input_allocated_size,
|
| gfx::Size output_visible_size,
|
| @@ -87,6 +88,7 @@ class MEDIA_GPU_EXPORT V4L2ImageProcessor {
|
| // accessing it.
|
| void Process(const scoped_refptr<VideoFrame>& frame,
|
| int output_buffer_index,
|
| + std::vector<int> output_dmabuf_fds,
|
| const FrameReadyCB& cb);
|
|
|
| // Stop all processing and clean up. After this method returns no more
|
| @@ -106,8 +108,10 @@ class MEDIA_GPU_EXPORT V4L2ImageProcessor {
|
| // Record for output buffers.
|
| struct OutputRecord {
|
| OutputRecord();
|
| + OutputRecord(OutputRecord&&) = default;
|
| ~OutputRecord();
|
| bool at_device;
|
| + std::vector<int> dmabuf_fds;
|
| };
|
|
|
| // Job record. Jobs are processed in a FIFO order. This is separate from
|
| @@ -119,6 +123,7 @@ class MEDIA_GPU_EXPORT V4L2ImageProcessor {
|
| ~JobRecord();
|
| scoped_refptr<VideoFrame> frame;
|
| int output_buffer_index;
|
| + std::vector<int> output_dmabuf_fds;
|
| FrameReadyCB ready_cb;
|
| };
|
|
|
| @@ -161,6 +166,7 @@ class MEDIA_GPU_EXPORT V4L2ImageProcessor {
|
| VideoPixelFormat input_format_;
|
| VideoPixelFormat output_format_;
|
| v4l2_memory input_memory_type_;
|
| + v4l2_memory output_memory_type_;
|
| uint32_t input_format_fourcc_;
|
| uint32_t output_format_fourcc_;
|
|
|
|
|