Video capture with GpuMemoryBuffer - Video frame resolution adaptation
This CL allows Chrome and WebRTC to apply resolution adaptation with GpuMemoryBuffer-based video frame. GMB-based video frame soft-applies cropping and scaling by specifying visible_rectangle and natural_size in the early stage of the processing pipeline. The actual cropping and scaling operations happen only when either the frame is processed on the hardware (e.g. running hardware encoder on GPU), or when the CPU really needs to access the frame data (e.g. running software encoder). Bug: 982201 Change-Id: Ib8f8278603188782f0657920a2140b71d4a4fc00 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1817861Reviewed-by:Henrik Boström <hbos@chromium.org> Reviewed-by:
Kenneth Russell <kbr@chromium.org> Commit-Queue: Ricky Liang <jcliang@chromium.org> Cr-Commit-Position: refs/heads/master@{#702284}
Showing
This diff is collapsed.
Please register or sign in to comment