Repository navigation
Conversation
y10l and u10v10l planes, the chroma plane subsampled 2x1 with 4 byte macropixels: 10 bit 4:2:2 with u and v interleaved, the samples in the low bits of little-endian 16 bit words (AV_PIX_FMT_NV20LE), the 10 bit counterpart of nv16.
The colors are 8 bit codes: shift them to 10 bits as for the planar planes. A u10v10l macropixel is 4 octets per 2 pixels, so the line offset of a column is 4 * col / hsub octets, not the 2 * col / hsub of u8v8.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add nv20le: 10 bit 4:2:2 with interleaved chroma, the samples in the low bits of little-endian 16 bit words (FFmpeg's
AV_PIX_FMT_NV20LE). It is the 10 bit counterpart of nv16.The planes are
y10landu10v10l, whichubuf_pic_clear()(soupipe_vblk) already handles.upipe_av_pixfmtmaps it both ways.Tested: builds with gcc 15 and no warnings, and
upipe_av_pixfmt.hcompiles against FFmpeg headers. Nothing runs the new format yet.