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

/hardware/intel/img/psb_video/src/
H A Dpnw_rotate.c570 psb_surface_p rotate_surface; local
582 rotate_surface = obj_surface->out_loop_surface;
592 if (rotate_surface) {
593 CHECK_SURFACE_REALLOC(rotate_surface, msvdx_rotate, need_realloc);
599 memset(rotate_surface, 0, sizeof(*rotate_surface));
602 rotate_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s));
603 CHECK_ALLOCATION(rotate_surface);
607 SET_SURFACE_INFO_tiling(rotate_surface, GET_SURFACE_INFO_tiling(obj_surface->psb_surface));
610 SET_SURFACE_INFO_rotate(rotate_surface, msvdx_rotat
737 psb_surface_p rotate_surface = obj_surface->out_loop_surface; local
[all...]
H A Dpnw_MPEG2.c1213 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; local
1255 &rotate_surface->buf, rotate_surface->buf.buffer_ofs);
1258 &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset);
1261 RELOC(*ctx->dec_ctx.p_range_mapping_base0, rotate_surface->buf.buffer_ofs, &rotate_surface->buf);
1262 RELOC(*ctx->dec_ctx.p_range_mapping_base1, rotate_surface->buf.buffer_ofs + rotate_surface
1269 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; local
[all...]
H A Dtng_yuv_processor.c206 psb_surface_p rotate_surface = dec_ctx->obj_context->current_render_target->out_loop_surface; local
218 SET_SURFACE_INFO_rotate(rotate_surface, dec_ctx->obj_context->msvdx_rotate);
225 unsigned long msvdx_tile = psb__tile_stride_log2_256(rotate_surface->stride);
237 psb_surface_p rotate_surface = dec_ctx->obj_context->current_render_target->psb_surface; local
253 SET_SURFACE_INFO_rotate(rotate_surface, dec_ctx->obj_context->msvdx_rotate);
266 unsigned long msvdx_tile = psb__tile_stride_log2_256(rotate_surface->stride);
H A Dpnw_H264.c1808 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; local
1815 ASSERT(rotate_surface);
1817 REGIO_WRITE_FIELD_LITE(rotation_flags, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode);
1819 REGIO_WRITE_FIELD_LITE(rotation_flags, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface));
1828 rotate_surface ? (&rotate_surface->buf) : NULL,
1836 rotate_surface ? (rotate_surface->chroma_offset + rotate_surface->buf.buffer_ofs) : 0,
1848 if (!rotate_surface) {
[all...]
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_xvva.c602 if (output->rotate_surface) {
607 psb_surface_destroy(output->rotate_surface);
608 free(output->rotate_surface);
610 output->rotate_surface = NULL;
613 if (output->rotate_surface == NULL) {
630 output->rotate_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s));
631 if (NULL == output->rotate_surface) {
644 fourcc, flags, output->rotate_surface);
653 obj_rotate_surface->psb_surface = output->rotate_surface;
786 output->rotate_surface
[all...]
H A Dpsb_x11.h102 psb_surface_p rotate_surface; member in struct:_psb_x11_output_s
/hardware/intel/img/psb_video/src/android/
H A 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);
/hardware/intel/img/psb_video/src/mrst/
H A Dpsb_MPEG2.c922 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; local
925 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate)
932 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs);
933 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset);
941 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode);
943 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface));
1471 psb_surface_p rotate_surface local
[all...]
H A Dpsb_MPEG4.c945 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; local
948 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate)
955 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs);
956 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset);
964 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode);
966 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface));
H A Dpsb_H264.c1045 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; local
1048 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate)
1055 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs);
1056 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset);
1064 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode);
1066 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface));
H A Dpsb_VC1.c1807 psb_surface_p rotate_surface = ctx->obj_context->current_render_target->out_loop_surface; local
1810 if (GET_SURFACE_INFO_rotate(rotate_surface) != obj_context->msvdx_rotate)
1817 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs);
1818 psb_cmdbuf_rendec_write_address(cmdbuf, &rotate_surface->buf, rotate_surface->buf.buffer_ofs + rotate_surface->chroma_offset);
1826 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_ROW_STRIDE, rotate_surface->stride_mode);
1828 REGIO_WRITE_FIELD_LITE(cmd, MSVDX_CMDS, ALTERNATIVE_OUTPUT_PICTURE_ROTATION , ROTATION_MODE, GET_SURFACE_INFO_rotate(rotate_surface));

Completed in 363 milliseconds