Home
last modified time | relevance | path

Searched refs:chan_size (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/libavcodec/
D8svx.c97 int chan_size = avpkt->size / avctx->channels - hdr_size; in eightsvx_decode_frame() local
109 esc->fib_acc[1] = avpkt->data[2+chan_size+1] + 128; in eightsvx_decode_frame()
112 esc->data_size = chan_size; in eightsvx_decode_frame()
113 if (!(esc->data[0] = av_malloc(chan_size))) in eightsvx_decode_frame()
116 if (!(esc->data[1] = av_malloc(chan_size))) { in eightsvx_decode_frame()
121 memcpy(esc->data[0], &avpkt->data[hdr_size], chan_size); in eightsvx_decode_frame()
123 memcpy(esc->data[1], &avpkt->data[2*hdr_size+chan_size], chan_size); in eightsvx_decode_frame()
Dac3enc_float.c50 int chan_size = AC3_MAX_COEFS * s->num_blocks; in scale_coefficients() local
52 s->ac3dsp.float_to_fixed24(s->fixed_coef_buffer + (chan_size * !cpl), in scale_coefficients()
53 s->mdct_coef_buffer + (chan_size * !cpl), in scale_coefficients()
54 chan_size * (s->channels + cpl)); in scale_coefficients()
Dac3enc.c398 int chan_size = AC3_MAX_COEFS * s->num_blocks * (s->channels - ch + 1); in extract_exponents() local
401 s->ac3dsp.extract_exponents(block->exp[ch], block->fixed_coef[ch], chan_size); in extract_exponents()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_cs.c622 unsigned chan_size = 0; in panvk_per_arch() local
624 chan_size = MAX2(format_desc->channel[i].size, chan_size); in panvk_per_arch()
633 u16 constant = fconst * ((1 << chan_size) - 1); in panvk_per_arch()
634 constant <<= 16 - chan_size; in panvk_per_arch()
Dpanvk_vX_pipeline.c624 unsigned chan_size = 0; in panvk_pipeline_builder_parse_color_blend() local
626 chan_size = MAX2(format_desc->channel[c].size, chan_size); in panvk_pipeline_builder_parse_color_blend()
628 ((1 << chan_size) - 1) << (16 - chan_size); in panvk_pipeline_builder_parse_color_blend()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.c812 unsigned chan_size = desc->channel[0].size / 8; in agx_create_vertex_elements() local
814 assert(chan_size == 1 || chan_size == 2 || chan_size == 4); in agx_create_vertex_elements()
816 assert((ve.src_offset & (chan_size - 1)) == 0); in agx_create_vertex_elements()
820 .src_offset = ve.src_offset / chan_size, in agx_create_vertex_elements()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_soa.c2747 unsigned chan_size = format_desc->channel[chan].size; in lp_build_clamp_border_color() local
2748 if (chan_size < 32) { in lp_build_clamp_border_color()
2750 0 - (1 << (chan_size - 1))); in lp_build_clamp_border_color()
2752 (1 << (chan_size - 1)) - 1); in lp_build_clamp_border_color()
2775 unsigned chan_size = format_desc->channel[chan].size; in lp_build_clamp_border_color() local
2776 if (chan_size < 32) { in lp_build_clamp_border_color()
2778 (1 << chan_size) - 1); in lp_build_clamp_border_color()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c261 unsigned chan_size = 0; in pack_blend_constant() local
264 chan_size = MAX2(format_desc->channel[0].size, chan_size); in pack_blend_constant()
266 uint16_t unorm = (cons * ((1 << chan_size) - 1)); in pack_blend_constant()
267 return unorm << (16 - chan_size); in pack_blend_constant()
/third_party/mesa3d/docs/relnotes/
D21.3.0.rst610 - panvk: Fix chan_size calculation in panvk_emit_blend()