Home
last modified time | relevance | path

Searched refs:alevel (Results 1 – 6 of 6) 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/
Dmpeg12enc.c78 int alevel = FFABS(level); in init_uni_ac_vlc() local
80 if (alevel > rl->max_level[0][run]) in init_uni_ac_vlc()
83 code = rl->index_run[0][run] + alevel - 1; in init_uni_ac_vlc()
91 if (alevel < 128) in init_uni_ac_vlc()
673 int alevel, level, last_non_zero, dc, diff, i, j, run, last_index, sign; in mpeg1_encode_block() local
716 alevel = level; in mpeg1_encode_block()
717 MASK_ABS(sign, alevel); in mpeg1_encode_block()
720 if (alevel <= mpeg1_max_level[0][run]) { in mpeg1_encode_block()
721 code = mpeg1_index_run[0][run] + alevel - 1; in mpeg1_encode_block()
731 if (alevel < 128) { in mpeg1_encode_block()
Ddnxhdenc.c224 int sign, offset = 0, alevel = level; in dnxhd_init_vlc() local
226 MASK_ABS(sign, alevel); in dnxhd_init_vlc()
227 if (alevel > 64) { in dnxhd_init_vlc()
228 offset = (alevel - 1) >> 6; in dnxhd_init_vlc()
229 alevel -= offset << 6; in dnxhd_init_vlc()
232 if (ctx->cid_table->ac_info[2*j+0] >> 1 == alevel && in dnxhd_init_vlc()
236 if (alevel) { in dnxhd_init_vlc()
247 av_assert0(!alevel || j < 257); in dnxhd_init_vlc()
Dmjpegenc_common.c50 int alevel = FFABS(level); in ff_init_uni_ac_vlc() local
54 nbits= av_log2_16bit(alevel) + 1; in ff_init_uni_ac_vlc()
Dmpegvideo_enc.c4097 const int alevel= FFABS(level); in dct_quantize_trellis_c() local
4103 unquant_coeff= alevel*qmul + qadd; in dct_quantize_trellis_c()
4106 unquant_coeff = alevel * matrix[j] * 8; in dct_quantize_trellis_c()
4110 unquant_coeff = (int)( alevel * mpeg2_qscale * matrix[j]) >> 4; in dct_quantize_trellis_c()
4113 … unquant_coeff = ((( alevel << 1) + 1) * mpeg2_qscale * ((int) matrix[j])) >> 5; in dct_quantize_trellis_c()
4224 int alevel= FFABS(level); in dct_quantize_trellis_c() local
4228 unquant_coeff= (alevel*qmul + qadd)>>3; in dct_quantize_trellis_c()
4230 … unquant_coeff = ((( alevel << 1) + 1) * mpeg2_qscale * ((int) matrix[0])) >> 5; in dct_quantize_trellis_c()
/third_party/gstreamer/gstplugins_bad/
DChangeLog43576 alevel: New audio/video level element