[FFmpeg-cvslog] Make the hflip filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

Peter Ross git at videolan.org
Sat Mar 26 03:42:03 CET 2011


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sat Mar 19 22:11:03 2011 +1100| [f5607c83613a4cf1524b64cc5f2951933acf7376] | committer: Peter Ross

Make the hflip filter accept PIX_FMT_BGR48LE and PIX_FMT_BGR48BE pixel formats

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5607c83613a4cf1524b64cc5f2951933acf7376
---

 libavfilter/vf_hflip.c           |    1 +
 tests/ref/lavfi/pixfmts_hflip_le |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavfilter/vf_hflip.c b/libavfilter/vf_hflip.c
index 5250695..f1a37e7 100644
--- a/libavfilter/vf_hflip.c
+++ b/libavfilter/vf_hflip.c
@@ -38,6 +38,7 @@ static int query_formats(AVFilterContext *ctx)
 {
     static const enum PixelFormat pix_fmts[] = {
         PIX_FMT_RGB48BE,      PIX_FMT_RGB48LE,
+        PIX_FMT_BGR48BE,      PIX_FMT_BGR48LE,
         PIX_FMT_ARGB,         PIX_FMT_RGBA,
         PIX_FMT_ABGR,         PIX_FMT_BGRA,
         PIX_FMT_RGB24,        PIX_FMT_BGR24,
diff --git a/tests/ref/lavfi/pixfmts_hflip_le b/tests/ref/lavfi/pixfmts_hflip_le
index 09976f2..c30215e 100644
--- a/tests/ref/lavfi/pixfmts_hflip_le
+++ b/tests/ref/lavfi/pixfmts_hflip_le
@@ -1,6 +1,8 @@
 abgr                49468c6c9ceee5d52b08b1270a909323
 argb                50ba9f16c6475530602f2983278b82d0
 bgr24               cc53d2011d097972db0d22756c3699e3
+bgr48be             11641cf0f4516a9aed98f7872720f801
+bgr48le             b5440734eed128554dd9f83b34ba582f
 bgr4_byte           aac987e7d1a6a96477cfc0b48a4285de
 bgr555le            ccee08679bac84a1f960c6c9070c5538
 bgr565le            3703466e19e1b52e03a34fd244a8e8e4




More information about the ffmpeg-cvslog mailing list