Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Stefano Sabatini <stefasab@gmail.com>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Stefano Sabatini <stefasab@gmail.com>
Subject: [FFmpeg-devel] [PATCH 2/3] ffprobe: correct section name for side data piece
Date: Fri,  1 Sep 2023 15:43:35 +0200
Message-ID: <20230901134336.1455166-2-stefasab@gmail.com> (raw)
In-Reply-To: <20230901134336.1455166-1-stefasab@gmail.com>

---
 fftools/ffprobe.c          |  2 +-
 tests/ref/fate/hevc-dv-rpu | 80 +++++++++++++++++++-------------------
 2 files changed, 41 insertions(+), 41 deletions(-)

diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 547e299312..7eb4d20a17 100644
--- a/fftools/ffprobe.c
+++ b/fftools/ffprobe.c
@@ -246,7 +246,7 @@ static struct section sections[] = {
     [SECTION_ID_FRAME_SIDE_DATA_COMPONENT_LIST] = { SECTION_ID_FRAME_SIDE_DATA_COMPONENT_LIST, "components", SECTION_FLAG_IS_ARRAY, { SECTION_ID_FRAME_SIDE_DATA_COMPONENT, -1 } },
     [SECTION_ID_FRAME_SIDE_DATA_COMPONENT] =      { SECTION_ID_FRAME_SIDE_DATA_COMPONENT, "component", 0, { SECTION_ID_FRAME_SIDE_DATA_PIECE_LIST, -1 } },
     [SECTION_ID_FRAME_SIDE_DATA_PIECE_LIST] =   { SECTION_ID_FRAME_SIDE_DATA_PIECE_LIST, "pieces", SECTION_FLAG_IS_ARRAY, { SECTION_ID_FRAME_SIDE_DATA_PIECE, -1 } },
-    [SECTION_ID_FRAME_SIDE_DATA_PIECE] =        { SECTION_ID_FRAME_SIDE_DATA_PIECE, "section", 0, { -1 } },
+    [SECTION_ID_FRAME_SIDE_DATA_PIECE] =        { SECTION_ID_FRAME_SIDE_DATA_PIECE, "piece", 0, { -1 } },
     [SECTION_ID_FRAME_LOGS] =         { SECTION_ID_FRAME_LOGS, "logs", SECTION_FLAG_IS_ARRAY, { SECTION_ID_FRAME_LOG, -1 } },
     [SECTION_ID_FRAME_LOG] =          { SECTION_ID_FRAME_LOG, "log", 0, { -1 },  },
     [SECTION_ID_LIBRARY_VERSIONS] =   { SECTION_ID_LIBRARY_VERSIONS, "library_versions", SECTION_FLAG_IS_ARRAY, { SECTION_ID_LIBRARY_VERSION, -1 } },
diff --git a/tests/ref/fate/hevc-dv-rpu b/tests/ref/fate/hevc-dv-rpu
index aaf0223eab..f6ed14e24f 100644
--- a/tests/ref/fate/hevc-dv-rpu
+++ b/tests/ref/fate/hevc-dv-rpu
@@ -37,74 +37,74 @@ num_x_partitions=1
 num_y_partitions=1
 [COMPONENT]
 pivots=63 132 362 618 874 911 927 935 942
-[SECTION]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=-409680 16721463 -20276640
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=-119056 13575212 -12867889
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=1317527 5338528 -948122
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=2119979 2065496 2288524
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=7982780 -11367226 9973944
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=53792084 -114243184 67724328
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=112973872 -244837568 139764480
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=236828416 -518849056 291306944
-[/SECTION]
+[/PIECE]
 [/COMPONENT]
 [COMPONENT]
 pivots=0 1023
-[SECTION]
+[PIECE]
 mapping_idc=1
 mapping_idc_name=mmr
 mmr_order=3
 mmr_constant=-4200453
 mmr_coef=9094176 31944476 739652 -27103344 -3431599 -11015088 22758042 -2028643 -30021218 -906885 26272992 7291404 16488745 -78087176 -1487777 12496543 762460 -4281948 -5768035 -7843163 103636960
-[/SECTION]
+[/PIECE]
 [/COMPONENT]
 [COMPONENT]
 pivots=0 1023
-[SECTION]
+[PIECE]
 mapping_idc=1
 mapping_idc_name=mmr
 mmr_order=3
 mmr_constant=-10387889
 mmr_coef=29604202 3214133 46206184 -8564340 -53383996 1628407 5426045 -21634202 -5251953 -50812292 19221972 76726656 -425892 -35041240 5917361 2863974 25030554 -14404292 -41230120 1229046 53575140
-[/SECTION]
+[/PIECE]
 [/COMPONENT]
 dm_metadata_id=0
 scene_refresh_flag=1
@@ -160,74 +160,74 @@ num_x_partitions=1
 num_y_partitions=1
 [COMPONENT]
 pivots=63 132 362 618 874 911 927 935 942
-[SECTION]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=-409680 16721463 -20276640
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=-119056 13575212 -12867889
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=1317527 5338528 -948122
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=2119979 2065496 2288524
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=7982780 -11367226 9973944
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=53792084 -114243184 67724328
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=112973872 -244837568 139764480
-[/SECTION]
-[SECTION]
+[/PIECE]
+[PIECE]
 mapping_idc=0
 mapping_idc_name=polynomial
 poly_order=2
 poly_coef=236828416 -518849056 291306944
-[/SECTION]
+[/PIECE]
 [/COMPONENT]
 [COMPONENT]
 pivots=0 1023
-[SECTION]
+[PIECE]
 mapping_idc=1
 mapping_idc_name=mmr
 mmr_order=3
 mmr_constant=-4200453
 mmr_coef=9094176 31944476 739652 -27103344 -3431599 -11015088 22758042 -2028643 -30021218 -906885 26272992 7291404 16488745 -78087176 -1487777 12496543 762460 -4281948 -5768035 -7843163 103636960
-[/SECTION]
+[/PIECE]
 [/COMPONENT]
 [COMPONENT]
 pivots=0 1023
-[SECTION]
+[PIECE]
 mapping_idc=1
 mapping_idc_name=mmr
 mmr_order=3
 mmr_constant=-10387889
 mmr_coef=29604202 3214133 46206184 -8564340 -53383996 1628407 5426045 -21634202 -5251953 -50812292 19221972 76726656 -425892 -35041240 5917361 2863974 25030554 -14404292 -41230120 1229046 53575140
-[/SECTION]
+[/PIECE]
 [/COMPONENT]
 dm_metadata_id=0
 scene_refresh_flag=1
-- 
2.34.1

_______________________________________________
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".

  reply	other threads:[~2023-09-01 13:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-01 13:43 [FFmpeg-devel] [PATCH 1/3] ffprobe: factorize side data printing to dedicated function Stefano Sabatini
2023-09-01 13:43 ` Stefano Sabatini [this message]
2023-09-01 13:43 ` [FFmpeg-devel] [PATCH 3/3] ffprobe: introduce section type, use for the compact output Stefano Sabatini
2023-09-05 23:15   ` Stefano Sabatini
2023-10-05 23:26     ` Stefano Sabatini
2023-09-02  8:33 ` [FFmpeg-devel] [PATCH 1/3] ffprobe: factorize side data printing to dedicated function Andreas Rheinhardt
2023-09-02 15:33   ` Stefano Sabatini

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=20230901134336.1455166-2-stefasab@gmail.com \
    --to=stefasab@gmail.com \
    --cc=ffmpeg-devel@ffmpeg.org \
    /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