Home
last modified time | relevance | path

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

/hardware/intel/img/psb_video/src/
Dpnw_rotate.c584 psb_surface_p rotate_surface = NULL; in psb_CreateRotateSurface() local
597 rotate_surface = obj_surface->out_loop_surface; in psb_CreateRotateSurface()
607 if (rotate_surface) { in psb_CreateRotateSurface()
608 CHECK_SURFACE_REALLOC(rotate_surface, msvdx_rotate, need_realloc); in psb_CreateRotateSurface()
614 memset(rotate_surface, 0, sizeof(*rotate_surface)); in psb_CreateRotateSurface()
617 rotate_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s)); in psb_CreateRotateSurface()
618 CHECK_ALLOCATION(rotate_surface); in psb_CreateRotateSurface()
623 SET_SURFACE_INFO_tiling(rotate_surface, GET_SURFACE_INFO_tiling(obj_surface->psb_surface)); in psb_CreateRotateSurface()
626 SET_SURFACE_INFO_rotate(rotate_surface, msvdx_rotate); in psb_CreateRotateSurface()
645 0, 0, 0, rotate_surface); in psb_CreateRotateSurface()
[all …]
Dpnw_MPEG2.c1289 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__MEPG2_send_highlevel_cmd() local
1331 &rotate_surface->buf, rotate_surface->buf.buffer_ofs); in psb__MEPG2_send_highlevel_cmd()
1334 … &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset); in psb__MEPG2_send_highlevel_cmd()
1337 … RELOC(*ctx->dec_ctx.p_range_mapping_base0, rotate_surface->buf.buffer_ofs, &rotate_surface->buf); in psb__MEPG2_send_highlevel_cmd()
1338 …*ctx->dec_ctx.p_range_mapping_base1, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offse… in psb__MEPG2_send_highlevel_cmd()
1345 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__MEPG2_send_blit_cmd() local
1350 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in psb__MEPG2_send_blit_cmd()
1352 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in psb__MEPG2_send_blit_cmd()
Dtng_yuv_processor.c213 … psb_surface_p rotate_surface = dec_ctx->obj_context->current_render_target->out_loop_surface; in tng__yuv_processor_execute() local
225 SET_SURFACE_INFO_rotate(rotate_surface, dec_ctx->obj_context->msvdx_rotate); in tng__yuv_processor_execute()
232 unsigned long msvdx_tile = psb__tile_stride_log2_256(rotate_surface->stride); in tng__yuv_processor_execute()
244 psb_surface_p rotate_surface = dec_ctx->obj_context->current_render_target->psb_surface; in tng__yuv_processor_execute() local
260 SET_SURFACE_INFO_rotate(rotate_surface, dec_ctx->obj_context->msvdx_rotate); in tng__yuv_processor_execute()
273 unsigned long msvdx_tile = psb__tile_stride_log2_256(rotate_surface->stride); in tng__yuv_processor_execute()
Dpnw_H264.c1779 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in pnw_H264_EndPicture() local
1786 ASSERT(rotate_surface); in pnw_H264_EndPicture()
1788 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in pnw_H264_EndPicture()
1790 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in pnw_H264_EndPicture()
1799 rotate_surface ? (&rotate_surface->buf) : NULL, in pnw_H264_EndPicture()
1807rotate_surface ? (rotate_surface->chroma_offset + rotate_surface->buf.buffer_ofs) : 0, in pnw_H264_EndPicture()
1819 if (!rotate_surface) { in pnw_H264_EndPicture()
1823 buffer_dst = &rotate_surface->buf; in pnw_H264_EndPicture()
1824 chroma_offset_dst = rotate_surface->chroma_offset; in pnw_H264_EndPicture()
/hardware/intel/img/psb_video/src/x11/
Dpsb_xvva.c602 if (output->rotate_surface) { in psb_check_rotatesurface()
607 psb_surface_destroy(output->rotate_surface); in psb_check_rotatesurface()
608 free(output->rotate_surface); in psb_check_rotatesurface()
610 output->rotate_surface = NULL; in psb_check_rotatesurface()
613 if (output->rotate_surface == NULL) { in psb_check_rotatesurface()
630 output->rotate_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s)); in psb_check_rotatesurface()
631 if (NULL == output->rotate_surface) { in psb_check_rotatesurface()
644 fourcc, flags, output->rotate_surface); in psb_check_rotatesurface()
653 obj_rotate_surface->psb_surface = output->rotate_surface; in psb_check_rotatesurface()
786 output->rotate_surface->stride, output->rotate_surface->size, in psb_putsurface_xvideo()
[all …]
Dpsb_x11.h102 psb_surface_p rotate_surface; member
/hardware/intel/img/psb_video/src/mrst/
Dpsb_MPEG2.c922 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__MPEG2_setup_alternative_frame() local
925 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate) in psb__MPEG2_setup_alternative_frame()
932 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs); in psb__MPEG2_setup_alternative_frame()
933 …psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rot… in psb__MPEG2_setup_alternative_frame()
941 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in psb__MPEG2_setup_alternative_frame()
943 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in psb__MPEG2_setup_alternative_frame()
1471 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__MEPG2_send_blit_cmd() local
1476 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in psb__MEPG2_send_blit_cmd()
1478 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in psb__MEPG2_send_blit_cmd()
Dpsb_H264.c1045 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__H264_setup_alternative_frame() local
1048 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate) in psb__H264_setup_alternative_frame()
1055 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs); in psb__H264_setup_alternative_frame()
1056 …psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rot… in psb__H264_setup_alternative_frame()
1064 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in psb__H264_setup_alternative_frame()
1066 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in psb__H264_setup_alternative_frame()
Dpsb_MPEG4.c945 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__MPEG4_setup_alternative_frame() local
948 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate) in psb__MPEG4_setup_alternative_frame()
955 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs); in psb__MPEG4_setup_alternative_frame()
956 …psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rot… in psb__MPEG4_setup_alternative_frame()
964 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in psb__MPEG4_setup_alternative_frame()
966 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in psb__MPEG4_setup_alternative_frame()
Dpsb_VC1.c1807 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__VC1_setup_alternative_frame() local
1810 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate) in psb__VC1_setup_alternative_frame()
1817 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs); in psb__VC1_setup_alternative_frame()
1818 …psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rot… in psb__VC1_setup_alternative_frame()
1826 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in psb__VC1_setup_alternative_frame()
1828 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in psb__VC1_setup_alternative_frame()
/hardware/intel/img/psb_video/src/android/
Dpsb_output_android.c294 psb_surface_p rotate_surface; /* rotate surface */
434 rotate_surface = obj_surface->out_loop_surface;
435 if (rotate_surface != NULL)
436 rotate_srf_rotate = GET_SURFACE_INFO_rotate(rotate_surface);