Lines Matching defs:EBUR128Context

93 typedef struct EBUR128Context {  struct
94 const AVClass *class; ///< AVClass context for log and options purpose
97 int peak_mode; ///< enabled peak modes
98 double *true_peaks; ///< true peaks per channel
99 double *sample_peaks; ///< sample peaks per channel
100 double *true_peaks_per_frame; ///< true peaks in a frame per channel
102 SwrContext *swr_ctx; ///< over-sampling context for true peak metering
103 double *swr_buf; ///< resampled audio data for true peak metering
104 int swr_linesize;
108 int do_video; ///< 1 if video output enabled, 0 otherwise
109 int w, h; ///< size of the video output
110 struct rect text; ///< rectangle for the LU legend on the left
111 struct rect graph; ///< rectangle for the main graph in the center
112 struct rect gauge; ///< rectangle for the gauge on the right
113 AVFrame *outpicref; ///< output picture reference, updated regularly
114 int meter; ///< select a EBU mode between +9 and +18
115 int scale_range; ///< the range of LU values according to the meter
116 int y_zero_lu; ///< the y value (pixel position) for 0 LU
117 int y_opt_max; ///< the y value (pixel position) for 1 LU
118 int y_opt_min; ///< the y value (pixel position) for -1 LU
119 …ine_ref; ///< y reference values for drawing the LU lines in the graph and the gauge
122 int nb_channels; ///< number of channels in the input
123 double *ch_weighting; ///< channel weighting mapping
124 int sample_count; ///< sample count used for refresh frequency, reset at refresh
150 } EBUR128Context; argument