Home
last modified time | relevance | path

Searched refs:luma_addr (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/media/platform/verisilicon/
Dhantro_g2_hevc_dec.c383 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 …]
Dhantro_g2_vp9_dec.c150 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.1.9/drivers/gpu/drm/exynos/
Dexynos_mixer.c522 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.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hubp.c138 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.1.9/drivers/staging/media/sunxi/cedrus/
Dcedrus_vp8.c660 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()
Dcedrus_h265.c35 __le32 luma_addr; member
127 .luma_addr = cpu_to_le32(VE_DEC_H265_SRAM_DATA_ADDR_BASE(dst_luma_addr)), in cedrus_h265_frame_info_write_single()
/linux-6.1.9/drivers/media/platform/amphion/
Dvpu_defs.h166 u32 luma_addr; member
Dvpu_malone.c740 pkt->data[1] = fs->luma_addr; in vpu_malone_pack_fs_alloc()
748 if (fs->luma_addr == fs->chroma_addr) in vpu_malone_pack_fs_alloc()
749 fs->chroma_addr = fs->luma_addr + fs->luma_size; in vpu_malone_pack_fs_alloc()
750 pkt->data[2] = fs->luma_addr + fs->luma_size / 2; in vpu_malone_pack_fs_alloc()
Dvdec.c912 info.luma_addr = fs->buffer[fs->index].phys; in vdec_response_fs()
972 info.luma_addr = vpu_get_vb_phy_addr(&vbuf->vb2_buf, 0); in vdec_response_frame()
982 vpu_buf->luma = info.luma_addr; in vdec_response_frame()
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_plane.c789 uint64_t luma_addr = afb->address + fb->offsets[0]; in fill_plane_buffer_attributes() local
809 address->video_progressive.luma_addr.low_part = in fill_plane_buffer_attributes()
810 lower_32_bits(luma_addr); in fill_plane_buffer_attributes()
811 address->video_progressive.luma_addr.high_part = in fill_plane_buffer_attributes()
812 upper_32_bits(luma_addr); in fill_plane_buffer_attributes()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hubp.c730 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.1.9/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hubp.c414 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.1.9/drivers/gpu/drm/amd/display/dc/
Ddc_hw_types.h101 PHYSICAL_ADDRESS_LOC luma_addr; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hubp.c766 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.1.9/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_mem_input_v.c146 addr->video_progressive.luma_addr); in program_addr()
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_hwseq.c119 gpu_addr_to_uma(hwseq, &addr->video_progressive.luma_addr); in plane_address_in_gpu_space_to_uma()