Home
last modified time | relevance | path

Searched refs:in_length (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/transient/
Ddyadic_decimator.h25 inline size_t GetOutLengthToDyadicDecimate(size_t in_length, in GetOutLengthToDyadicDecimate() argument
27 size_t out_length = in_length / 2; in GetOutLengthToDyadicDecimate()
29 if (in_length % 2 == 1 && !odd_sequence) { in GetOutLengthToDyadicDecimate()
49 size_t in_length, in DyadicDecimate() argument
53 size_t half_length = GetOutLengthToDyadicDecimate(in_length, odd_sequence); in DyadicDecimate()
55 if (!in || !out || in_length <= 0 || out_length < half_length) { in DyadicDecimate()
Dmoving_moments.cc33 void MovingMoments::CalculateMoments(const float* in, size_t in_length, in CalculateMoments() argument
35 assert(in && in_length > 0 && first && second); in CalculateMoments()
37 for (size_t i = 0; i < in_length; ++i) { in CalculateMoments()
Dmoving_moments.h36 void CalculateMoments(const float* in, size_t in_length,
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_resampler.cc34 size_t in_length = in_freq_hz * num_audio_channels / 100; in Resample10Msec() local
36 if (out_capacity_samples < in_length) { in Resample10Msec()
40 memcpy(out_audio, in_audio, in_length * sizeof(int16_t)); in Resample10Msec()
41 return static_cast<int>(in_length / num_audio_channels); in Resample10Msec()
52 resampler_.Resample(in_audio, in_length, out_audio, out_capacity_samples); in Resample10Msec()
54 LOG(LS_ERROR) << "Resample(" << in_audio << ", " << in_length << ", " in Resample10Msec()
/external/libaom/libaom/av1/common/
Dresize.c220 static const InterpKernel *choose_interp_filter(int in_length, int out_length) { in choose_interp_filter() argument
222 if (out_length16 >= in_length * 16) in choose_interp_filter()
224 else if (out_length16 >= in_length * 13) in choose_interp_filter()
226 else if (out_length16 >= in_length * 11) in choose_interp_filter()
228 else if (out_length16 >= in_length * 9) in choose_interp_filter()
234 static void interpolate_core(const uint8_t *const input, int in_length, in interpolate_core() argument
238 (((uint32_t)in_length << RS_SCALE_SUBPEL_BITS) + out_length / 2) / in interpolate_core()
241 in_length > out_length in interpolate_core()
242 ? (((int32_t)(in_length - out_length) << (RS_SCALE_SUBPEL_BITS - 1)) + in interpolate_core()
245 : -(((int32_t)(out_length - in_length) in interpolate_core()
[all …]
Dresize.h109 int32_t av1_get_upscale_convolve_step(int in_length, int out_length);
/external/webrtc/webrtc/common_audio/resampler/
Dresampler_unittest.cc101 size_t in_length = static_cast<size_t>(kRates[i] / 100); in TEST_F() local
104 EXPECT_EQ(0, rs_.Push(data_in_, in_length, data_out_, kDataSize, in TEST_F()
123 size_t in_length = static_cast<size_t>(kChannels * kRates[i] / 100); in TEST_F() local
127 EXPECT_EQ(0, rs_.Push(data_in_, in_length, data_out_, kDataSize, in TEST_F()
/external/kernel-headers/original/uapi/linux/
Dndctl.h31 __u32 in_length; member
38 __u32 in_length; member
44 __u32 in_length; member
/external/webrtc/webrtc/common_audio/vad/
Dvad_sp.c30 size_t in_length) { in WebRtcVad_Downsampling() argument
36 size_t half_length = (in_length >> 1); in WebRtcVad_Downsampling()
Dvad_sp.h36 size_t in_length);
/external/fsverity-utils/
Delide_patch.c200 struct filedes *in, u64 in_length, in apply_elisions_and_patches() argument
208 if (exts[i]->offset + exts[i]->length > in_length) { in apply_elisions_and_patches()
238 if (!copy_file_data(in, out, in_length - in->pos)) in apply_elisions_and_patches()
Dfsveritysetup.h33 struct filedes *in, u64 in_length,
/external/google-breakpad/src/common/
Dstring_conversion.cc58 int UTF8ToUTF16Char(const char *in, int in_length, uint16_t out[2]) { in UTF8ToUTF16Char() argument
78 if (source_end_ptr > reinterpret_cast<const UTF8 *>(in) + in_length) in UTF8ToUTF16Char()
Dstring_conversion.h53 int UTF8ToUTF16Char(const char *in, int in_length, uint16_t out[2]);
/external/python/cpython2/Modules/zlib/
Dtrees.c1041 ulg in_length = (ulg)((long)s->strstart - s->block_start); local
1049 s->last_lit, in_length, out_length,
1050 100L - out_length*100L/in_length));
1051 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/external/zlib/src/
Dtrees.c1041 ulg in_length = (ulg)((long)s->strstart - s->block_start); local
1049 s->last_lit, in_length, out_length,
1050 100L - out_length*100L/in_length));
1051 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/external/u-boot/lib/zlib/
Dtrees.c1053 ulg in_length = (ulg)((long)s->strstart - s->block_start); local
1061 s->last_lit, in_length, out_length,
1062 100L - out_length*100L/in_length));
1063 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/external/libvpx/libvpx/vp9/encoder/
Dvp9_resize.c357 static int get_down2_steps(int in_length, int out_length) { in get_down2_steps() argument
360 while ((proj_in_length = get_down2_length(in_length, 1)) >= out_length) { in get_down2_steps()
362 in_length = proj_in_length; in get_down2_steps()