| Index: media/video/gpu_memory_buffer_video_frame_pool.h
|
| diff --git a/media/video/gpu_memory_buffer_video_frame_pool.h b/media/video/gpu_memory_buffer_video_frame_pool.h
|
| index 6a9973b21202b6ee00fa128854c28107e915e198..9d50fb02288db01c64f442e174a904657926ac6f 100644
|
| --- a/media/video/gpu_memory_buffer_video_frame_pool.h
|
| +++ b/media/video/gpu_memory_buffer_video_frame_pool.h
|
| @@ -66,6 +66,15 @@ class MEDIA_EXPORT GpuMemoryBufferVideoFramePool {
|
| const gfx::Size& natural_size,
|
| base::TimeDelta timestamp);
|
|
|
| + enum class Usage {
|
| + GENERIC,
|
| + // FFMPEG requires wide padding.
|
| + FFMPEG,
|
| +
|
| + LAST = FFMPEG
|
| + };
|
| + void SetUsage(Usage usage);
|
| +
|
| // The number of output planes to be copied in each iteration.
|
| static size_t PlanesPerCopy(VideoPixelFormat format, size_t plane);
|
|
|
|
|