Home
last modified time | relevance | path

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

/external/chromium_org/third_party/mesa/src/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/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/chromium_org/third_party/mesa/src/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/chromium_org/third_party/opus/src/src/
Dopus_multistream_decoder.c149 int dst_channel,
270 int dst_channel, in opus_copy_channel_out_float() argument
283 float_dst[i*dst_stride+dst_channel] = (1/32768.f)*src[i*src_stride]; in opus_copy_channel_out_float()
285 float_dst[i*dst_stride+dst_channel] = src[i*src_stride]; in opus_copy_channel_out_float()
291 float_dst[i*dst_stride+dst_channel] = 0; in opus_copy_channel_out_float()
299 int dst_channel, in opus_copy_channel_out_short() argument
312 short_dst[i*dst_stride+dst_channel] = src[i*src_stride]; in opus_copy_channel_out_short()
314 short_dst[i*dst_stride+dst_channel] = FLOAT2INT16(src[i*src_stride]); in opus_copy_channel_out_short()
320 short_dst[i*dst_stride+dst_channel] = 0; in opus_copy_channel_out_short()