/drivers/media/platform/verisilicon/ |
D | hantro_g2_hevc_dec.c | 383 dma_addr_t luma_addr, chroma_addr, mv_addr = 0; in set_ref() local 456 luma_addr = hantro_hevc_get_ref_buf(ctx, dpb[i].pic_order_cnt_val); in set_ref() 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() 477 if (hantro_hevc_add_ref_buf(ctx, decode_params->pic_order_cnt_val, luma_addr)) in set_ref() 480 chroma_addr = luma_addr + cr_offset; in set_ref() [all …]
|
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()
|
D | rockchip_vpu981_hw_av1_dec.c | 688 dma_addr_t luma_addr, chroma_addr, mv_addr = 0; in rockchip_vpu981_av1_dec_set_ref() local 746 luma_addr = hantro_get_dec_buf_addr(ctx, &dst->base.vb.vb2_buf); in rockchip_vpu981_av1_dec_set_ref() 747 chroma_addr = luma_addr + cr_offset; in rockchip_vpu981_av1_dec_set_ref() 748 mv_addr = luma_addr + mv_offset; in rockchip_vpu981_av1_dec_set_ref() 750 hantro_write_addr(vpu, AV1_REFERENCE_Y(ref), luma_addr); in rockchip_vpu981_av1_dec_set_ref() 806 dma_addr_t luma_addr, mv_addr = 0; in rockchip_vpu981_av1_dec_set_segmentation() local 811 luma_addr = hantro_get_dec_buf_addr(ctx, &seg->base.vb.vb2_buf); in rockchip_vpu981_av1_dec_set_segmentation() 812 mv_addr = luma_addr + mv_offset; in rockchip_vpu981_av1_dec_set_segmentation() 2082 dma_addr_t luma_addr, chroma_addr, mv_addr = 0; in rockchip_vpu981_av1_dec_set_output_buffer() local 2088 luma_addr = hantro_get_dec_buf_addr(ctx, &dst->base.vb.vb2_buf); in rockchip_vpu981_av1_dec_set_output_buffer() [all …]
|
/drivers/gpu/drm/exynos/ |
D | exynos_mixer.c | 521 dma_addr_t luma_addr[2], chroma_addr[2]; in vp_video_buffer() local 528 luma_addr[0] = exynos_drm_fb_dma_addr(fb, 0); in vp_video_buffer() 533 luma_addr[1] = luma_addr[0] + 0x40; in vp_video_buffer() 536 luma_addr[1] = luma_addr[0] + fb->pitches[0]; in vp_video_buffer() 540 luma_addr[1] = 0; in vp_video_buffer() 586 vp_reg_write(ctx, VP_TOP_Y_PTR, luma_addr[0]); in vp_video_buffer() 587 vp_reg_write(ctx, VP_BOT_Y_PTR, luma_addr[1]); in vp_video_buffer()
|
/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_hubp.c | 134 if (address->video_progressive.luma_addr.quad_part == 0 in hubp3_program_surface_flip_and_addr() 172 address->video_progressive.luma_addr.high_part); in hubp3_program_surface_flip_and_addr() 176 address->video_progressive.luma_addr.low_part); in hubp3_program_surface_flip_and_addr()
|
/drivers/staging/media/sunxi/cedrus/ |
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()
|
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()
|
/drivers/media/platform/amphion/ |
D | vpu_defs.h | 168 u32 luma_addr; member
|
D | vpu_malone.c | 762 pkt->data[1] = fs->luma_addr; in vpu_malone_pack_fs_alloc() 770 if (fs->luma_addr == fs->chroma_addr) in vpu_malone_pack_fs_alloc() 771 fs->chroma_addr = fs->luma_addr + fs->luma_size; in vpu_malone_pack_fs_alloc() 772 pkt->data[2] = fs->luma_addr + fs->luma_size / 2; in vpu_malone_pack_fs_alloc()
|
D | vdec.c | 1006 info.luma_addr = fs->buffer[fs->index].phys; in vdec_response_fs() 1069 info.luma_addr = vpu_get_vb_phy_addr(&vbuf->vb2_buf, 0); in vdec_response_frame() 1074 info.chroma_addr = info.luma_addr + info.luma_size; in vdec_response_frame() 1082 vpu_buf->luma = info.luma_addr; in vdec_response_frame()
|
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_plane.c | 789 uint64_t luma_addr = afb->address + fb->offsets[0]; in amdgpu_dm_plane_fill_plane_buffer_attributes() local 809 address->video_progressive.luma_addr.low_part = in amdgpu_dm_plane_fill_plane_buffer_attributes() 810 lower_32_bits(luma_addr); in amdgpu_dm_plane_fill_plane_buffer_attributes() 811 address->video_progressive.luma_addr.high_part = in amdgpu_dm_plane_fill_plane_buffer_attributes() 812 upper_32_bits(luma_addr); in amdgpu_dm_plane_fill_plane_buffer_attributes()
|
/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hubp.c | 725 if (address->video_progressive.luma_addr.quad_part == 0 in hubp21_program_surface_flip_and_addr() 742 address->video_progressive.luma_addr.low_part; in hubp21_program_surface_flip_and_addr() 744 address->video_progressive.luma_addr.high_part; in hubp21_program_surface_flip_and_addr()
|
/drivers/gpu/drm/amd/display/dc/dcn10/ |
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()
|
/drivers/gpu/drm/amd/display/dc/ |
D | dc_hw_types.h | 101 PHYSICAL_ADDRESS_LOC luma_addr; member
|
/drivers/gpu/drm/amd/display/dc/dcn20/ |
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()
|
/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hwseq.c | 119 gpu_addr_to_uma(hwseq, &addr->video_progressive.luma_addr); in plane_address_in_gpu_space_to_uma()
|
/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_mem_input_v.c | 146 addr->video_progressive.luma_addr); in program_addr()
|