diff options
author | andresantoso <andresantoso@chromium.org> | 2015-08-20 22:45:12 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-21 05:46:20 +0000 |
commit | dbb318a91ada8668e51f5e396a599894b71f46f1 (patch) | |
tree | 95de93cc4cc49a04c62bfade22f0e68e2c41e412 /media/video | |
parent | 9bd5d4ba3d08c6be7cbb6f7c5489ab47903609a5 (diff) | |
download | chromium_src-dbb318a91ada8668e51f5e396a599894b71f46f1.zip chromium_src-dbb318a91ada8668e51f5e396a599894b71f46f1.tar.gz chromium_src-dbb318a91ada8668e51f5e396a599894b71f46f1.tar.bz2 |
Add UYVY 4:2:2 support to VideoFrame and GpuMemoryBuffer.
Added media::PIXEL_FORMAT_UYVY.
Replace gfx::BufferFormat::YUV_420_BIPLANAR with gfx::BufferFormat::UYVY_422.
We plan to use this format to enable video overlays on Mac.
BUG=510252
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1299973003
Cr-Commit-Position: refs/heads/master@{#344692}
Diffstat (limited to 'media/video')
-rw-r--r-- | media/video/gpu_memory_buffer_video_frame_pool.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/media/video/gpu_memory_buffer_video_frame_pool.cc b/media/video/gpu_memory_buffer_video_frame_pool.cc index 86c8520..a141be0 100644 --- a/media/video/gpu_memory_buffer_video_frame_pool.cc +++ b/media/video/gpu_memory_buffer_video_frame_pool.cc @@ -197,6 +197,7 @@ void GpuMemoryBufferVideoFramePool::PoolImpl::CreateHardwareFrame( case PIXEL_FORMAT_NV12: case PIXEL_FORMAT_ARGB: case PIXEL_FORMAT_XRGB: + case PIXEL_FORMAT_UYVY: case PIXEL_FORMAT_UNKNOWN: frame_ready_cb.Run(video_frame); return; |