Home
last modified time | relevance | path

Searched refs:target_surface (Results 1 – 11 of 11) sorted by relevance

/hardware/intel/img/psb_video/src/mrst/
Dpsb_MPEG2.c953 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG2_set_operating_mode() local
966 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__MPEG2_set_operating_mode()
969 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__MPEG2_set_operating_mode()
978 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG2_set_reference_pictures() local
1018 … psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__MPEG2_set_reference_pictures()
1021 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__MPEG2_set_reference_pictures()
1057 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG2_set_picture_header() local
1113 … if (GET_SURFACE_INFO_picture_coding_type(target_surface) == PICTURE_CODING_I) { in psb__MPEG2_set_picture_header()
1131 SET_SURFACE_INFO_is_defined(target_surface, TRUE); in psb__MPEG2_set_picture_header()
1132 …SET_SURFACE_INFO_picture_structure(target_surface, ctx->pic_params->picture_coding_extension.bits.… in psb__MPEG2_set_picture_header()
[all …]
Dpsb_H264.c610 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__H264_process_picture_param() local
618 ASSERT(target_surface); in psb__H264_process_picture_param()
622 (NULL == target_surface) || in psb__H264_process_picture_param()
755 SET_SURFACE_INFO_col_pic_params(target_surface, reg_value); in psb__H264_process_picture_param()
758 vaStatus = psb_surface_set_chroma(target_surface, 128); in psb__H264_process_picture_param()
767 psb_context_submit_frame_info(ctx->obj_context, &target_surface->buf, in psb__H264_process_picture_param()
768 target_surface->stride, target_surface->size, in psb__H264_process_picture_param()
1077 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__H264_build_rendec_params() local
1108 psb_buffer_p colocated_target_buffer = psb__H264_lookup_colocated_buffer(ctx, target_surface); in psb__H264_build_rendec_params()
1350 …REGIO_WRITE_FIELD_LITE(reg_value, MSVDX_CMDS, OPERATING_MODE, ROW_STRIDE, target_surface->stride_m… in psb__H264_build_rendec_params()
[all …]
Dpsb_MPEG2MC.c681 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG2MC_send_highlevel_commands() local
696 &target_surface->buf, 0); in psb__MPEG2MC_send_highlevel_commands()
700 &target_surface->buf, target_surface->chroma_offset); in psb__MPEG2MC_send_highlevel_commands()
1361 static psb_surface_p target_surface = NULL; in psb_MPEG2MC_BeginPicture()
1363 if (target_surface != tmp) { /* for field picture, only reset one time */ in psb_MPEG2MC_BeginPicture()
1364 target_surface = tmp; in psb_MPEG2MC_BeginPicture()
1366 int ret = psb_buffer_map(&target_surface->buf, &surface_data); in psb_MPEG2MC_BeginPicture()
1370 memset(surface_data, 0x33, target_surface->size); in psb_MPEG2MC_BeginPicture()
1371 psb_buffer_unmap(&target_surface->buf); in psb_MPEG2MC_BeginPicture()
Dpsb_VC1.c1840 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__VC1_send_rendec_params() local
1973 …REGIO_WRITE_FIELD(cmd, VC1_RENDEC_CMD, VC1SEQUENCE01, ROW_STRIDE, target_surface->stride… in psb__VC1_send_rendec_params()
1986 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__VC1_send_rendec_params()
1989 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__VC1_send_rendec_params()
2089 … psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__VC1_send_rendec_params()
2090 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__VC1_send_rendec_params()
2246 … psb_buffer_p colocated_target_buffer = psb__VC1_lookup_colocated_buffer(ctx, target_surface); in psb__VC1_send_rendec_params()
Dpsb_MPEG4.c977 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG4_set_picture_params() local
979 psb_buffer_p colocated_target_buffer = psb__MPEG4_lookup_colocated_buffer(ctx, target_surface); in psb__MPEG4_set_picture_params()
1040 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__MPEG4_set_picture_params()
1042 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__MPEG4_set_picture_params()
/hardware/intel/img/psb_video/src/
Dpnw_MPEG2.c881 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG2_set_operating_mode() local
891 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__MPEG2_set_operating_mode()
894 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__MPEG2_set_operating_mode()
902 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG2_set_reference_pictures() local
941 … psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__MPEG2_set_reference_pictures()
944 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__MPEG2_set_reference_pictures()
979 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG2_set_picture_header() local
1034 … if (GET_SURFACE_INFO_picture_coding_type(target_surface) == PICTURE_CODING_I) { in psb__MPEG2_set_picture_header()
1052 SET_SURFACE_INFO_is_defined(target_surface, TRUE); in psb__MPEG2_set_picture_header()
1053 …SET_SURFACE_INFO_picture_structure(target_surface, ctx->pic_params->picture_coding_extension.bits.… in psb__MPEG2_set_picture_header()
[all …]
Dpnw_H264.c551 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__H264_process_picture_param() local
559 ASSERT(target_surface); in psb__H264_process_picture_param()
563 (NULL == target_surface)) { in psb__H264_process_picture_param()
771 SET_SURFACE_INFO_col_pic_params(target_surface, reg_value); in psb__H264_process_picture_param()
774 vaStatus = psb_surface_set_chroma(target_surface, 128); in psb__H264_process_picture_param()
1190 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__H264_build_rendec_params() local
1221 …_buffer_p colocated_target_buffer = vld_dec_lookup_colocated_buffer(&ctx->dec_ctx, target_surface); in psb__H264_build_rendec_params()
1334 target_surface->buf.unfence_flag = 0; in psb__H264_build_rendec_params()
1436 …REGIO_WRITE_FIELD_LITE(reg_value, MSVDX_CMDS, OPERATING_MODE, ROW_STRIDE, target_surface->stride_m… in psb__H264_build_rendec_params()
1447 …psb_cmdbuf_rendec_write_address(cmdbuf, target_surface->in_loop_buf, target_surface->in_loop_buf->… in psb__H264_build_rendec_params()
[all …]
Dtng_VP8.c344 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in get_opp_mode_stride() local
345 psb_surface_stride_t eOppModeStride = target_surface->stride_mode; in get_opp_mode_stride()
378 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in get_inloop_opmod() local
379 psb_surface_stride_t eOppModeStride = get_opp_mode_stride(ctx,target_surface->stride); in get_inloop_opmod()
609 psb_surface_p target_surface = obj_surface->psb_surface; in tng__VP8_process_picture_param() local
616 ASSERT(target_surface); in tng__VP8_process_picture_param()
620 (NULL == target_surface)) { in tng__VP8_process_picture_param()
768 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in tng__VP8_set_target_picture() local
771 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in tng__VP8_set_target_picture()
772 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in tng__VP8_set_target_picture()
[all …]
Dtng_jpegdec.c844 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in tng__JPEG_set_reference_pictures() local
848 uint32_t planr_size = target_surface->chroma_offset; in tng__JPEG_set_reference_pictures()
849 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in tng__JPEG_set_reference_pictures()
850 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + pla… in tng__JPEG_set_reference_pictures()
851 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + pla… in tng__JPEG_set_reference_pictures()
Dpnw_MPEG4.c1736 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__MPEG4_set_picture_params() local
1738 …_buffer_p colocated_target_buffer = vld_dec_lookup_colocated_buffer(&ctx->dec_ctx, target_surface); in psb__MPEG4_set_picture_params()
1798 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__MPEG4_set_picture_params()
1800 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__MPEG4_set_picture_params()
2131 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in pnw_MPEG4_EndPicture() local
2147 …D_LITE(ext_stride_a, MSVDX_CMDS, EXTENDED_ROW_STRIDE, EXT_ROW_STRIDE, target_surface->stride / 64); in pnw_MPEG4_EndPicture()
2158 &target_surface->buf, in pnw_MPEG4_EndPicture()
2166target_surface->chroma_offset + target_surface->buf.buffer_ofs, in pnw_MPEG4_EndPicture()
Dpnw_VC1.c1795 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; in psb__VC1_send_rendec_params() local
1923 …REGIO_WRITE_FIELD(cmd, VC1_RENDEC_CMD, VC1SEQUENCE01, ROW_STRIDE, target_surface->stride… in psb__VC1_send_rendec_params()
1938 psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__VC1_send_rendec_params()
1941 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__VC1_send_rendec_params()
2048 … psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs); in psb__VC1_send_rendec_params()
2049 …psb_cmdbuf_rendec_write_address(cmdbuf, &target_surface->buf, target_surface->buf.buffer_ofs + tar… in psb__VC1_send_rendec_params()
2075 target_surface->buf.unfence_flag = 0; in psb__VC1_send_rendec_params()
2232 …_buffer_p colocated_target_buffer = vld_dec_lookup_colocated_buffer(&ctx->dec_ctx, target_surface); in psb__VC1_send_rendec_params()