/linux-6.3-rc2/drivers/media/platform/verisilicon/ |
A D | hantro_g2_hevc_dec.c | 383 dma_addr_t luma_addr, chroma_addr, mv_addr = 0; in set_ref() local 457 if (!luma_addr) in set_ref() 460 chroma_addr = luma_addr + cr_offset; in set_ref() 461 mv_addr = luma_addr + mv_offset; in set_ref() 466 hantro_write_addr(vpu, G2_REF_LUMA_ADDR(i), luma_addr); in set_ref() 473 luma_addr = hantro_get_dec_buf_addr(ctx, &dst->base.vb.vb2_buf); in set_ref() 474 if (!luma_addr) in set_ref() 480 chroma_addr = luma_addr + cr_offset; in set_ref() 481 mv_addr = luma_addr + mv_offset; in set_ref() 483 hantro_write_addr(vpu, G2_REF_LUMA_ADDR(i), luma_addr); in set_ref() [all …]
|
A D | hantro_g2_vp9_dec.c | 150 dma_addr_t luma_addr, chroma_addr, mv_addr; in config_output() local 156 luma_addr = hantro_get_dec_buf_addr(ctx, &dst->base.vb.vb2_buf); in config_output() 157 hantro_write_addr(ctx->dev, G2_OUT_LUMA_ADDR, luma_addr); in config_output() 159 chroma_addr = luma_addr + chroma_offset(ctx, dec_params); in config_output() 162 mv_addr = luma_addr + mv_offset(ctx, dec_params); in config_output() 182 dma_addr_t luma_addr, chroma_addr; in config_ref() local 195 luma_addr = hantro_get_dec_buf_addr(ctx, &buf->base.vb.vb2_buf); in config_ref() 196 hantro_write_addr(ctx->dev, ref_reg->y_base, luma_addr); in config_ref() 198 chroma_addr = luma_addr + chroma_offset(ctx, dec_params); in config_ref()
|
/linux-6.3-rc2/drivers/gpu/drm/exynos/ |
A D | exynos_mixer.c | 522 dma_addr_t luma_addr[2], chroma_addr[2]; in vp_video_buffer() local 529 luma_addr[0] = exynos_drm_fb_dma_addr(fb, 0); in vp_video_buffer() 534 luma_addr[1] = luma_addr[0] + 0x40; in vp_video_buffer() 537 luma_addr[1] = luma_addr[0] + fb->pitches[0]; in vp_video_buffer() 541 luma_addr[1] = 0; in vp_video_buffer() 587 vp_reg_write(ctx, VP_TOP_Y_PTR, luma_addr[0]); in vp_video_buffer() 588 vp_reg_write(ctx, VP_BOT_Y_PTR, luma_addr[1]); in vp_video_buffer()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_hubp.c | 138 if (address->video_progressive.luma_addr.quad_part == 0 in hubp3_program_surface_flip_and_addr() 176 address->video_progressive.luma_addr.high_part); in hubp3_program_surface_flip_and_addr() 180 address->video_progressive.luma_addr.low_part); in hubp3_program_surface_flip_and_addr()
|
/linux-6.3-rc2/drivers/staging/media/sunxi/cedrus/ |
A D | cedrus_vp8.c | 660 dma_addr_t luma_addr, chroma_addr; in cedrus_vp8_setup() local 806 luma_addr = cedrus_dst_buf_addr(ctx, &run->dst->vb2_buf, 0); in cedrus_vp8_setup() 808 cedrus_write(dev, VE_VP8_REC_LUMA, luma_addr); in cedrus_vp8_setup()
|
A D | cedrus_h265.c | 35 __le32 luma_addr; member 140 .luma_addr = cpu_to_le32(VE_DEC_H265_SRAM_DATA_ADDR_BASE(dst_luma_addr)), in cedrus_h265_frame_info_write_single()
|
/linux-6.3-rc2/drivers/media/platform/amphion/ |
A D | vpu_defs.h | 166 u32 luma_addr; member
|
A D | vpu_malone.c | 741 pkt->data[1] = fs->luma_addr; in vpu_malone_pack_fs_alloc() 749 if (fs->luma_addr == fs->chroma_addr) in vpu_malone_pack_fs_alloc() 750 fs->chroma_addr = fs->luma_addr + fs->luma_size; in vpu_malone_pack_fs_alloc() 751 pkt->data[2] = fs->luma_addr + fs->luma_size / 2; in vpu_malone_pack_fs_alloc()
|
A D | vdec.c | 934 info.luma_addr = fs->buffer[fs->index].phys; in vdec_response_fs() 994 info.luma_addr = vpu_get_vb_phy_addr(&vbuf->vb2_buf, 0); in vdec_response_frame() 999 info.chroma_addr = info.luma_addr + info.luma_size; in vdec_response_frame() 1007 vpu_buf->luma = info.luma_addr; in vdec_response_frame()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_plane.c | 798 uint64_t luma_addr = afb->address + fb->offsets[0]; in fill_plane_buffer_attributes() local 818 address->video_progressive.luma_addr.low_part = in fill_plane_buffer_attributes() 819 lower_32_bits(luma_addr); in fill_plane_buffer_attributes() 820 address->video_progressive.luma_addr.high_part = in fill_plane_buffer_attributes() 821 upper_32_bits(luma_addr); in fill_plane_buffer_attributes()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/ |
A D | dcn21_hubp.c | 730 if (address->video_progressive.luma_addr.quad_part == 0 in hubp21_program_surface_flip_and_addr() 747 address->video_progressive.luma_addr.low_part; in hubp21_program_surface_flip_and_addr() 749 address->video_progressive.luma_addr.high_part; in hubp21_program_surface_flip_and_addr()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_hubp.c | 414 if (address->video_progressive.luma_addr.quad_part == 0 in hubp1_program_surface_flip_and_addr() 452 address->video_progressive.luma_addr.high_part); in hubp1_program_surface_flip_and_addr() 456 address->video_progressive.luma_addr.low_part); in hubp1_program_surface_flip_and_addr()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_hw_types.h | 101 PHYSICAL_ADDRESS_LOC luma_addr; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_hubp.c | 766 if (address->video_progressive.luma_addr.quad_part == 0 in hubp2_program_surface_flip_and_addr() 804 address->video_progressive.luma_addr.high_part); in hubp2_program_surface_flip_and_addr() 808 address->video_progressive.luma_addr.low_part); in hubp2_program_surface_flip_and_addr()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_mem_input_v.c | 146 addr->video_progressive.luma_addr); in program_addr()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn201/ |
A D | dcn201_hwseq.c | 119 gpu_addr_to_uma(hwseq, &addr->video_progressive.luma_addr); in plane_address_in_gpu_space_to_uma()
|