parser: fix spelling of GstAV1SegmentationParams

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8795>
This commit is contained in:
Stéphane Cerveau 2025-04-08 16:12:46 +02:00 committed by GStreamer Marge Bot
parent b3099f7877
commit 59eaf4cc39
6 changed files with 29 additions and 21 deletions

View File

@ -11,6 +11,6 @@ variables:
CHECKS_TAG: '2025-02-04.0'
ABI_CHECK_TAG: '2025-06-12.0'
ABI_CHECK_TAG: '2025-06-17.0'
WINDOWS_TAG: '2025-05-30.0'

View File

@ -6595,7 +6595,7 @@
"GstAV1ReferenceFrameInfo",
"GstAV1ReferenceFrameInfoEntry",
"GstAV1ScalabilityModes",
"GstAV1SegmenationParams",
"GstAV1SegmentationParams",
"GstAV1SeqLevels",
"GstAV1SequenceHeaderOBU",
"GstAV1TXModes",
@ -21314,14 +21314,14 @@
"_GstAV1ReferenceFrameInfoEntry.ref_tile_info",
"_GstAV1ReferenceFrameInfoEntry.ref_upscaled_width",
"_GstAV1ReferenceFrameInfoEntry.ref_valid",
"_GstAV1SegmenationParams.feature_data",
"_GstAV1SegmenationParams.feature_enabled",
"_GstAV1SegmenationParams.last_active_seg_id",
"_GstAV1SegmenationParams.seg_id_pre_skip",
"_GstAV1SegmenationParams.segmentation_enabled",
"_GstAV1SegmenationParams.segmentation_temporal_update",
"_GstAV1SegmenationParams.segmentation_update_data",
"_GstAV1SegmenationParams.segmentation_update_map",
"_GstAV1SegmentationParams.feature_data",
"_GstAV1SegmentationParams.feature_enabled",
"_GstAV1SegmentationParams.last_active_seg_id",
"_GstAV1SegmentationParams.seg_id_pre_skip",
"_GstAV1SegmentationParams.segmentation_enabled",
"_GstAV1SegmentationParams.segmentation_temporal_update",
"_GstAV1SegmentationParams.segmentation_update_data",
"_GstAV1SegmentationParams.segmentation_update_map",
"_GstAV1SequenceHeaderOBU.additional_frame_id_length_minus_1",
"_GstAV1SequenceHeaderOBU.bit_depth",
"_GstAV1SequenceHeaderOBU.color_config",

View File

