Home
last modified time | relevance | path

Searched refs:scale_factors (Results 1 – 16 of 16) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dhcadec.c35 int8_t scale_factors[128]; member
245 c->ch[i].hfr_scale = &c->ch[i].scale_factors[c->base_band_count + c->stereo_band_count]; in decode_init()
296 av_clip_intp2(ch->hfr_scale[i] - ch->scale_factors[l], 6) ] * ch->imdct_in[l]; in reconstruct_hfr()
339 ch->scale_factors[i] = get_bits(gb, 6); in unpack()
345 ch->scale_factors[0] = factor; in unpack()
356 ch->scale_factors[i] = factor; in unpack()
359 memset(ch->scale_factors, 0, 128); in unpack()
374 int scale = ch->scale_factors[i]; in unpack()
386 … ch->base[i] = dequantizer_scaling_table[ch->scale_factors[i]] * quant_step_size[ch->scale[i]]; in unpack()
Dmpegaudiodec_template.c70 uint8_t scale_factors[40]; member
394 uint8_t scale_factors[MPA_MAX_CHANNELS][SBLIMIT]; in mp_decode_layer1() local
419 scale_factors[ch][i] = get_bits(&s->gb, 6); in mp_decode_layer1()
424 scale_factors[0][i] = get_bits(&s->gb, 6); in mp_decode_layer1()
425 scale_factors[1][i] = get_bits(&s->gb, 6); in mp_decode_layer1()
436 v = l1_unscale(n, mant, scale_factors[ch][i]); in mp_decode_layer1()
447 v = l1_unscale(n, mant, scale_factors[0][i]); in mp_decode_layer1()
449 v = l1_unscale(n, mant, scale_factors[1][i]); in mp_decode_layer1()
467 unsigned char scale_factors[MPA_MAX_CHANNELS][SBLIMIT][3], *sf; in mp_decode_layer2() local
520 sf = scale_factors[ch][i]; in mp_decode_layer2()
[all …]
Ddcadsp.h34 int32_t scale_factors[32][2],
39 const int32_t *scale_factors,
Dmpegaudioenc_template.c59 unsigned char scale_factors[MPA_MAX_CHANNELS][SBLIMIT][3]; /* scale factors */ member
378 unsigned char scale_factors[SBLIMIT][3], in compute_scale_factors()
384 unsigned char *sf = &scale_factors[0][0]; in compute_scale_factors()
652 sf = &s->scale_factors[ch][i][0]; in encode_frame()
692 … a = (float)sample * s->scale_factor_inv_table[s->scale_factors[ch][i][k]]; in encode_frame()
698 e = s->scale_factors[ch][i][k]; in encode_frame()
758 compute_scale_factors(s, s->scale_code[i], s->scale_factors[i], in MPA_encode_frame()
Ddcadsp.c30 int32_t scale_factors[32][2], in decode_hf_c()
38 int32_t scale = scale_factors[i][0]; in decode_hf_c()
45 const int32_t *scale_factors, in decode_joint_c() argument
52 int32_t scale = scale_factors[i]; in decode_joint_c()
Dwmaprodec.c156 …int* scale_factors; ///< pointer to the scale factor values used for… member
1020 … s->channel[c].scale_factors = s->channel[c].saved_scale_factors[!s->channel[c].scale_factor_idx]; in decode_scale_factors()
1021 sf_end = s->channel[c].scale_factors + s->num_bands; in decode_scale_factors()
1032 s->channel[c].scale_factors[b] = in decode_scale_factors()
1043 for (sf = s->channel[c].scale_factors; sf < sf_end; sf++) { in decode_scale_factors()
1077 s->channel[c].scale_factors[i] += (val ^ sign) - sign; in decode_scale_factors()
1087 s->channel[c].max_scale_factor = s->channel[c].scale_factors[0]; in decode_scale_factors()
1088 for (sf = s->channel[c].scale_factors + 1; sf < sf_end; sf++) { in decode_scale_factors()
1379 const int* sf = s->channel[c].scale_factors; in decode_subframe()
Ddca_core.c471 s->scale_factors[ch][band][0] = ret; in parse_subframe_header()
475 s->scale_factors[ch][band][1] = ret; in parse_subframe_header()
478 s->scale_factors[ch][band][0] = 0; in parse_subframe_header()
486 s->scale_factors[ch][band][0] = ret; in parse_subframe_header()
647 ff_dca_high_freq_vq, s->scale_factors[ch], in parse_subframe_audio()
712 scale = s->scale_factors[ch][band][0]; in parse_subframe_audio()
714 scale = s->scale_factors[ch][band][1]; in parse_subframe_audio()
1178 int32_t scale = s->scale_factors[ch][band >> 1][band & 1]; in parse_x96_subframe_audio()
1229 scale = s->scale_factors[ch][band >> 1][band & 1]; in parse_x96_subframe_audio()
1355 s->scale_factors[ch][band >> 1][band & 1] = ret; in parse_x96_subframe_header()
Ddca_core.h146 …int32_t scale_factors[DCA_CHANNELS][DCA_SUBBANDS][2]; ///< Scale factors (2x for… member
/third_party/mesa3d/src/intel/compiler/
Dbrw_debug_recompile.c79 found |= check_float("scale factor", scale_factors[i]); in debug_sampler_recompile()
Dbrw_nir.c1245 memcpy(&tex_options.scale_factors, &key_tex->scale_factors, in brw_nir_apply_sampler_key()
1246 sizeof(tex_options.scale_factors)); in brw_nir_apply_sampler_key()
Dbrw_compiler.h222 float scale_factors[32]; member
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_wm.c213 key->scale_factors[s] = 0.0f; in brw_populate_sampler_prog_key_data()
313 key->scale_factors[s] = intel_tex->planar_format->scaling_factor; in brw_populate_sampler_prog_key_data()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_tex.c311 if (options->scale_factors[tex->texture_index]) in sample_plane()
313 options->scale_factors[tex->texture_index]); in sample_plane()
Dnir.h5150 float scale_factors[32]; member
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c161 key->scale_factors[s] = 0.0f; in crocus_populate_sampler_prog_key_data()
/third_party/mesa3d/docs/relnotes/
D19.1.0.rst4420 - intel/compiler: add scale_factors to sampler_prog_key_data