Lines Matching refs:top
306 struct sti_hqvdp_top top; member
555 cmd->top.config = TOP_CONFIG_PROGRESSIVE; in sti_hqvdp_prepare_layer()
556 cmd->top.mem_format = TOP_MEM_FORMAT_DFLT; in sti_hqvdp_prepare_layer()
568 cmd->top.current_luma = (u32) layer->paddr + layer->offsets[0]; in sti_hqvdp_prepare_layer()
569 cmd->top.current_chroma = (u32) layer->paddr + layer->offsets[1]; in sti_hqvdp_prepare_layer()
572 cmd->top.luma_processed_pitch = cmd->top.luma_src_pitch = in sti_hqvdp_prepare_layer()
574 cmd->top.chroma_processed_pitch = cmd->top.chroma_src_pitch = in sti_hqvdp_prepare_layer()
591 cmd->top.input_viewport_size = cmd->top.input_frame_size = in sti_hqvdp_prepare_layer()
594 cmd->top.input_viewport_ori = layer->src_y << 16 | layer->src_x; in sti_hqvdp_prepare_layer()
599 cmd->top.config = TOP_CONFIG_INTER_TOP; in sti_hqvdp_prepare_layer()
602 cmd->top.input_frame_size = (layer->src_h / 2) << 16 | in sti_hqvdp_prepare_layer()
604 cmd->top.luma_processed_pitch *= 2; in sti_hqvdp_prepare_layer()
605 cmd->top.luma_src_pitch *= 2; in sti_hqvdp_prepare_layer()
606 cmd->top.chroma_processed_pitch *= 2; in sti_hqvdp_prepare_layer()
607 cmd->top.chroma_src_pitch *= 2; in sti_hqvdp_prepare_layer()
741 btm_cmd->top.config = TOP_CONFIG_INTER_BTM; in sti_hqvdp_vtg_cb()
742 btm_cmd->top.current_luma += in sti_hqvdp_vtg_cb()
743 btm_cmd->top.luma_src_pitch / 2; in sti_hqvdp_vtg_cb()
744 btm_cmd->top.current_chroma += in sti_hqvdp_vtg_cb()
745 btm_cmd->top.chroma_src_pitch / 2; in sti_hqvdp_vtg_cb()