swscale: Add the GBRAP12 output

This commit is contained in:
Luca Barbato 2016-10-12 21:30:34 +02:00
parent 81f1f6c3f6
commit 881477c77b
8 changed files with 14 additions and 2 deletions

View File

@ -1457,6 +1457,8 @@ av_cold void ff_sws_init_output_funcs(SwsContext *c,
case AV_PIX_FMT_GBRP10LE:
case AV_PIX_FMT_GBRP12BE:
case AV_PIX_FMT_GBRP12LE:
case AV_PIX_FMT_GBRAP12BE:
case AV_PIX_FMT_GBRAP12LE:
case AV_PIX_FMT_GBRP16BE:
case AV_PIX_FMT_GBRP16LE:
case AV_PIX_FMT_GBRAP:

View File

@ -189,8 +189,8 @@ static const FormatEntry format_entries[AV_PIX_FMT_NB] = {
[AV_PIX_FMT_GBRP16LE] = { 1, 0 },
[AV_PIX_FMT_GBRP16BE] = { 1, 0 },
[AV_PIX_FMT_GBRAP] = { 1, 1 },
[AV_PIX_FMT_GBRAP12LE] = { 1, 0 },
[AV_PIX_FMT_GBRAP12BE] = { 1, 0 },
[AV_PIX_FMT_GBRAP12LE] = { 1, 1 },
[AV_PIX_FMT_GBRAP12BE] = { 1, 1 },
[AV_PIX_FMT_GBRAP16LE] = { 1, 0 },
[AV_PIX_FMT_GBRAP16BE] = { 1, 0 },
[AV_PIX_FMT_XYZ12BE] = { 0, 0, 1 },

View File

@ -0,0 +1 @@
pixdesc-gbrap12be a8ce4f5a7578f260399f86f92ae2a7be

View File

@ -0,0 +1 @@
pixdesc-gbrap12le c14ff0058c8b1ccdb880386d7f9804e5

View File

@ -13,6 +13,8 @@ bgr565le 6a0d182c7165103b2613d1805c822f9f
bgr8 36b9ef72c87da36ac547202d85a5805f
bgra 56e6e1bfde40aaa27473e01b46345c82
gbrap 57cb1a02d6f015a4329fe367f3bdfe49
gbrap12be df4b550099df0702f602a8b305702a8c
gbrap12le f947c43e494ab87410dfb2547e7e22f2
gbrp d5f73b5d3ba7f6cadbc9b4ecbc161005
gbrp10be eb19bda60ab7f893198364dff21342d6
gbrp10le 546146efb36ad2605e9f74ee5e4c2a36

View File

@ -13,6 +13,8 @@ bgr565le 6a0d182c7165103b2613d1805c822f9f
bgr8 36b9ef72c87da36ac547202d85a5805f
bgra 56e6e1bfde40aaa27473e01b46345c82
gbrap 57cb1a02d6f015a4329fe367f3bdfe49
gbrap12be df4b550099df0702f602a8b305702a8c
gbrap12le f947c43e494ab87410dfb2547e7e22f2
gbrp d5f73b5d3ba7f6cadbc9b4ecbc161005
gbrp10be eb19bda60ab7f893198364dff21342d6
gbrp10le 546146efb36ad2605e9f74ee5e4c2a36

View File

@ -13,6 +13,8 @@ bgr565le 34438643c183ff1748cf7d71453f981c
bgr8 e731ba3dbec294e1daa7313e08e88034
bgra 6e1f417ae41636f631de1cfe39ce1778
gbrap eefdbfd1426765ce5e9790022533db0d
gbrap12be c676f72b634c77b08a00ab12dc21c5dc
gbrap12le 90ca5271960dc1ebd6ebe14189223e36
gbrp 5d14768d2ab6cbf3879966b5d5c6befb
gbrp10be 4192c246f4a52ec7a37919665190cce9
gbrp10le 170189b2c2dd46f31165d8fa6cadef0a

View File

@ -13,6 +13,8 @@ bgr565le 6f98ccb05e608863ef0912b9a6fd960b
bgr8 1f916a75563e6be42c056e7d973a7356
bgra dd8eaea69683884ea45bf2fb635ce415
gbrap 38e04cbd4dc5566586d58ffed0c6b20d
gbrap12be c53126e45593f2e49451c9c9f58cffac
gbrap12le 6d5b3a8f8aae74f3542a63bcd1179a6c
gbrp 37954476d089b5b74b06891e64ad6b9e
gbrp10be ec01c15ed248a72c42f84a2a8cfec56f
gbrp10le be52e72a59d87a43727262bcd90967cd