Home
last modified time | relevance | path

Searched refs:sbr (Results 1 – 15 of 15) sorted by relevance

/third_party/ffmpeg/libavcodec/
Daacsbr_template.c81 static void sbr_turnoff(SpectralBandReplication *sbr) { in sbr_turnoff() argument
82 sbr->start = 0; in sbr_turnoff()
83 sbr->ready_for_dequant = 0; in sbr_turnoff()
85 sbr->kx[1] = 32; //Typo in spec, kx' inits to 32 in sbr_turnoff()
86 sbr->m[1] = 0; in sbr_turnoff()
88 sbr->data[0].e_a[1] = sbr->data[1].e_a[1] = -1; in sbr_turnoff()
89 memset(&sbr->spectrum_params, -1, sizeof(SpectrumParameters)); in sbr_turnoff()
92 av_cold void AAC_RENAME(ff_aac_sbr_ctx_init)(AACContext *ac, SpectralBandReplication *sbr, int id_a… in AAC_RENAME()
94 if(sbr->mdct.mdct_bits) in AAC_RENAME()
96 sbr->kx[0] = sbr->kx[1]; in AAC_RENAME()
[all …]
Daacsbr.c73 static void sbr_dequant(SpectralBandReplication *sbr, int id_aac) in sbr_dequant() argument
78 if (id_aac == TYPE_CPE && sbr->bs_coupling) { in sbr_dequant()
79 int pan_offset = sbr->data[0].bs_amp_res ? 12 : 24; in sbr_dequant()
80 for (e = 1; e <= sbr->data[0].bs_num_env; e++) { in sbr_dequant()
81 for (k = 0; k < sbr->n[sbr->data[0].bs_freq_res[e]]; k++) { in sbr_dequant()
83 if (sbr->data[0].bs_amp_res) { in sbr_dequant()
84 temp1 = ff_exp2fi(sbr->data[0].env_facs_q[e][k] + 7); in sbr_dequant()
85 temp2 = ff_exp2fi(pan_offset - sbr->data[1].env_facs_q[e][k]); in sbr_dequant()
88 temp1 = ff_exp2fi((sbr->data[0].env_facs_q[e][k]>>1) + 7) * in sbr_dequant()
89 exp2_tab[sbr->data[0].env_facs_q[e][k] & 1]; in sbr_dequant()
[all …]
Daacsbr_fixed.c153 static void sbr_dequant(SpectralBandReplication *sbr, int id_aac) in sbr_dequant() argument
158 if (id_aac == TYPE_CPE && sbr->bs_coupling) { in sbr_dequant()
159 int alpha = sbr->data[0].bs_amp_res ? 2 : 1; in sbr_dequant()
160 int pan_offset = sbr->data[0].bs_amp_res ? 12 : 24; in sbr_dequant()
161 for (e = 1; e <= sbr->data[0].bs_num_env; e++) { in sbr_dequant()
162 for (k = 0; k < sbr->n[sbr->data[0].bs_freq_res[e]]; k++) { in sbr_dequant()
165 temp1.exp = sbr->data[0].env_facs_q[e][k] * alpha + 14; in sbr_dequant()
176 temp2.exp = (pan_offset - sbr->data[1].env_facs_q[e][k]) * alpha; in sbr_dequant()
183 sbr->data[0].env_facs[e][k] = fac; in sbr_dequant()
184 sbr->data[1].env_facs[e][k] = av_mul_sf(fac, temp2); in sbr_dequant()
[all …]
Daacsbr.h84 void AAC_RENAME(ff_aac_sbr_ctx_init)(AACContext *ac, SpectralBandReplication *sbr, int id_aac);
86 void AAC_RENAME(ff_aac_sbr_ctx_close)(SpectralBandReplication *sbr);
88 int AAC_RENAME(ff_decode_sbr_extension)(AACContext *ac, SpectralBandReplication *sbr,
91 void AAC_RENAME(ff_sbr_apply)(AACContext *ac, SpectralBandReplication *sbr, int id_aac,
Dmpeg4audio.c106 c->sbr = -1; in ff_mpeg4audio_get_config_gb()
114 c->sbr = 1; in ff_mpeg4audio_get_config_gb()
142 if (c->ext_object_type == AOT_SBR && (c->sbr = get_bits1(gb)) == 1) { in ff_mpeg4audio_get_config_gb()
145 c->sbr = -1; in ff_mpeg4audio_get_config_gb()
156 if (!c->sbr) in ff_mpeg4audio_get_config_gb()
Dsbr.h124 int (*sbr_lf_gen)(AACContext *ac, SpectralBandReplication *sbr,
129 SpectralBandReplication *sbr, SBRData *ch_data,
131 int (*sbr_x_gen)(SpectralBandReplication *sbr, INTFLOAT X[2][38][64],
Daacdec_template.c139 AAC_RENAME(ff_aac_sbr_ctx_init)(ac, &ac->che[type][id]->sbr, type); in che_configure()
154 AAC_RENAME(ff_aac_sbr_ctx_close)(&ac->che[type][id]->sbr); in che_configure()
713 if (ac->oc[1].m4ac.sbr) in get_che()
939 if (m4ac->frame_length_short && m4ac->sbr == 1) { in decode_ga_specific_config()
942 m4ac->sbr = 0; in decode_ga_specific_config()
968 } else if (m4ac->sbr == 1 && m4ac->ps == -1) in decode_ga_specific_config()
1021 m4ac->sbr = 0; in decode_eld_specific_config()
1138 m4ac->sbr == 1 ? "SBR+" : "", in decode_audio_specific_config_gb()
1146 m4ac->sample_rate, m4ac->sbr, in decode_audio_specific_config_gb()
1310 ac->oc[1].m4ac.sbr = -1; in aac_decode_init()
[all …]
Dmpeg4audio.h37 int sbr; ///< -1 implicit, 1 presence member
Daac.h288 SpectralBandReplication sbr; member
Daacdec_fixed.c428 const int len = 1024 << (ac->oc[1].m4ac.sbr == 1); in apply_independent_coupling_fixed()
Daacdec.c257 const int len = 1024 << (ac->oc[1].m4ac.sbr == 1); in apply_independent_coupling()
/third_party/ffmpeg/libavcodec/mips/
Daacsbr_mips.c63 static int sbr_lf_gen_mips(AACContext *ac, SpectralBandReplication *sbr, in sbr_lf_gen_mips() argument
96 for (k = 0; k < sbr->kx[1]; k++) { in sbr_lf_gen_mips()
132 for (k = 0; k < sbr->kx[0]; k++) { in sbr_lf_gen_mips()
171 static int sbr_x_gen_mips(SpectralBandReplication *sbr, float X[2][38][64], in sbr_x_gen_mips() argument
181 const int i_Temp = FFMAX(2*sbr->data[ch].t_env_num_env_old - i_f, 0); in sbr_x_gen_mips()
207 for (k = 0; k < sbr->kx[0]; k++) { in sbr_x_gen_mips()
233 for (; k < sbr->kx[0] + sbr->m[0]; k++) { in sbr_x_gen_mips()
260 for (k = 0; k < sbr->kx[1]; k++) { in sbr_x_gen_mips()
288 for (; k < sbr->kx[1] + sbr->m[1]; k++) { in sbr_x_gen_mips()
318 SpectralBandReplication *sbr, SBRData *ch_data, in sbr_hf_assemble_mips() argument
[all …]
/third_party/skia/third_party/externals/brotli/fetch-spec/
Dshared-brotli-fetch-spec.txt28 If the recursive-sbr flag is enabled, `Accept-Encoding` may not contain `sbr`
29 [NOTE-BOX] When sbr can be used, it is possible to add a header Available-Dict
39 12. If codings contains `sbr`
46 1. If codings contains `sbr`, run these subsubsteps:
54 and, if codings contains `sbr`, also dictionaryResponse's body.
66 2. If the codings has `sbr`, run these subsubsteps:
85 fetch using dictionaryRequest with the recursive-sbr flag set to true.
/third_party/skia/third_party/externals/swiftshader/
D.gitignore30 *.sbr
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/
DAVRInstrInfo.td747 def : InstAlias<"sbr\t$rd, $k",