mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
lavu: add NV15 format support
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
1a3ec3f2f8
commit
2eb6cdc7e5
2 changed files with 14 additions and 0 deletions
|
|
@ -2793,6 +2793,18 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
|
|||
},
|
||||
.flags = AV_PIX_FMT_FLAG_PLANAR,
|
||||
},
|
||||
[AV_PIX_FMT_NV15] = {
|
||||
.name = "nv15",
|
||||
.nb_components = 3,
|
||||
.log2_chroma_w = 1,
|
||||
.log2_chroma_h = 1,
|
||||
.comp = {
|
||||
{ 0, 10, 0, 0, 10 }, /* Y */
|
||||
{ 1, 20, 0, 0, 10 }, /* U */
|
||||
{ 1, 20, 10, 0, 10 }, /* V */
|
||||
},
|
||||
.flags = AV_PIX_FMT_FLAG_PLANAR | AV_PIX_FMT_FLAG_BITSTREAM,
|
||||
},
|
||||
};
|
||||
|
||||
static const char * const color_range_names[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue