aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-08-07 12:50:13 +0200
committerPaul B Mahol <onemda@gmail.com>2017-08-07 13:06:34 +0200
commit5621a99e27511f9eabcf097764cb5ca554aac639 (patch)
tree853abaa6b73ddfb70a9a83e6ec0fff6897710af8
parenteabeb9093abe0169a574945760ad3a26bf47cba4 (diff)
downloadffmpeg-5621a99e27511f9eabcf097764cb5ca554aac639.tar.gz
avfilter/drawutils: support gbrap10 too
-rw-r--r--libavfilter/drawutils.c2
-rw-r--r--tests/ref/fate/filter-pixfmts-pad2
2 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c
index f19fc5df1d..fbe13bc9a4 100644
--- a/libavfilter/drawutils.c
+++ b/libavfilter/drawutils.c
@@ -64,6 +64,8 @@ int ff_fill_rgba_map(uint8_t *rgba_map, enum AVPixelFormat pix_fmt)
case AV_PIX_FMT_GBRP16LE:
case AV_PIX_FMT_GBRP16BE:
case AV_PIX_FMT_GBRAP:
+ case AV_PIX_FMT_GBRAP10LE:
+ case AV_PIX_FMT_GBRAP10BE:
case AV_PIX_FMT_GBRAP12LE:
case AV_PIX_FMT_GBRAP12BE:
case AV_PIX_FMT_GBRAP16LE:
diff --git a/tests/ref/fate/filter-pixfmts-pad b/tests/ref/fate/filter-pixfmts-pad
index b718552fd4..072a0611a0 100644
--- a/tests/ref/fate/filter-pixfmts-pad
+++ b/tests/ref/fate/filter-pixfmts-pad
@@ -6,7 +6,7 @@ bgr0 32207a2de1b2ac7937e940a8459b97c0
bgr24 f8b65ad845905c7d0c93ca28dfbb826f
bgra 929aac15e848038e367c250037575f9f
gbrap 5f16cccab5a17cb766c882e865995167
-gbrap10le 454bf36e86ae92ab7853a9508bb75a99
+gbrap10le a677322100409f9b1d22136b14bfb534
gbrap12le e0e43f838cfbe98086042ba54b5f70be
gbrap16le 0f4414db67b84a720106d7a3b2435766
gbrp 3c94d39256db2409015df913fd330a90