Home
last modified time | relevance | path

Searched refs:chroma_addr (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/media/platform/verisilicon/
H A Dhantro_g2_hevc_dec.c369 dma_addr_t luma_addr, chroma_addr, mv_addr = 0; in set_ref() local
449 chroma_addr = luma_addr + cr_offset; in set_ref()
458 hantro_write_addr(vpu, G2_REF_CHROMA_ADDR(i), chroma_addr); in set_ref()
473 chroma_addr = luma_addr + cr_offset; in set_ref()
479 hantro_write_addr(vpu, G2_REF_CHROMA_ADDR(i), chroma_addr); in set_ref()
485 hantro_write_addr(vpu, G2_OUT_CHROMA_ADDR, chroma_addr); in set_ref()
H A Dhantro_g2_vp9_dec.c132 dma_addr_t luma_addr, chroma_addr, mv_addr; in config_output() local
141 chroma_addr = luma_addr + hantro_g2_chroma_offset(ctx); in config_output()
142 hantro_write_addr(ctx->dev, G2_OUT_CHROMA_ADDR, chroma_addr); in config_output()
166 dma_addr_t luma_addr, chroma_addr; in config_ref() local
182 chroma_addr = luma_addr + buf->vp9.chroma_offset; in config_ref()
183 hantro_write_addr(ctx->dev, ref_reg->c_base, chroma_addr); in config_ref()
H A Drockchip_vpu981_hw_av1_dec.c689 dma_addr_t luma_addr, chroma_addr, mv_addr = 0; in rockchip_vpu981_av1_dec_set_ref() local
748 chroma_addr = luma_addr + cr_offset; in rockchip_vpu981_av1_dec_set_ref()
752 hantro_write_addr(vpu, AV1_REFERENCE_CB(ref), chroma_addr); in rockchip_vpu981_av1_dec_set_ref()
2083 dma_addr_t luma_addr, chroma_addr, mv_addr = 0; in rockchip_vpu981_av1_dec_set_output_buffer() local
2090 chroma_addr = luma_addr + cr_offset; in rockchip_vpu981_av1_dec_set_output_buffer()
2094 hantro_write_addr(vpu, AV1_TILE_OUT_CH, chroma_addr); in rockchip_vpu981_av1_dec_set_output_buffer()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_mixer.c521 dma_addr_t luma_addr[2], chroma_addr[2]; in vp_video_buffer() local
529 chroma_addr[0] = exynos_drm_fb_dma_addr(fb, 1); in vp_video_buffer()
534 chroma_addr[1] = chroma_addr[0] + 0x40; in vp_video_buffer()
537 chroma_addr[1] = chroma_addr[0] + fb->pitches[1]; in vp_video_buffer()
541 chroma_addr[1] = 0; in vp_video_buffer()
588 vp_reg_write(ctx, VP_TOP_C_PTR, chroma_addr[0]); in vp_video_buffer()
589 vp_reg_write(ctx, VP_BOT_C_PTR, chroma_addr[1]); in vp_video_buffer()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn30/
H A Ddcn30_hubp.c135 || address->video_progressive.chroma_addr.quad_part == 0) in hubp3_program_surface_flip_and_addr()
164 address->video_progressive.chroma_addr.high_part); in hubp3_program_surface_flip_and_addr()
168 address->video_progressive.chroma_addr.low_part); in hubp3_program_surface_flip_and_addr()
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus_vp8.c660 dma_addr_t luma_addr, chroma_addr; in cedrus_vp8_setup() local
807 chroma_addr = cedrus_dst_buf_addr(ctx, &run->dst->vb2_buf, 1); in cedrus_vp8_setup()
809 cedrus_write(dev, VE_VP8_REC_CHROMA, chroma_addr); in cedrus_vp8_setup()
H A Dcedrus_h265.c36 __le32 chroma_addr; member
141 .chroma_addr = cpu_to_le32(VE_DEC_H265_SRAM_DATA_ADDR_BASE(dst_chroma_addr)), in cedrus_h265_frame_info_write_single()
/linux/drivers/media/platform/amphion/
H A Dvpu_defs.h170 u32 chroma_addr; member
H A Dvpu_malone.c765 if (fs->luma_addr == fs->chroma_addr) in vpu_malone_pack_fs_alloc()
766 fs->chroma_addr = fs->luma_addr + fs->luma_size; in vpu_malone_pack_fs_alloc()
768 pkt->data[3] = fs->chroma_addr; in vpu_malone_pack_fs_alloc()
769 pkt->data[4] = fs->chroma_addr + fs->chromau_size / 2; in vpu_malone_pack_fs_alloc()
H A Dvdec.c1072 info.chroma_addr = vpu_get_vb_phy_addr(&vbuf->vb2_buf, 1); in vdec_response_frame()
1074 info.chroma_addr = info.luma_addr + info.luma_size; in vdec_response_frame()
1083 vpu_buf->chroma_u = info.chroma_addr; in vdec_response_frame()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn401/
H A Ddcn401_hubp.c409 || address->video_progressive.chroma_addr.quad_part == 0) in hubp401_program_surface_flip_and_addr()
418 address->video_progressive.chroma_addr.high_part); in hubp401_program_surface_flip_and_addr()
422 address->video_progressive.chroma_addr.low_part); in hubp401_program_surface_flip_and_addr()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn21/
H A Ddcn21_hubp.c728 || address->video_progressive.chroma_addr.quad_part == 0) in hubp21_program_surface_flip_and_addr()
749 address->video_progressive.chroma_addr.low_part; in hubp21_program_surface_flip_and_addr()
752 address->video_progressive.chroma_addr.high_part; in hubp21_program_surface_flip_and_addr()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c870 uint64_t chroma_addr = afb->address + fb->offsets[1]; in amdgpu_dm_plane_fill_plane_buffer_attributes() local
893 address->video_progressive.chroma_addr.low_part = in amdgpu_dm_plane_fill_plane_buffer_attributes()
894 lower_32_bits(chroma_addr); in amdgpu_dm_plane_fill_plane_buffer_attributes()
895 address->video_progressive.chroma_addr.high_part = in amdgpu_dm_plane_fill_plane_buffer_attributes()
896 upper_32_bits(chroma_addr); in amdgpu_dm_plane_fill_plane_buffer_attributes()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn10/
H A Ddcn10_hubp.c415 || address->video_progressive.chroma_addr.quad_part == 0) in hubp1_program_surface_flip_and_addr()
444 address->video_progressive.chroma_addr.high_part); in hubp1_program_surface_flip_and_addr()
448 address->video_progressive.chroma_addr.low_part); in hubp1_program_surface_flip_and_addr()
/linux/drivers/gpu/drm/amd/display/dc/
H A Ddc_hw_types.h109 PHYSICAL_ADDRESS_LOC chroma_addr; member
H A Ddc_dmub_srv.c1829 address->video_progressive.chroma_addr.quad_part == 0) { in dc_dmub_srv_fams2_passthrough_flip()
1847 address->video_progressive.chroma_addr.low_part; in dc_dmub_srv_fams2_passthrough_flip()
1849 (uint16_t)address->video_progressive.chroma_addr.high_part; in dc_dmub_srv_fams2_passthrough_flip()
/linux/drivers/gpu/drm/amd/display/dc/hubp/dcn20/
H A Ddcn20_hubp.c769 || address->video_progressive.chroma_addr.quad_part == 0) in hubp2_program_surface_flip_and_addr()
798 address->video_progressive.chroma_addr.high_part); in hubp2_program_surface_flip_and_addr()
802 address->video_progressive.chroma_addr.low_part); in hubp2_program_surface_flip_and_addr()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c124 gpu_addr_to_uma(hwseq, &addr->video_progressive.chroma_addr); in plane_address_in_gpu_space_to_uma()
/linux/drivers/gpu/drm/amd/display/dc/dce110/
H A Ddce110_mem_input_v.c143 addr->video_progressive.chroma_addr); in program_addr()