Home
last modified time | relevance | path

Searched refs:alevel (Results 1 – 7 of 7) sorted by relevance

/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dvideoframe-audiolevel.c342 GstElement *alevel; in test_videoframe_audiolevel_generic() local
356 alevel = gst_element_factory_make ("videoframe-audiolevel", NULL); in test_videoframe_audiolevel_generic()
357 fail_unless (alevel != NULL); in test_videoframe_audiolevel_generic()
360 gst_element_set_bus (alevel, bus); in test_videoframe_audiolevel_generic()
363 asink = gst_element_get_static_pad (alevel, "asink"); in test_videoframe_audiolevel_generic()
366 vsink = gst_element_get_static_pad (alevel, "vsink"); in test_videoframe_audiolevel_generic()
369 asrc = gst_element_get_static_pad (alevel, "asrc"); in test_videoframe_audiolevel_generic()
374 vsrc = gst_element_get_static_pad (alevel, "vsrc"); in test_videoframe_audiolevel_generic()
387 fail_unless (gst_element_set_state (alevel, in test_videoframe_audiolevel_generic()
418 gst_element_set_state (alevel, GST_STATE_NULL); in test_videoframe_audiolevel_generic()
[all …]
/third_party/ffmpeg/libavcodec/
Dspeedhqenc.c199 int alevel, level, last_non_zero, dc, i, j, run, last_index, sign; in encode_block() local
222 alevel = level; in encode_block()
223 MASK_ABS(sign, alevel); in encode_block()
226 if (alevel <= ff_rl_speedhq.max_level[0][run]) { in encode_block()
227 code = ff_rl_speedhq.index_run[0][run] + alevel - 1; in encode_block()
Dmpeg12enc.c79 int alevel = FFABS(level); in ff_mpeg1_init_uni_ac_vlc() local
81 if (alevel > rl->max_level[0][run]) in ff_mpeg1_init_uni_ac_vlc()
84 code = rl->index_run[0][run] + alevel - 1; in ff_mpeg1_init_uni_ac_vlc()
92 if (alevel < 128) in ff_mpeg1_init_uni_ac_vlc()
675 int alevel, level, last_non_zero, dc, diff, i, j, run, last_index, sign; in mpeg1_encode_block() local
718 alevel = level; in mpeg1_encode_block()
719 MASK_ABS(sign, alevel); in mpeg1_encode_block()
722 if (alevel <= ff_rl_mpeg1.max_level[0][run]) { in mpeg1_encode_block()
723 code = ff_rl_mpeg1.index_run[0][run] + alevel - 1; in mpeg1_encode_block()
733 if (alevel < 128) { in mpeg1_encode_block()
Ddnxhdenc.c221 int sign, offset = 0, alevel = level; in dnxhd_init_vlc() local
223 MASK_ABS(sign, alevel); in dnxhd_init_vlc()
224 if (alevel > 64) { in dnxhd_init_vlc()
225 offset = (alevel - 1) >> 6; in dnxhd_init_vlc()
226 alevel -= offset << 6; in dnxhd_init_vlc()
229 if (ctx->cid_table->ac_info[2*j+0] >> 1 == alevel && in dnxhd_init_vlc()
233 if (alevel) { in dnxhd_init_vlc()
244 av_assert0(!alevel || j < 257); in dnxhd_init_vlc()
Dmjpegenc.c53 int alevel = FFABS(level); in init_uni_ac_vlc() local
57 nbits= av_log2_16bit(alevel) + 1; in init_uni_ac_vlc()
Dmpegvideo_enc.c4155 const int alevel= FFABS(level); in dct_quantize_trellis_c() local
4161 unquant_coeff= alevel*qmul + qadd; in dct_quantize_trellis_c()
4164 unquant_coeff = alevel * matrix[j] * 8; in dct_quantize_trellis_c()
4168 unquant_coeff = (int)( alevel * mpeg2_qscale * matrix[j]) >> 4; in dct_quantize_trellis_c()
4171 … unquant_coeff = ((( alevel << 1) + 1) * mpeg2_qscale * ((int) matrix[j])) >> 5; in dct_quantize_trellis_c()
4282 int alevel= FFABS(level); in dct_quantize_trellis_c() local
4286 unquant_coeff= (alevel*qmul + qadd)>>3; in dct_quantize_trellis_c()
4288 … unquant_coeff = ((( alevel << 1) + 1) * mpeg2_qscale * ((int) matrix[0])) >> 5; in dct_quantize_trellis_c()
/third_party/gstreamer/gstplugins_bad/
DChangeLog83160 alevel: New audio/video level element