Robert Mader 9c10ea18c5 RFC: ConvertToI420: Add WithSrcStride variant
Some users - notably the libwebrtcs VideoCaptureImpl::IncomingFrame() -
are currently limited by the fact that the source stride is derived from
the format and buffer width, preventing it from supporting padded
buffers.
Padded buffers are useful if camera providers have hardware limitations
regarding the stride, sometimes requiring alignments to e.g. 64/128/256
bytes.

All the actual conversion implementations already support dedicated
source strides, thus let's add a variant of ConvertToI420() -
ConvertToI420WithSrcStride() - allowing users to pass through an
explicit stride.

Bug:538875176
Change-Id: I323729a315b26e96d7dbb93e68f04fbdd8120afe
2026-07-26 12:17:23 +02:00
..
libyuv RFC: ConvertToI420: Add WithSrcStride variant 2026-07-26 12:17:23 +02:00
libyuv.h NV12 Copy, include scale_uv.h 2020-12-08 18:54:16 +00:00