Home
last modified time | relevance | path

Searched refs:src_channel (Results 1 – 8 of 8) sorted by relevance

/external/virglrenderer/src/gallium/auxiliary/util/
Du_format_pack.py269 def clamp_expr(src_channel, dst_channel, dst_native_type, value): argument
273 if src_channel == dst_channel:
276 src_min = src_channel.min()
277 src_max = src_channel.max()
282 dst_min_native = native_to_constant(src_channel, value_to_native(src_channel, dst_min))
283 dst_max_native = native_to_constant(src_channel, value_to_native(src_channel, dst_max))
297 def conversion_expr(src_channel, argument
307 assert src_channel.type == UNSIGNED
308 assert src_channel.norm
309 assert src_channel.size <= 8
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py267 def clamp_expr(src_channel, dst_channel, dst_native_type, value): argument
271 if src_channel == dst_channel:
274 src_min = src_channel.min()
275 src_max = src_channel.max()
280 dst_min_native = native_to_constant(src_channel, value_to_native(src_channel, dst_min))
281 dst_max_native = native_to_constant(src_channel, value_to_native(src_channel, dst_max))
295 def conversion_expr(src_channel, argument
305 assert src_channel.type == UNSIGNED
306 assert src_channel.norm
307 assert src_channel.size <= 8
[all …]
/external/webrtc/webrtc/common_audio/
Daudio_converter_unittest.cc149 for (size_t src_channel = 0; src_channel < arraysize(kChannels); in TEST() local
150 ++src_channel) { in TEST()
153 RunAudioConverterTest(kChannels[src_channel], kSampleRates[src_rate], in TEST()
/external/webrtc/webrtc/voice_engine/
Dutility_unittest.cc214 for (int src_channel = 0; src_channel < kChannelsSize; src_channel++) { in TEST_F() local
216 RunResampleTest(kChannels[src_channel], kSampleRates[src_rate], in TEST_F()
/external/libopus/src/
Dopus_projection_encoder.c54 int src_channel, in opus_projection_copy_channel_in_float() argument
60 (const float*)src, src_stride, dst, src_channel, dst_stride, frame_size); in opus_projection_copy_channel_in_float()
69 int src_channel, in opus_projection_copy_channel_in_short() argument
75 (const opus_int16*)src, src_stride, dst, src_channel, dst_stride, frame_size); in opus_projection_copy_channel_in_short()
Dopus_multistream_encoder.c1020 int src_channel, in opus_copy_channel_in_float() argument
1031 dst[i*dst_stride] = FLOAT2INT16(float_src[i*src_stride+src_channel]); in opus_copy_channel_in_float()
1033 dst[i*dst_stride] = float_src[i*src_stride+src_channel]; in opus_copy_channel_in_float()
1043 int src_channel, in opus_copy_channel_in_short() argument
1054 dst[i*dst_stride] = short_src[i*src_stride+src_channel]; in opus_copy_channel_in_short()
1056 dst[i*dst_stride] = (1/32768.f)*short_src[i*src_stride+src_channel]; in opus_copy_channel_in_short()
Dopus_private.h93 int src_channel,
/external/webp/src/demux/
Danim_decode.c200 const uint8_t src_channel = (src >> shift) & 0xff; in BlendChannelNonPremult() local
202 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; in BlendChannelNonPremult()