Commit e29d9961 authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/output: Add rgba64/rgb48/bgra64/bgr48 output functions with full chroma interpolation

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f140a99f
This diff is collapsed.
...@@ -1158,6 +1158,14 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter, ...@@ -1158,6 +1158,14 @@ av_cold int sws_init_context(SwsContext *c, SwsFilter *srcFilter,
if (flags & SWS_FULL_CHR_H_INT && if (flags & SWS_FULL_CHR_H_INT &&
isAnyRGB(dstFormat) && isAnyRGB(dstFormat) &&
!isPlanarRGB(dstFormat) && !isPlanarRGB(dstFormat) &&
dstFormat != AV_PIX_FMT_RGBA64LE &&
dstFormat != AV_PIX_FMT_RGBA64BE &&
dstFormat != AV_PIX_FMT_BGRA64LE &&
dstFormat != AV_PIX_FMT_BGRA64BE &&
dstFormat != AV_PIX_FMT_RGB48LE &&
dstFormat != AV_PIX_FMT_RGB48BE &&
dstFormat != AV_PIX_FMT_BGR48LE &&
dstFormat != AV_PIX_FMT_BGR48BE &&
dstFormat != AV_PIX_FMT_RGBA && dstFormat != AV_PIX_FMT_RGBA &&
dstFormat != AV_PIX_FMT_ARGB && dstFormat != AV_PIX_FMT_ARGB &&
dstFormat != AV_PIX_FMT_BGRA && dstFormat != AV_PIX_FMT_BGRA &&
......
...@@ -6,8 +6,8 @@ bgr0 243d58ca64f97b2f415b4c63cb79f0e1 ...@@ -6,8 +6,8 @@ bgr0 243d58ca64f97b2f415b4c63cb79f0e1
bgr24 18744aaab4b8bce065a7144dc0ccf921 bgr24 18744aaab4b8bce065a7144dc0ccf921
bgr444be 920760bee08c4fa161bf060e21ebba92 bgr444be 920760bee08c4fa161bf060e21ebba92
bgr444le 01be36a28ebca1a11eb4d192986cd4e9 bgr444le 01be36a28ebca1a11eb4d192986cd4e9
bgr48be a6fee4ac9f70d0da6a4b3a0e6353ca7f bgr48be 3ae02769c69d2512eaa26fff65763acb
bgr48le 9c5d30b3b31ceaf3009fc7f1cf1cf7b6 bgr48le a6ce2344f07b77438258b6787fe5c24c
bgr4_byte 01efea74088e5e3343c19ee053b95f31 bgr4_byte 01efea74088e5e3343c19ee053b95f31
bgr555be ab353278d103d379e1ec86e5cabb645f bgr555be ab353278d103d379e1ec86e5cabb645f
bgr555le 16ccbf59297e4b9ab25fd8af5a84a95d bgr555le 16ccbf59297e4b9ab25fd8af5a84a95d
...@@ -15,8 +15,8 @@ bgr565be 3477e19fc11f95285836f30fdff26c1d ...@@ -15,8 +15,8 @@ bgr565be 3477e19fc11f95285836f30fdff26c1d
bgr565le 82a81e7c9d4e0431fa22f4df9694afdc bgr565le 82a81e7c9d4e0431fa22f4df9694afdc
bgr8 2c57e76ccf04d51de6acafcf35d6fa70 bgr8 2c57e76ccf04d51de6acafcf35d6fa70
bgra d8316272bc3a360ef9dff3ecc84520a3 bgra d8316272bc3a360ef9dff3ecc84520a3
bgra64be 688499004461a2ce9debadb36dbcde5b bgra64be 4e6a1b9f9c18b881c27d76611d45f737
bgra64le c80dda435633c301e14d5b46a7edcf8d bgra64le efeee0abcc658ebcff049d5e74d74943
gbrap e97ea4a104467c482173b7eaa57c14e3 gbrap e97ea4a104467c482173b7eaa57c14e3
gbrp dc3387f925f972c61aae7eb23cdc19f0 gbrp dc3387f925f972c61aae7eb23cdc19f0
gbrp10be 3a6d59192b6bb89ab42252b2b4818519 gbrp10be 3a6d59192b6bb89ab42252b2b4818519
...@@ -39,8 +39,8 @@ rgb0 fbd27e98154efb7535826afed41e9bb0 ...@@ -39,8 +39,8 @@ rgb0 fbd27e98154efb7535826afed41e9bb0
rgb24 e022e741451e81f2ecce1c7240b93e87 rgb24 e022e741451e81f2ecce1c7240b93e87
rgb444be db52b9ecdf98479b693e3f4bd9e77bac rgb444be db52b9ecdf98479b693e3f4bd9e77bac
rgb444le 63288425c05f146cde5c82b85bb126e0 rgb444le 63288425c05f146cde5c82b85bb126e0
rgb48be c2e456838a71237cb1398ab5a7c35a6e rgb48be 45b25016f10d54cf36eef3479afd8249
rgb48le 6ef772549307349c599f419313c75b7a rgb48le 40577b147620ecfb115717473d000697
rgb4_byte 9e540a2e7193ebcbf1c7f85d192a0c4e rgb4_byte 9e540a2e7193ebcbf1c7f85d192a0c4e
rgb555be cb5407a0d40f3d0120155daeaaa9a222 rgb555be cb5407a0d40f3d0120155daeaaa9a222
rgb555le c15540d1fc887882c35860634009c439 rgb555le c15540d1fc887882c35860634009c439
...@@ -48,11 +48,11 @@ rgb565be c69fa7d6e458509de65e911d147629a8 ...@@ -48,11 +48,11 @@ rgb565be c69fa7d6e458509de65e911d147629a8
rgb565le a4a6ef89cdc10282b428cb1392f2a353 rgb565le a4a6ef89cdc10282b428cb1392f2a353
rgb8 bcdc033b4ef0979d060dbc8893d4db58 rgb8 bcdc033b4ef0979d060dbc8893d4db58
rgba 85bb5d03cea1c6e8002ced3373904336 rgba 85bb5d03cea1c6e8002ced3373904336
rgba64be 21611863fbbe149416a11e95877824ac rgba64be ee73e57923af984b31cc7795d13929da
rgba64le 35c195a441e5f8ca8e7e4ed098ecf0c1 rgba64le 783d2779adfafe3548bdb671ec0de69e
uyvy422 aeb4ba4f9f003ae21f6d18089198244f uyvy422 aeb4ba4f9f003ae21f6d18089198244f
xyz12be f6350b9a2f5add20d3d67f59c100166f xyz12be c7ba8345998c0141ddc079cdd29b1a40
xyz12le 982935a6ea6a297fd7be8aee0fda9870 xyz12le 95f5d3a0de834cc495c9032a14987cde
yuv410p e8f49b5fb9335b62c074f7f8bb0234fc yuv410p e8f49b5fb9335b62c074f7f8bb0234fc
yuv411p 5af32557c93beb482e26e7af693104c6 yuv411p 5af32557c93beb482e26e7af693104c6
yuv420p 5d3ac239c3712143560b1dfbd48a7ddd yuv420p 5d3ac239c3712143560b1dfbd48a7ddd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment