/hardware/intel/img/psb_video/src/ |
D | pnw_rotate.c | 570 psb_surface_p rotate_surface; in psb_CreateRotateSurface() local 582 rotate_surface = obj_surface->out_loop_surface; in psb_CreateRotateSurface() 592 if (rotate_surface) { in psb_CreateRotateSurface() 593 CHECK_SURFACE_REALLOC(rotate_surface, msvdx_rotate, need_realloc); in psb_CreateRotateSurface() 599 memset(rotate_surface, 0, sizeof(*rotate_surface)); in psb_CreateRotateSurface() 602 rotate_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s)); in psb_CreateRotateSurface() 603 CHECK_ALLOCATION(rotate_surface); in psb_CreateRotateSurface() 607 SET_SURFACE_INFO_tiling(rotate_surface, GET_SURFACE_INFO_tiling(obj_surface->psb_surface)); in psb_CreateRotateSurface() 610 SET_SURFACE_INFO_rotate(rotate_surface, msvdx_rotate); in psb_CreateRotateSurface() 629 0, 0, 0, rotate_surface); in psb_CreateRotateSurface() [all …]
|
D | pnw_MPEG2.c | 1213 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__MEPG2_send_highlevel_cmd() local 1255 &rotate_surface->buf, rotate_surface->buf.buffer_ofs); in psb__MEPG2_send_highlevel_cmd() 1258 … &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset); in psb__MEPG2_send_highlevel_cmd() 1261 … RELOC(*ctx->dec_ctx.p_range_mapping_base0, rotate_surface->buf.buffer_ofs, &rotate_surface->buf); in psb__MEPG2_send_highlevel_cmd() 1262 …*ctx->dec_ctx.p_range_mapping_base1, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offse… in psb__MEPG2_send_highlevel_cmd() 1269 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in psb__MEPG2_send_blit_cmd() local 1274 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in psb__MEPG2_send_blit_cmd() 1276 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in psb__MEPG2_send_blit_cmd()
|
D | tng_yuv_processor.c | 206 … psb_surface_p rotate_surface = dec_ctx->obj_context->current_render_target->out_loop_surface; in tng__yuv_processor_execute() local 218 SET_SURFACE_INFO_rotate(rotate_surface, dec_ctx->obj_context->msvdx_rotate); in tng__yuv_processor_execute() 225 unsigned long msvdx_tile = psb__tile_stride_log2_256(rotate_surface->stride); in tng__yuv_processor_execute() 237 psb_surface_p rotate_surface = dec_ctx->obj_context->current_render_target->psb_surface; in tng__yuv_processor_execute() local 253 SET_SURFACE_INFO_rotate(rotate_surface, dec_ctx->obj_context->msvdx_rotate); in tng__yuv_processor_execute() 266 unsigned long msvdx_tile = psb__tile_stride_log2_256(rotate_surface->stride); in tng__yuv_processor_execute()
|
D | pnw_H264.c | 1808 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; in pnw_H264_EndPicture() local 1815 ASSERT(rotate_surface); in pnw_H264_EndPicture() 1817 …SVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode); in pnw_H264_EndPicture() 1819 …MDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface)); in pnw_H264_EndPicture() 1828 rotate_surface ? (&rotate_surface->buf) : NULL, in pnw_H264_EndPicture() 1836 … rotate_surface ? (rotate_surface->chroma_offset + rotate_surface->buf.buffer_ofs) : 0, in pnw_H264_EndPicture() 1848 if (!rotate_surface) { in pnw_H264_EndPicture() 1852 buffer_dst = &rotate_surface->buf; in pnw_H264_EndPicture() 1853 chroma_offset_dst = rotate_surface->chroma_offset; in pnw_H264_EndPicture()
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_xvva.c | 602 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 …]
|
D | psb_x11.h | 102 psb_surface_p rotate_surface; member
|
/hardware/intel/img/psb_video/src/mrst/ |
D | psb_MPEG2.c | 922 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()
|
D | psb_MPEG4.c | 945 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()
|
D | psb_H264.c | 1045 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()
|
D | psb_VC1.c | 1807 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/ |
D | psb_output_android.c | 294 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);
|