Searched refs:chan_size (Results 1 – 9 of 9) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | 8svx.c | 97 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()
|
D | ac3enc_float.c | 50 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()
|
D | ac3enc.c | 398 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/ |
D | panvk_vX_cs.c | 622 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()
|
D | panvk_vX_pipeline.c | 624 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/ |
D | agx_state.c | 812 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/ |
D | lp_bld_sample_soa.c | 2747 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/ |
D | pan_cmdstream.c | 261 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/ |
D | 21.3.0.rst | 610 - panvk: Fix chan_size calculation in panvk_emit_blend()
|