@ -2056,7 +2056,7 @@ gst_av1_parse_segmentation_params (GstAV1Parser * parser, GstBitReader * br,
gint i, j;
GstAV1ParserResult retval = GST_AV1_PARSER_OK;
gint clipped_value /* clippedValue */ ;
GstAV1SegmenationParams *seg_params;
GstAV1SegmentationParams *seg_params;
gint feature_value = 0;
const guint8 segmentation_feature_bits[GST_AV1_SEG_LVL_MAX] = {
@ -2130,7 +2130,7 @@ gst_av1_parse_segmentation_params (GstAV1Parser * parser, GstBitReader * br,
}
} else {
gint8 ref_idx;
GstAV1SegmenationParams *ref_seg_params;
GstAV1SegmentationParams *ref_seg_params;
/* Copy it from prime_ref */
if (frame_header->primary_ref_frame >= GST_AV1_PRIMARY_REF_NONE) {

View File

@ -110,7 +110,15 @@ typedef struct _GstAV1MetadataScalability GstAV1MetadataScalability;
typedef struct _GstAV1MetadataTimecode GstAV1MetadataTimecode;
typedef struct _GstAV1LoopFilterParams GstAV1LoopFilterParams;
typedef struct _GstAV1QuantizationParams GstAV1QuantizationParams;
typedef struct _GstAV1SegmenationParams GstAV1SegmenationParams;
typedef struct _GstAV1SegmentationParams GstAV1SegmentationParams;
/**
* GstAV1SegmenationParams:
*
* Deprecated: 1.28: Use GstAV1SegmentationParams.
*/
#ifndef GST_DISABLE_DEPRECATED
#define GstAV1SegmenationParams GstAV1SegmentationParams
#endif
typedef struct _GstAV1TileInfo GstAV1TileInfo;
typedef struct _GstAV1CDEFParams GstAV1CDEFParams;
typedef struct _GstAV1LoopRestorationParams GstAV1LoopRestorationParams;
@ -1151,7 +1159,7 @@ struct _GstAV1QuantizationParams {
};
/**
* GstAV1SegmenationParams:
* GstAV1SegmentationParams:
* @segmentation_enabled: equal to 1 indicates that this frame makes use of the segmentation
* tool; @segmentation_enabled equal to 0 indicates that the frame does not use segmentation.
* @segmentation_update_map: equal to 1 indicates that the segmentation map are updated during
@ -1173,7 +1181,7 @@ struct _GstAV1QuantizationParams {
* This is used when decoding the segment id to only decode choices corresponding to used
* segments.
*/
struct _GstAV1SegmenationParams {
struct _GstAV1SegmentationParams {
gboolean segmentation_enabled;
guint8 segmentation_update_map;
guint8 segmentation_temporal_update;
@ -1506,7 +1514,7 @@ struct _GstAV1FilmGrainParams {
* for performing inter prediction.
* @loop_filter_params: a #GstAV1LoopFilterParams holding the loop filter parameters.
* @quantization_params: a #GstAV1QuantizationParams holding the quantization parameters.
* @segmentation_params: a #GstAV1SegmenationParams holding the segementation parameters.
* @segmentation_params: a #GstAV1SegmentationParams holding the segmentation parameters.
* @tile_info: a #GstAV1TileInfo holding the tile info.
* @cdef_params: a #GstAV1CDEFParams holding the CDEF paramters.
* @loop_restoration_params: a #GstAV1LoopRestorationParams holding the loop restoration parameters.
@ -1580,7 +1588,7 @@ struct _GstAV1FrameHeaderOBU {
GstAV1InterpolationFilter interpolation_filter;
GstAV1LoopFilterParams loop_filter_params;
GstAV1QuantizationParams quantization_params;
GstAV1SegmenationParams segmentation_params;
GstAV1SegmentationParams segmentation_params;
GstAV1TileInfo tile_info;
GstAV1CDEFParams cdef_params;
GstAV1LoopRestorationParams loop_restoration_params;
@ -1649,7 +1657,7 @@ struct _GstAV1ReferenceFrameInfoEntry {
guint8 ref_subsampling_y; /* RefSubsamplingY */
guint8 ref_bit_depth; /* RefBitDepth */
guint32 ref_order_hint; /* RefOrderHint */
GstAV1SegmenationParams ref_segmentation_params;
GstAV1SegmentationParams ref_segmentation_params;
GstAV1GlobalMotionParams ref_global_motion_params;
GstAV1LoopFilterParams ref_lf_params;
GstAV1FilmGrainParams ref_film_grain_params;

View File

@ -673,7 +673,7 @@ gst_nv_av1_dec_start_picture (GstAV1Decoder * decoder, GstAV1Picture * picture,
const GstAV1QuantizationParams *qp = &frame_hdr->quantization_params;
const GstAV1TileInfo *ti = &frame_hdr->tile_info;
const GstAV1CDEFParams *cp = &frame_hdr->cdef_params;
const GstAV1SegmenationParams *sp = &frame_hdr->segmentation_params;
const GstAV1SegmentationParams *sp = &frame_hdr->segmentation_params;
const GstAV1LoopFilterParams *lp = &frame_hdr->loop_filter_params;
const GstAV1LoopRestorationParams *lrp = &frame_hdr->loop_restoration_params;
const GstAV1FilmGrainParams *fgp = &frame_hdr->film_grain_params;

View File

@ -672,7 +672,7 @@ gst_v4l2_codec_av1_fill_loop_filter (GstV4l2CodecAV1Dec * self,
static void
gst_v4l2_codec_av1_fill_segmentation (GstV4l2CodecAV1Dec * self,
const GstAV1SegmenationParams * seg)
const GstAV1SegmentationParams * seg)
{
struct v4l2_av1_segmentation *v4l2_seg = &self->v4l2_frame.segmentation;
guint32 i;
@ -846,7 +846,7 @@ gst_v4l2_codec_av1_dec_fill_frame_hdr (GstV4l2CodecAV1Dec * self,
const GstAV1FrameHeaderOBU *f = &pic->frame_hdr;
const GstAV1TileInfo *ti = &f->tile_info;
const GstAV1QuantizationParams *q = &f->quantization_params;
const GstAV1SegmenationParams *seg = &f->segmentation_params; /* FIXME: send patch upstream to fix spelling on the parser s/segmenation/segmentation */
const GstAV1SegmentationParams *seg = &f->segmentation_params;
const GstAV1LoopFilterParams *lf = &f->loop_filter_params;
const GstAV1LoopRestorationParams *lr = &f->loop_restoration_params;
guint i;