Home
last modified time | relevance | path

Searched refs:src_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:
251 src_min = src_channel.min()
252 src_max = src_channel.max()
257 dst_min_native = value_to_native(src_channel, dst_min)
258 dst_max_native = value_to_native(src_channel, dst_max)
272 def conversion_expr(src_channel, argument
282 assert src_channel.type == UNSIGNED
283 assert src_channel.norm
284 assert src_channel.size == 8
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_tile_soa.py124 src_channel = format.channels[i]
125 width = src_channel.size
133 … value = conversion_expr(src_channel, dst_channel, dst_native_type, value, clamp=False)
141 src_channel = format.channels[i]
144 … value = conversion_expr(src_channel, dst_channel, dst_native_type, value, clamp=False)
146 elif src_channel.size:
178 def pack_rgba(format, src_channel, r, g, b, a): argument
202 value = conversion_expr(src_channel, dst_channel, dst_native_type, value, clamp=False)
214 def emit_unrolled_unswizzle_code(format, src_channel): argument
233 …print ' const uint32_t pixel0 = %s;' % pack_rgba(format, src_channel, "r[i+0]", "g[i+0]…
[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_multistream_encoder.c68 int src_channel,
878 int src_channel, in opus_copy_channel_in_float() argument
887 dst[i*dst_stride] = FLOAT2INT16(float_src[i*src_stride+src_channel]); in opus_copy_channel_in_float()
889 dst[i*dst_stride] = float_src[i*src_stride+src_channel]; in opus_copy_channel_in_float()
899 int src_channel, in opus_copy_channel_in_short() argument
908 dst[i*dst_stride] = short_src[i*src_stride+src_channel]; in opus_copy_channel_in_short()
910 dst[i*dst_stride] = (1/32768.f)*short_src[i*src_stride+src_channel]; in opus_copy_channel_in_short()
/external/webp/src/demux/
Danim_decode.c196 const uint8_t src_channel = (src >> shift) & 0xff; in BlendChannelNonPremult() local
198 const uint32_t blend_unscaled = src_channel * src_a + dst_channel * dst_a; in BlendChannelNonPremult()