Home
last modified time | relevance | path

Searched refs:smp (Results 1 - 25 of 32) sorted by relevance

12

/third_party/ffmpeg/libavcodec/
H A Dflacdsp_lpc_template.c44 s = smp[i-(x)+1]; \
49 const int32_t *smp, int len, int order, in lpc_encode_unrolled()
54 int s = smp[i-order]; in lpc_encode_unrolled()
103 res[i ] = smp[i ] - CLIP(p0 >> shift); in lpc_encode_unrolled()
104 res[i+1] = smp[i+1] - CLIP(p1 >> shift); in lpc_encode_unrolled()
108 static void FUNC(flac_lpc_encode_c)(int32_t *res, const int32_t *smp, int len, in flac_lpc_encode_c() argument
113 res[i] = smp[i]; in flac_lpc_encode_c()
117 int s = smp[i]; in flac_lpc_encode_c()
122 s = smp[i-j-1]; in flac_lpc_encode_c()
125 res[i ] = smp[ in flac_lpc_encode_c()
48 lpc_encode_unrolled(int32_t *res, const int32_t *smp, int len, int order, const int32_t *coefs, int shift, int big) lpc_encode_unrolled() argument
[all...]
H A Dws-snd1.c96 int code, smp, size; in ws_snd_decode_frame() local
104 case 0: smp = 4 * (count + 1); break; in ws_snd_decode_frame()
105 case 1: smp = 2 * (count + 1); break; in ws_snd_decode_frame()
106 case 2: smp = (count & 0x20) ? 1 : count + 1; break; in ws_snd_decode_frame()
107 default: smp = count + 1; break; in ws_snd_decode_frame()
109 if (samples_end - samples < smp) in ws_snd_decode_frame()
155 memcpy(samples, buf, smp); in ws_snd_decode_frame()
156 samples += smp; in ws_snd_decode_frame()
157 buf += smp; in ws_snd_decode_frame()
162 memset(samples, sample, smp); in ws_snd_decode_frame()
[all...]
H A Dflacenc.c738 static void encode_residual_fixed(int32_t *res, const int32_t *smp, int n, in encode_residual_fixed() argument
744 res[i] = smp[i]; in encode_residual_fixed()
748 res[i] = smp[i]; in encode_residual_fixed()
751 res[i] = smp[i] - smp[i-1]; in encode_residual_fixed()
753 int a = smp[order-1] - smp[order-2]; in encode_residual_fixed()
755 int b = smp[i ] - smp[i-1]; in encode_residual_fixed()
757 a = smp[ in encode_residual_fixed()
797 int32_t *res, *smp; encode_residual_ch() local
[all...]
H A Dalsdec.c626 int smp = bd->block_length - 1; in decode_const_block_data() local
631 for (; smp; smp--) in decode_const_block_data()
917 unsigned int smp = 0; in decode_var_block_data() local
950 for (smp = 0; smp < FFMIN(opt_order, block_length); smp++) { in decode_var_block_data()
953 for (sb = 0; sb < smp; sb++) in decode_var_block_data()
957 parcor_to_lpc(smp, quant_cof, lpc_cof); in decode_var_block_data()
997 raw_samples = bd->raw_samples + smp; in decode_var_block_data()
1051 unsigned int smp; decode_block() local
1322 ptrdiff_t smp; revert_channel_correlation() local
[all...]
H A Dflacdsp.h33 void (*lpc16_encode)(int32_t *res, const int32_t *smp, int len, int order,
35 void (*lpc32_encode)(int32_t *res, const int32_t *smp, int len, int order,
H A Dalacenc.c408 int32_t *smp = s->sample_buf[j]; in write_element() local
410 extra[i] = smp[i] & mask; in write_element()
411 smp[i] >>= s->extra_bits; in write_element()
H A Dadpcm.c1493 int16_t *smp = samples_p[channel]; in adpcm_decode_frame()
1496 *smp++ = adpcm_ima_cunning_expand_nibble(&c->status[channel], v & 0x0F); in adpcm_decode_frame()
1497 *smp++ = adpcm_ima_cunning_expand_nibble(&c->status[channel], v >> 4); in adpcm_decode_frame()
1536 int16_t *smp = samples_p[channel]; in adpcm_decode_frame()
1540 *smp++ = adpcm_ima_expand_nibble(&c->status[channel], v & 0x0F, 3); in adpcm_decode_frame()
1541 *smp++ = adpcm_ima_expand_nibble(&c->status[channel], v >> 4 , 3); in adpcm_decode_frame()
H A Dadpcmenc.c660 const int16_t *smp = &samples_p[ch][1 + i * 8]; in adpcm_encode_frame()
662 uint8_t v = adpcm_ima_compress_sample(status, smp[j ]); in adpcm_encode_frame()
663 v |= adpcm_ima_compress_sample(status, smp[j + 1]) << 4; in adpcm_encode_frame()
/third_party/alsa-lib/src/pcm/
H A Dpcm_dmix_i386.c88 static int smp = 0, mmx = 0, cmov = 0; in mix_select_callbacks() local
100 if (!smp) { in mix_select_callbacks()
109 smp++; in mix_select_callbacks()
122 dmix->u.dmix.mix_areas_16 = smp > 1 ? mix_areas_16_smp_mmx : mix_areas_16_mmx; in mix_select_callbacks()
123 dmix->u.dmix.remix_areas_16 = smp > 1 ? remix_areas_16_smp_mmx : remix_areas_16_mmx; in mix_select_callbacks()
125 dmix->u.dmix.mix_areas_16 = smp > 1 ? mix_areas_16_smp : mix_areas_16; in mix_select_callbacks()
126 dmix->u.dmix.remix_areas_16 = smp > 1 ? remix_areas_16_smp : remix_areas_16; in mix_select_callbacks()
128 dmix->u.dmix.mix_areas_32 = smp > 1 ? mix_areas_32_smp : mix_areas_32; in mix_select_callbacks()
129 dmix->u.dmix.remix_areas_32 = smp > 1 ? remix_areas_32_smp : remix_areas_32; in mix_select_callbacks()
131 dmix->u.dmix.mix_areas_24 = smp > in mix_select_callbacks()
[all...]
H A Dpcm_dmix_x86_64.c71 static int smp = 0; in mix_select_callbacks() local
83 if (!smp) { in mix_select_callbacks()
92 smp++; in mix_select_callbacks()
97 // printf("SMP: %i\n", smp); in mix_select_callbacks()
98 dmix->u.dmix.mix_areas_16 = smp > 1 ? mix_areas_16_smp : mix_areas_16; in mix_select_callbacks()
99 dmix->u.dmix.remix_areas_16 = smp > 1 ? remix_areas_16_smp : remix_areas_16; in mix_select_callbacks()
100 dmix->u.dmix.mix_areas_32 = smp > 1 ? mix_areas_32_smp : mix_areas_32; in mix_select_callbacks()
101 dmix->u.dmix.remix_areas_32 = smp > 1 ? remix_areas_32_smp : remix_areas_32; in mix_select_callbacks()
102 dmix->u.dmix.mix_areas_24 = smp > 1 ? mix_areas_24_smp : mix_areas_24; in mix_select_callbacks()
103 dmix->u.dmix.remix_areas_24 = smp > in mix_select_callbacks()
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dflac_dsp_gpl.asm29 cglobal flac_enc_lpc_16, 5, 7, 8, 0, res, smp, len, order, coefs
35 cglobal flac_enc_lpc_16, 5, 6, 8, 0, res, smp, len, order, coefs
70 movu m1, [smpq+negj*4-4] ; s = smp[i-j-1]
90 psubd m1, m0 ; smp[i] - p
93 movu [resq], m1 ; res[i] = smp[i] - (p >> shift)
/third_party/skia/third_party/externals/spirv-tools/test/opt/
H A Dinline_opaque_test.cpp42 OpMemberName %S_t 2 "smp" in TEST_F()
240 OpMemberName %S_t 2 "smp"
356 OpMemberName %S_t 2 "smp"
H A Dinsert_extract_elim_test.cpp209 OpMemberName %S_t 2 "smp" in TEST_F()
H A Dlocal_access_chain_convert_test.cpp457 OpMemberName %S_t 2 "smp" in TEST_F()
H A Dlocal_single_block_elim.cpp635 OpMemberName %S_t 2 "smp"
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
H A Dinline_opaque_test.cpp42 OpMemberName %S_t 2 "smp" in TEST_F()
240 OpMemberName %S_t 2 "smp"
356 OpMemberName %S_t 2 "smp"
H A Dinsert_extract_elim_test.cpp209 OpMemberName %S_t 2 "smp" in TEST_F()
H A Dlocal_access_chain_convert_test.cpp457 OpMemberName %S_t 2 "smp" in TEST_F()
H A Dlocal_single_block_elim.cpp635 OpMemberName %S_t 2 "smp"
/third_party/spirv-tools/test/opt/
H A Dinline_opaque_test.cpp42 OpMemberName %S_t 2 "smp" in TEST_F()
240 OpMemberName %S_t 2 "smp"
356 OpMemberName %S_t 2 "smp"
H A Dinsert_extract_elim_test.cpp209 OpMemberName %S_t 2 "smp" in TEST_F()
H A Dlocal_access_chain_convert_test.cpp457 OpMemberName %S_t 2 "smp" in TEST_F()
H A Dlocal_single_block_elim.cpp635 OpMemberName %S_t 2 "smp"
/third_party/nghttp2/src/
H A Dh2load.cc199 void sampling_init(Sampling &smp, size_t max_samples) { in sampling_init() argument
200 smp.n = 0; in sampling_init()
201 smp.max_samples = max_samples; in sampling_init()
1662 void sample(Sampling &smp, Stats &stats, Stat *s) { in sample() argument
1663 ++smp.n; in sample()
1664 if (stats.size() < smp.max_samples) { in sample()
1668 auto d = std::uniform_int_distribution<unsigned long>(0, smp.n - 1); in sample()
1670 if (i < smp.max_samples) { in sample()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
H A Dvid_dec_av1.h416 struct skip_mode_params smp; member

Completed in 31 milliseconds

12