Home
last modified time | relevance | path

Searched refs:dst_channel (Results 1 – 6 of 6) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/util/
Du_format_pack.py244 def clamp_expr(src_channel, dst_channel, dst_native_type, value): argument
248 if src_channel == dst_channel:
253 dst_min = dst_channel.min()
254 dst_max = dst_channel.max()
273 dst_channel, dst_native_type, argument
286 if dst_channel.type == FLOAT:
289 assert dst_channel.type == UNSIGNED
290 assert dst_channel.norm
291 assert dst_channel.size == 8
294 assert dst_channel.type == UNSIGNED
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tile_soa.py76 def generate_format_read(format, dst_channel, dst_native_type, dst_suffix): argument
133 … value = conversion_expr(src_channel, dst_channel, dst_native_type, value, clamp=False)
144 … value = conversion_expr(src_channel, dst_channel, dst_native_type, value, clamp=False)
159 value = get_one(dst_channel)
166 value = get_one(dst_channel)
200 dst_channel = format.channels[i]
202 value = conversion_expr(src_channel, dst_channel, dst_native_type, value, clamp=False)
271 dst_channel = format.channels[i]
272 width = dst_channel.size
275 … value = conversion_expr(src_channel, dst_channel, dst_native_type, value, clamp=False)
[all …]
/external/libopus/src/
Dopus_multistream_decoder.c149 int dst_channel,
308 int dst_channel, in opus_copy_channel_out_float() argument
321 float_dst[i*dst_stride+dst_channel] = (1/32768.f)*src[i*src_stride]; in opus_copy_channel_out_float()
323 float_dst[i*dst_stride+dst_channel] = src[i*src_stride]; in opus_copy_channel_out_float()
329 float_dst[i*dst_stride+dst_channel] = 0; in opus_copy_channel_out_float()
337 int dst_channel, in opus_copy_channel_out_short() argument
350 short_dst[i*dst_stride+dst_channel] = src[i*src_stride]; in opus_copy_channel_out_short()
352 short_dst[i*dst_stride+dst_channel] = FLOAT2INT16(src[i*src_stride]); in opus_copy_channel_out_short()
358 short_dst[i*dst_stride+dst_channel] = 0; in opus_copy_channel_out_short()
/external/webrtc/webrtc/common_audio/
Daudio_converter_unittest.cc151 for (size_t dst_channel = 0; dst_channel < arraysize(kChannels); in TEST() local
152 ++dst_channel) { in TEST()
154 kChannels[dst_channel], kSampleRates[dst_rate]); in TEST()
/external/webrtc/webrtc/voice_engine/
Dutility_unittest.cc215 for (int dst_channel = 0; dst_channel < kChannelsSize; dst_channel++) { in TEST_F() local
217 kChannels[dst_channel], kSampleRates[dst_rate]); in TEST_F()
/external/webp/src/demux/
Danim_decode.c197 const uint8_t dst_channel = (dst >> shift) & 0xff; in BlendChannelNonPremult() local
198 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; in BlendChannelNonPremult()