61#define OFFSET(x) offsetof(ShowInfoContext, x)
62#define VF AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM
66 {
"udu_sei_as_ascii",
"try to print user data unregistered SEI as ascii character when possible",
76 double yaw, pitch, roll;
80 if (spherical->
yaw || spherical->
pitch || spherical->
roll) {
81 yaw = ((
double)spherical->
yaw) / (1 << 16);
121 const uint32_t *tc = (
const uint32_t *)sd->
data;
123 if ((sd->
size !=
sizeof(uint32_t) * 4) || (tc[0] > 3)) {
128 for (
int j = 1; j <= tc[0]; j++) {
143 if (!roi_size || sd->
size % roi_size != 0) {
147 nb_rois = sd->
size / roi_size;
149 for (
int i = 0;
i < nb_rois;
i++) {
171 nb_bboxes =
header->nb_bboxes;
174 for (
int i = 0;
i < nb_bboxes;
i++) {
176 av_log(
ctx,
AV_LOG_INFO,
"index: %d,\tregion: (%d, %d) -> (%d, %d), label: %s, confidence: %d/%d.\n",
177 i, bbox->
x, bbox->
y, bbox->
x + bbox->
w, bbox->
y + bbox->
h,
192 if (sd->
size <
sizeof(*mastering_display)) {
200 "r(%5.4f,%5.4f) g(%5.4f,%5.4f) b(%5.4f %5.4f) wp(%5.4f, %5.4f) "
201 "min_luminance=%f, max_luminance=%f",
217 if (sd->
size <
sizeof(*hdr_plus)) {
238 params->center_of_ellipse_x,
239 params->center_of_ellipse_y);
243 params->semimajor_axis_internal_ellipse);
245 params->semimajor_axis_external_ellipse);
247 params->semiminor_axis_external_ellipse);
249 params->overlap_process_option);
269 for (
int i = 0;
i < 3;
i++) {
275 for (
int i = 0;
i <
params->num_distribution_maxrgb_percentiles;
i++) {
277 params->distribution_maxrgb[
i].percentage,
282 if (
params->tone_mapping_flag) {
285 for (
int i = 0;
i <
params->num_bezier_curve_anchors;
i++) {
291 if (
params->color_saturation_mapping_flag) {
316 if (sd->
size <
sizeof(*hdr_vivid)) {
338 if (
params->tone_mapping_mode_flag) {
339 for (
int i = 0;
i <
params->tone_mapping_param_num;
i++) {
382 w,
params->color_saturation_mapping_flag);
383 if (
params->color_saturation_mapping_flag) {
385 w,
params->color_saturation_num);
386 for (
int i = 0;
i <
params->color_saturation_num;
i++) {
400 "MaxCLL=%d, MaxFALL=%d",
414 int delta_qp = par->
delta_qp[plane][acdc];
417 plane, acdc, delta_qp);
437 for (
size_t i = 16;
i < sd->
size;
i++) {
438 const char *
format =
"%02x";
440 if (
s->udu_sei_as_ascii)
450 const char *
const film_grain_type_names[] = {
473 av_log(
ctx,
AV_LOG_INFO,
"color_primaries=%s; ", color_primaries_str ? color_primaries_str :
"unknown");
485 const int num_ar_coeffs_uv = num_ar_coeffs_y + !!aom->
num_y_points;
490 for (
int uv = 0; uv < 2; uv++) {
498 if (num_ar_coeffs_y) {
500 for (
int i = 0;
i < num_ar_coeffs_y;
i++)
504 for (
int uv = 0; num_ar_coeffs_uv && uv < 2; uv++) {
506 for (
int i = 0;
i < num_ar_coeffs_uv;
i++)
512 for (
int uv = 0; uv < 2; uv++) {
527 for (
int c = 0;
c < 3;
c++)
535 for (
int c = 0;
c < 3;
c++) {
587 for (
int c = 0;
c < 3;
c++) {
617 for (
int j = 0; j < curve->
mmr_order[
i]; j++) {
618 for (
int k = 0; k < 7; k++)
638 for (
int i = 0;
i < 9;
i++)
641 for (
int i = 0;
i < 3;
i++)
644 for (
int i = 0;
i < 9;
i++)
663 "base_hdr_headroom=%f, alternate_hdr_headroom=%f, channels={ ",
664 p->version, p->nb_channels, p->use_base_color_space,
665 av_q2d(p->base_hdr_headroom),
av_q2d(p->alternate_hdr_headroom));
667 if (!(p->nb_channels == 1 || p->nb_channels == 3)) {
672 for (
int c = 0;
c < p->nb_channels;
c++) {
673 const struct AVGainMapChannel *ch = &p->channels[
c];
675 "{ gain_map_min=%f, gain_map_max=%f, gamma=%f, "
676 "base_offset=%f, alternate_offset=%f } ",
679 av_q2d(ch->alternate_offset));
733 for (
i = 0;
i <
len;
i++) {
741 const uint16_t *
src1 = (
const uint16_t *)
src;
744 for (
i = 0;
i <
len / 2;
i++) {
745 if ((HAVE_BIGENDIAN && !be) || (!HAVE_BIGENDIAN && be)) {
750 *sum2 += (uint32_t)
src1[
i] * (uint32_t)
src1[
i];
769 uint32_t plane_checksum[4] = {0}, checksum = 0;
770 int64_t sum[4] = {0}, sum2[4] = {0};
774 int i, plane, vsub =
desc->log2_chroma_h;
777 for (plane = 0; plane < 4 && calculate_checksums &&
frame->data[plane] &&
frame->linesize[plane]; plane++) {
788 for (
i = 0;
i <
h;
i++) {
793 pixelcount[plane] +=
width;
799 "n:%4"PRId64
" pts:%7s pts_time:%-7s duration:%7"PRId64
800 " duration_time:%-7s "
801 "fmt:%s cl:%s sar:%d/%d s:%dx%d i:%c iskey:%d type:%c ",
806 frame->sample_aspect_ratio.num,
frame->sample_aspect_ratio.den,
813 if (calculate_checksums) {
815 "checksum:%08"PRIX32
" plane_checksum:[%08"PRIX32,
816 checksum, plane_checksum[0]);
818 for (plane = 1; plane < 4 &&
frame->data[plane] &&
frame->linesize[plane]; plane++)
821 for (plane = 0; plane < 4 &&
frame->data[plane] &&
frame->linesize[plane]; plane++)
824 (sum[plane] + pixelcount[plane]/2) / pixelcount[plane]);
826 for (plane = 0; plane < 4 &&
frame->data[plane] &&
frame->linesize[plane]; plane++)
829 sqrt((sum2[plane] - sum[plane]*(
double)sum[plane]/pixelcount[plane])/pixelcount[plane]));
834 for (
i = 0;
i <
frame->nb_side_data;
i++) {
937 is_out ?
"out" :
"in",
974 .p.name =
"showinfo",
976 .p.priv_class = &showinfo_class,
SwsAArch64OpImplParams params
Public header for Adler-32 hash function implementation.
static const char *const format[]
const FFFilter ff_vf_showinfo
static AVFormatContext * ctx
int ff_filter_frame(AVFilterLink *link, AVFrame *frame)
Send a frame of data to the next filter.
Main libavfilter public API header.
static int FUNC metadata(CodedBitstreamContext *ctx, RWContext *rw, APVRawMetadata *current)
#define i(width, name, range_min, range_max)
static int FUNC user_data(CodedBitstreamContext *ctx, RWContext *rw, MPEG2RawUserData *current)
#define AV_CEIL_RSHIFT(a, b)
static av_always_inline AVDetectionBBox * av_get_detection_bbox(const AVDetectionBBoxHeader *header, unsigned int idx)
static int filter_frame(DBEDecodeContext *s, AVFrame *frame)
@ AV_FILM_GRAIN_PARAMS_H274
The union is valid when interpreted as AVFilmGrainH274Params (codec.h274)
@ AV_FILM_GRAIN_PARAMS_AV1
The union is valid when interpreted as AVFilmGrainAOMParams (codec.aom)
@ AV_FILM_GRAIN_PARAMS_NONE
@ AV_OPT_TYPE_BOOL
Underlying C type is int.
#define AVFILTER_FLAG_METADATA_ONLY
The filter is a "metadata" filter - it does not modify the frame data in any way.
AVAdler av_adler32_update(AVAdler adler, const uint8_t *buf, size_t len)
Calculate the Adler32 checksum of a buffer.
#define AV_FRAME_FLAG_INTERLACED
A flag to mark frames whose content is interlaced.
#define AV_FRAME_FLAG_TOP_FIELD_FIRST
A flag to mark frames where the top field is displayed first if the content is interlaced.
#define AV_FRAME_FLAG_KEY
A flag to mark frames that are keyframes.
void av_frame_free(AVFrame **frame)
Free the frame and any dynamically allocated objects in it, e.g.
const char * av_frame_side_data_name(enum AVFrameSideDataType type)
@ AV_FRAME_DATA_GOP_TIMECODE
The GOP timecode in 25 bit timecode format.
@ AV_FRAME_DATA_DOVI_METADATA
Parsed Dolby Vision metadata, suitable for passing to a software implementation.
@ AV_FRAME_DATA_VIEW_ID
This side data must be associated with a video frame.
@ AV_FRAME_DATA_SPHERICAL
The data represents the AVSphericalMapping structure defined in libavutil/spherical....
@ AV_FRAME_DATA_DYNAMIC_HDR_VIVID
HDR Vivid dynamic metadata associated with a video frame.
@ AV_FRAME_DATA_CONTENT_LIGHT_LEVEL
Content light level (based on CTA-861.3).
@ AV_FRAME_DATA_AMBIENT_VIEWING_ENVIRONMENT
Ambient viewing environment metadata, as defined by H.274.
@ AV_FRAME_DATA_DISPLAYMATRIX
This side data contains a 3x3 transformation matrix describing an affine transformation that needs to...
@ AV_FRAME_DATA_SEI_UNREGISTERED
User data unregistered metadata associated with a video frame.
@ AV_FRAME_DATA_DYNAMIC_HDR_PLUS
HDR dynamic metadata associated with a video frame.
@ AV_FRAME_DATA_MASTERING_DISPLAY_METADATA
Mastering display metadata associated with a video frame.
@ AV_FRAME_DATA_3D_REFERENCE_DISPLAYS
This side data contains information about the reference display width(s) and reference viewing distan...
@ AV_FRAME_DATA_FILM_GRAIN_PARAMS
Film grain parameters for a frame, described by AVFilmGrainParams.
@ AV_FRAME_DATA_VIDEO_ENC_PARAMS
Encoding parameters for a video frame, as described by AVVideoEncParams.
@ AV_FRAME_DATA_DETECTION_BBOXES
Bounding boxes for object detection and classification, as described by AVDetectionBBoxHeader.
@ AV_FRAME_DATA_AFD
Active Format Description data consisting of a single byte as specified in ETSI TS 101 154 using AVAc...
@ AV_FRAME_DATA_S12M_TIMECODE
Timecode which conforms to SMPTE ST 12-1.
@ AV_FRAME_DATA_STEREO3D
Stereoscopic 3d metadata.
@ AV_FRAME_DATA_GAIN_MAP_PARAMS
Parameters describing how to combine this gain map with its base image to form an alternate rendition...
@ AV_FRAME_DATA_REGIONS_OF_INTEREST
Regions Of Interest, the data is an array of AVRegionOfInterest type, the number of array element is ...
#define AV_LOG_WARNING
Something somehow does not look correct.
#define AV_LOG_INFO
Standard information.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static double av_q2d(AVRational a)
Convert an AVRational to a double.
int av_image_get_linesize(enum AVPixelFormat pix_fmt, int width, int plane)
Compute the size of an image line with format pix_fmt and width width for the plane plane.
char av_get_picture_type_char(enum AVPictureType pict_type)
Return a single letter to describe the given picture type pict_type.
double av_display_rotation_get(const int32_t matrix[9])
Extract the rotation component of the transformation matrix.
const char * av_spherical_projection_name(enum AVSphericalProjection projection)
Provide a human-readable name of a given AVSphericalProjection.
void av_spherical_tile_bounds(const AVSphericalMapping *map, size_t width, size_t height, size_t *left, size_t *top, size_t *right, size_t *bottom)
Convert the bounding fields from an AVSphericalVideo from 0.32 fixed point to pixels.
@ AV_SPHERICAL_EQUIRECTANGULAR_TILE
Video represents a portion of a sphere mapped on a flat surface using equirectangular projection.
@ AV_SPHERICAL_CUBEMAP
Video frame is split into 6 faces of a cube, and arranged on a 3x2 layout.
const char * av_stereo3d_view_name(unsigned int view)
Provide a human-readable name of a given stereo3d view.
const char * av_stereo3d_type_name(unsigned int type)
Provide a human-readable name of a given stereo3d type.
#define AV_STEREO3D_FLAG_INVERT
Inverted views, Right/Bottom represents the left view.
const char * av_stereo3d_primary_eye_name(unsigned int eye)
Provide a human-readable name of a given stereo3d primary eye.
#define FILTER_INPUTS(array)
#define FILTER_OUTPUTS(array)
#define FF_FILTER_FLAG_DYNAMIC_FRAME_PARAMS
static FilterLink * ff_filter_link(AVFilterLink *link)
#define AVFILTER_DEFINE_CLASS(fname)
common internal API header
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
const char * av_color_space_name(enum AVColorSpace space)
const char * av_color_range_name(enum AVColorRange range)
const char * av_alpha_mode_name(enum AVAlphaMode mode)
const char * av_chroma_location_name(enum AVChromaLocation location)
const char * av_color_transfer_name(enum AVColorTransferCharacteristic transfer)
const char * av_color_primaries_name(enum AVColorPrimaries primaries)
const AVPixFmtDescriptor * av_pix_fmt_desc_get(enum AVPixelFormat pix_fmt)
#define AV_PIX_FMT_FLAG_ALPHA
The pixel format has an alpha channel.
#define AV_PIX_FMT_FLAG_HWACCEL
Pixel format is an HW accelerated format.
#define AV_PIX_FMT_FLAG_BE
Pixel format is big-endian.
@ AVCOL_RANGE_UNSPECIFIED
@ AVALPHA_MODE_UNSPECIFIED
Unknown alpha handling, or no alpha channel.
static const uint8_t header[24]
#define FF_ARRAY_ELEMS(a)
This structure describes information about the reference display width(s) and reference viewing dista...
uint8_t num_ref_displays
The number of reference displays that are signalled in this struct.
Ambient viewing environment metadata as defined by H.274.
AVRational ambient_illuminance
Environmental illuminance of the ambient viewing environment in lux.
AVRational ambient_light_x
Normalized x chromaticity coordinate of the environmental ambient light in the nominal viewing enviro...
AVRational ambient_light_y
Normalized y chromaticity coordinate of the environmental ambient light in the nominal viewing enviro...
Describe the class of an AVClass context structure.
Content light level needed by to transmit HDR over HDMI (CTA-861.3).
Dolby Vision RPU data mapping parameters.
uint32_t num_x_partitions
uint8_t mapping_color_space
uint8_t mapping_chroma_format_idc
AVDOVIReshapingCurve curves[3]
enum AVDOVINLQMethod nlq_method_idc
uint32_t num_y_partitions
Coefficients of the non-linear inverse quantization.
uint64_t linear_deadzone_slope
uint64_t linear_deadzone_threshold
uint8_t poly_order[AV_DOVI_MAX_PIECES]
enum AVDOVIMappingMethod mapping_idc[AV_DOVI_MAX_PIECES]
int64_t mmr_constant[AV_DOVI_MAX_PIECES]
int64_t mmr_coef[AV_DOVI_MAX_PIECES][3][7]
int64_t poly_coef[AV_DOVI_MAX_PIECES][3]
uint16_t pivots[AV_DOVI_MAX_PIECES+1]
uint8_t mmr_order[AV_DOVI_MAX_PIECES]
char detect_label[AV_DETECTION_BBOX_LABEL_NAME_MAX_SIZE]
Detect result with confidence.
int x
Distance in pixels from the left/top edge of the frame, together with width and height,...
char classify_labels[AV_NUM_DETECTION_BBOX_CLASSIFY][AV_DETECTION_BBOX_LABEL_NAME_MAX_SIZE]
AVRational detect_confidence
AVRational classify_confidences[AV_NUM_DETECTION_BBOX_CLASSIFY]
This struct represents dynamic metadata for color volume transform - application 4 of SMPTE 2094-40:2...
uint8_t targeted_system_display_actual_peak_luminance_flag
This flag shall be equal to 0 in bit streams conforming to this version of this Specification.
uint8_t num_cols_targeted_system_display_actual_peak_luminance
The number of columns in the targeted_system_display_actual_peak_luminance array.
AVRational targeted_system_display_maximum_luminance
The nominal maximum display luminance of the targeted system display, in units of 0....
uint8_t mastering_display_actual_peak_luminance_flag
This flag shall be equal to 0 in bitstreams conforming to this version of this Specification.
AVHDRPlusColorTransformParams params[3]
The color transform parameters for every processing window.
uint8_t num_rows_targeted_system_display_actual_peak_luminance
The number of rows in the targeted system_display_actual_peak_luminance array.
uint8_t application_version
Application version in the application defining document in ST-2094 suite.
AVRational targeted_system_display_actual_peak_luminance[25][25]
The normalized actual peak luminance of the targeted system display.
uint8_t num_cols_mastering_display_actual_peak_luminance
The number of columns in the mastering_display_actual_peak_luminance array.
AVRational mastering_display_actual_peak_luminance[25][25]
The normalized actual peak luminance of the mastering display used for mastering the image essence.
uint8_t num_windows
The number of processing windows.
uint8_t num_rows_mastering_display_actual_peak_luminance
The number of rows in the mastering_display_actual_peak_luminance array.
This struct represents dynamic metadata for color volume transform - CUVA 005.1:2021 standard.
uint8_t num_windows
The number of processing windows.
uint8_t system_start_code
The system start code.
AVHDRVividColorTransformParams params[3]
The color transform parameters for every processing window.
This structure describes how to handle film grain synthesis for AOM codecs.
int chroma_scaling_from_luma
Signals whether to derive the chroma scaling function from the luma.
int limit_output_range
Signals to clip to limited color levels after film grain application.
int scaling_shift
Specifies the shift applied to the chroma components.
int grain_scale_shift
Signals the down shift applied to the generated gaussian numbers during synthesis.
int num_uv_points[2]
If chroma_scaling_from_luma is set to 0, signals the chroma scaling function parameters.
int overlap_flag
Signals whether to overlap film grain blocks.
int ar_coeff_lag
Specifies the auto-regression lag.
int uv_offset[2]
Offset used for component scaling function.
int ar_coeff_shift
Specifies the range of the auto-regressive coefficients.
uint8_t uv_points[2][10][2]
int8_t ar_coeffs_uv[2][25]
Chroma auto-regression coefficients.
int uv_mult[2]
Specifies the luma/chroma multipliers for the index to the component scaling function.
int8_t ar_coeffs_y[24]
Luma auto-regression coefficients.
int num_y_points
Number of points, and the scale and value for each point of the piecewise linear scaling function for...
This structure describes how to handle film grain synthesis for codecs using the ITU-T H....
uint8_t intensity_interval_upper_bound[3][256]
Specifies the upper bound of each intensity interval for which the set of model values applies for th...
int blending_mode_id
Specifies the blending mode used to blend the simulated film grain with the decoded images.
uint8_t intensity_interval_lower_bound[3][256]
Specifies the lower ounds of each intensity interval for whichthe set of model values applies for the...
int log2_scale_factor
Specifies a scale factor used in the film grain characterization equations.
int16_t comp_model_value[3][256][6]
Specifies the model values for the component for each intensity interval.
int model_id
Specifies the film grain simulation mode.
int component_model_present[3]
Indicates if the modelling of film grain for a given component is present.
uint16_t num_intensity_intervals[3]
Specifies the number of intensity intervals for which a specific set of model values has been estimat...
uint8_t num_model_values[3]
Specifies the number of model values present for each intensity interval in which the film grain has ...
This structure describes how to handle film grain synthesis in video for specific codecs.
enum AVColorPrimaries color_primaries
AVFilmGrainH274Params h274
enum AVColorRange color_range
Intended video signal characteristics.
int subsampling_x
Intended subsampling ratio, or 0 for luma-only streams.
int bit_depth_luma
Intended bit depth, or 0 for unknown/unspecified.
union AVFilmGrainParams::@177057277273004265167152242113040056044005264354 codec
Additional fields may be added both here and in any structure included.
enum AVFilmGrainParamsType type
Specifies the codec for which this structure is valid.
int width
Intended display resolution.
uint64_t seed
Seed to use for the synthesis process, if the codec allows for it.
enum AVColorTransferCharacteristic color_trc
enum AVColorSpace color_space
AVFilterLink ** outputs
array of pointers to output links
A link between two filters.
AVFilterContext * src
source filter
AVRational time_base
Define the time base used by the PTS of the frames/samples which will pass through this link.
AVFilterContext * dst
dest filter
A filter pad used for either input or output.
Structure to hold side data for an AVFrame.
enum AVFrameSideDataType type
This structure describes decoded (raw) audio or video data.
Parameters describing how to combine a gain map rendition with its base rendition to recover the alte...
HDR Vivid three spline params.
AVRational enable_strength
3Spline_enable_Strength of three Spline.
AVRational th_delta1
3Spline_TH_Delta1 of three Spline.
int th_mode
The mode of three Spline.
AVRational th_delta2
3Spline_TH_Delta2 of three Spline.
AVRational th_enable_mb
three_Spline_TH_enable_MB is in the range of 0.0 to 1.0, inclusive and in multiples of 1....
AVRational th_enable
3Spline_TH_enable of three Spline.
Color tone mapping parameters at a processing window in a dynamic metadata for CUVA 005....
int three_Spline_enable_flag
indicates 3Spline_enable_flag in the base parameter, This flag indicates that transfer three Spline o...
int base_param_k1
indicates k1_0 in the base parameter, base_param_k1 <= 1: k1_0 = base_param_k1 base_param_k1 > 1: res...
AVRational base_param_m_m
base_param_m_m in the base parameter, in multiples of 1.0/10.
AVRational base_param_m_p
base_param_m_p in the base parameter, in multiples of 1.0/16383.
int base_param_k3
indicates k3_0 in the base parameter, base_param_k3 == 1: k3_0 = base_param_k3 base_param_k3 == 2: k3...
AVRational base_param_m_b
base_param_m_b in the base parameter, in multiples of 1/1023.
AVRational base_param_m_a
base_param_m_a in the base parameter, in multiples of 1.0/1023.
AVRational base_param_Delta
base_param_Delta in the base parameter, in multiples of 1.0/127.
int three_Spline_num
The number of three Spline.
AVRational base_param_m_n
base_param_m_n in the base parameter, in multiples of 1.0/10.
int base_param_k2
indicates k2_0 in the base parameter, base_param_k2 <= 1: k2_0 = base_param_k2 base_param_k2 > 1: res...
AVHDRVivid3SplineParams three_spline[2]
AVRational targeted_system_display_maximum_luminance
The nominal maximum display luminance of the targeted system display, in multiples of 1....
int base_enable_flag
This flag indicates that transfer the base parameter(for value of 1)
int base_param_Delta_enable_mode
This flag indicates that delta mode of base parameter(for value of 1)
Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes...
Structure describing a single Region Of Interest.
uint32_t self_size
Must be set to the size of this data structure (that is, sizeof(AVRegionOfInterest)).
AVRational qoffset
Quantisation offset.
int top
Distance in pixels from the top edge of the frame to the top and bottom edges and from the left edge ...
This structure describes how to handle spherical videos, outlining information about projection,...
enum AVSphericalProjection projection
Projection type.
int32_t pitch
Rotation around the right vector [-90, 90].
int32_t roll
Rotation around the forward vector [-180, 180].
int32_t yaw
Rotation around the up vector [-180, 180].
uint32_t padding
Number of pixels to pad from the edge of each cube face.
Stereo 3D type: this structure describes how two videos are packed within a single video surface,...
enum AVStereo3DType type
How views are packed within the video.
uint32_t baseline
The distance between the centres of the lenses of the camera system, in micrometers.
AVRational horizontal_disparity_adjustment
Relative shift of the left and right images, which changes the zero parallax plane.
enum AVStereo3DPrimaryEye primary_eye
Which eye is the primary eye when rendering in 2D.
int flags
Additional information about the frame packing.
AVRational horizontal_field_of_view
Horizontal field of view, in degrees.
enum AVStereo3DView view
Determines which views are packed.
Video encoding parameters for a given frame.
int32_t delta_qp[4][2]
Quantisation parameter offset from the base (per-frame) qp for a given plane (first index) and AC/DC ...
enum AVVideoEncParamsType type
Type of the parameters (the codec they are used with).
unsigned int nb_blocks
Number of blocks in the array.
int32_t qp
Base quantisation parameter for the frame.
Link properties exposed to filter code, but not external callers.
AVRational frame_rate
Frame rate of the stream on the link, or 1/0 if unknown or variable.
char * av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_df, int skip_field)
Get the timecode string from the SMPTE timecode format.
char * av_timecode_make_mpeg_tc_string(char *buf, uint32_t tc25bit)
Get the timecode string from the 25-bit timecode format (MPEG GOP format).
#define AV_TIMECODE_STR_SIZE
timestamp utils, mostly useful for debugging/logging purposes
#define av_ts2str(ts)
Convenience macro, the return value should be used only directly in function arguments but never stan...
#define av_ts2timestr(ts, tb)
Convenience macro, the return value should be used only directly in function arguments but never stan...
UUID parsing and serialization utilities.
static const AVFilterPad avfilter_vf_showinfo_outputs[]
static void dump_roi(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_content_light_metadata(AVFilterContext *ctx, AVFrameSideData *sd)
static void dump_spherical(AVFilterContext *ctx, AVFrame *frame, const AVFrameSideData *sd)
static void dump_sei_unregistered_metadata(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_color_property(AVFilterContext *ctx, AVFrame *frame)
static const AVOption showinfo_options[]
static void update_sample_stats_16(int be, const uint8_t *src, int len, int64_t *sum, int64_t *sum2)
static void dump_ambient_viewing_environment(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_tdrdi(AVFilterContext *ctx, const AVFrameSideData *sd)
static int config_props_in(AVFilterLink *link)
static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
static void dump_dynamic_hdr_plus(AVFilterContext *ctx, AVFrameSideData *sd)
static void dump_sei_film_grain_params_metadata(AVFilterContext *ctx, const AVFrameSideData *sd)
static void update_sample_stats(int depth, int be, const uint8_t *src, int len, int64_t *sum, int64_t *sum2)
static void update_sample_stats_8(const uint8_t *src, int len, int64_t *sum, int64_t *sum2)
static const AVFilterPad avfilter_vf_showinfo_inputs[]
static void dump_stereo3d(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_gain_map_params(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_s12m_timecode(AVFilterContext *ctx, AVFilterLink *inlink, const AVFrameSideData *sd)
static int config_props_out(AVFilterLink *link)
static int config_props(AVFilterContext *ctx, AVFilterLink *link, int is_out)
static void dump_dovi_metadata(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_video_enc_params(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_detection_bbox(AVFilterContext *ctx, const AVFrameSideData *sd)
static void dump_dynamic_hdr_vivid(AVFilterContext *ctx, AVFrameSideData *sd)
static void dump_mastering_display(AVFilterContext *ctx, const AVFrameSideData *sd)