mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-07-31 00:36:32 +08:00
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 |
||
|---|---|---|
| .. | ||
| libyuv | ||
| libyuv.h | ||