aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2023-09-01 11:38:45 +0200
committerStefano Sabatini <stefasab@gmail.com>2023-10-06 00:17:01 +0200
commit8eecd52d8b3164696e813a6cb9a5b702f424d08b (patch)
tree54c426074aa9aad4b43b0e0fd05dd52da7b44caa
parent01edb505c6991f54f5780450ea1bc5436a55b487 (diff)
downloadffmpeg-8eecd52d8b3164696e813a6cb9a5b702f424d08b.tar.gz
ffprobe: correct section name for side data piece
-rw-r--r--fftools/ffprobe.c2
-rw-r--r--tests/ref/fate/hevc-dv-rpu80
2 files changed, 41 insertions, 41 deletions
diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c
index 5191c6002f..eae140d5f5 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