From: Niklas Haas <ffmpeg@haasn.xyz>
To: ffmpeg-devel@ffmpeg.org
Cc: Niklas Haas <git@haasn.dev>
Subject: [FFmpeg-devel] [PATCH 6/6] fate/scalechroma: switch to standard chroma location
Date: Thu, 4 Jul 2024 13:52:02 +0200
Message-ID: <20240704115202.1235954-6-ffmpeg@haasn.xyz> (raw)
In-Reply-To: <20240704115202.1235954-1-ffmpeg@haasn.xyz>
From: Niklas Haas <git@haasn.dev>
Replace the manually specified chroma location by one using standard
notation, arbitrarily "bottomleft" as it is a less common path.
Required if we want to phase out the use of manual chroma locations.
---
tests/fate/filter-video.mak | 2 +-
tests/ref/fate/filter-scalechroma | 50 +++++++++++++++----------------
2 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 7f8dc3aa27..cffd67b1f8 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -433,7 +433,7 @@ fate-filter-scale2ref_keep_aspect: CMD = framemd5 -frames:v 5 -/filter_complex $
FATE_FILTER_VSYNTH-$(call FILTERDEMDEC, SCALE, RAWVIDEO, RAWVIDEO) += fate-filter-scalechroma
fate-filter-scalechroma: tests/data/vsynth1.yuv
-fate-filter-scalechroma: CMD = framecrc -flags bitexact -s 352x288 -pix_fmt yuv444p -i $(TARGET_PATH)/tests/data/vsynth1.yuv -pix_fmt yuv420p -sws_flags +bitexact -vf scale=out_v_chr_pos=33:out_h_chr_pos=151
+fate-filter-scalechroma: CMD = framecrc -flags bitexact -s 352x288 -pix_fmt yuv444p -i $(TARGET_PATH)/tests/data/vsynth1.yuv -pix_fmt yuv420p -sws_flags +bitexact -vf scale=out_chroma_loc=bottomleft
FATE_FILTER_VSYNTH_VIDEO_FILTER-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip
fate-filter-vflip: CMD = video_filter "vflip"
diff --git a/tests/ref/fate/filter-scalechroma b/tests/ref/fate/filter-scalechroma
index 842769c2d5..dbe08600ab 100644
--- a/tests/ref/fate/filter-scalechroma
+++ b/tests/ref/fate/filter-scalechroma
@@ -3,28 +3,28 @@
#codec_id 0: rawvideo
#dimensions 0: 352x288
#sar 0: 0/1
-0, 0, 0, 1, 152064, 0xdcab783a
-0, 1, 1, 1, 152064, 0x79c7f1f6
-0, 2, 2, 1, 152064, 0x3b810afb
-0, 3, 3, 1, 152064, 0x892aca1d
-0, 4, 4, 1, 152064, 0x52fdd093
-0, 5, 5, 1, 152064, 0xaa643426
-0, 6, 6, 1, 152064, 0x9ad020ed
-0, 7, 7, 1, 152064, 0x5c179057
-0, 8, 8, 1, 152064, 0xa56bf155
-0, 9, 9, 1, 152064, 0x61dcffca
-0, 10, 10, 1, 152064, 0x0d51a1d3
-0, 11, 11, 1, 152064, 0x652f9e8d
-0, 12, 12, 1, 152064, 0xdc0bb4d8
-0, 13, 13, 1, 152064, 0x561437cf
-0, 14, 14, 1, 152064, 0x69ef8e4f
-0, 15, 15, 1, 152064, 0xe7244350
-0, 16, 16, 1, 152064, 0xe65651cf
-0, 17, 17, 1, 152064, 0xfc9ff646
-0, 18, 18, 1, 152064, 0x6ae10bc4
-0, 19, 19, 1, 152064, 0xd3d1898a
-0, 20, 20, 1, 152064, 0xf3f8b139
-0, 21, 21, 1, 152064, 0x68c129be
-0, 22, 22, 1, 152064, 0xc3922593
-0, 23, 23, 1, 152064, 0x2b14d96e
-0, 24, 24, 1, 152064, 0xab119489
+0, 0, 0, 1, 152064, 0x77bb80f8
+0, 1, 1, 1, 152064, 0x3a21f6e8
+0, 2, 2, 1, 152064, 0xcc0907b0
+0, 3, 3, 1, 152064, 0xaa5cd87b
+0, 4, 4, 1, 152064, 0x410bd74d
+0, 5, 5, 1, 152064, 0x7a763b14
+0, 6, 6, 1, 152064, 0x3e4020d4
+0, 7, 7, 1, 152064, 0x46be8b5d
+0, 8, 8, 1, 152064, 0x8021f16c
+0, 9, 9, 1, 152064, 0x82ca033d
+0, 10, 10, 1, 152064, 0xa76ca6ca
+0, 11, 11, 1, 152064, 0x49019bb7
+0, 12, 12, 1, 152064, 0x3590adf5
+0, 13, 13, 1, 152064, 0xf21235dc
+0, 14, 14, 1, 152064, 0x6b5f93a9
+0, 15, 15, 1, 152064, 0x4b8c5137
+0, 16, 16, 1, 152064, 0x698b67cc
+0, 17, 17, 1, 152064, 0x3cebef62
+0, 18, 18, 1, 152064, 0x77770da1
+0, 19, 19, 1, 152064, 0xecdd84d4
+0, 20, 20, 1, 152064, 0x873fbc32
+0, 21, 21, 1, 152064, 0x55043c82
+0, 22, 22, 1, 152064, 0xee2b3669
+0, 23, 23, 1, 152064, 0xa64ae990
+0, 24, 24, 1, 152064, 0xb3499e12
--
2.45.2
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
prev parent reply other threads:[~2024-07-04 11:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-04 11:51 [FFmpeg-devel] [PATCH 1/6] swscale: document SWS_FULL_CHR_H_* flags Niklas Haas
2024-07-04 11:51 ` [FFmpeg-devel] [PATCH 2/6] avfilter/vf_setparams: allow setting chroma location Niklas Haas
2024-07-04 15:09 ` Paul B Mahol
2024-07-04 11:51 ` [FFmpeg-devel] [PATCH 3/6] avfilter/swscale: always fix interlaced " Niklas Haas
2024-07-04 11:52 ` [FFmpeg-devel] [PATCH 4/6] avfilter/vf_scale: add in/out_chroma_loc Niklas Haas
2024-07-04 12:52 ` Niklas Haas
2024-07-04 11:52 ` [FFmpeg-devel] [PATCH 5/6] avfilter/vf_zscale: remove unused fields Niklas Haas
2024-07-04 11:52 ` Niklas Haas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240704115202.1235954-6-ffmpeg@haasn.xyz \
--to=ffmpeg@haasn.xyz \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=git@haasn.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git