/hardware/intel/img/psb_video/src/ |
H A D | vsp_VPP.c | 31 #include "psb_surface.h" 544 tiled = GET_SURFACE_INFO_tiling(input_surface->psb_surface); 548 switch (input_surface->psb_surface->extra_info[8]) { 563 if (width > input_surface->psb_surface->stride) 564 width = input_surface->psb_surface->stride; 573 vsp_cmdbuf_reloc_pic_param(&(cell_proc_picture_param->input_picture[0].base), ctx->pic_param_offset, &(input_surface->psb_surface->buf), 578 cell_proc_picture_param->input_picture[0].stride = input_surface->psb_surface->stride; 595 rotation_angle = GET_SURFACE_INFO_rotate(cur_output_surf->psb_surface); 642 psb_buffer_map(&(input_surface->psb_surface->buf), &src_addr); 643 psb_buffer_map(&(cur_output_surf->psb_surface [all...] |
H A D | psb_drv_debug.c | 40 #include "psb_surface.h" 335 psb_surface_p psb_surface, 345 psb_buffer_map(&psb_surface->buf, (unsigned char**)&mapped_buffer); 350 mapped_buffer1 = mapped_buffer + psb_surface->stride * srcy; 351 mapped_buffer2 = mapped_buffer + psb_surface->stride * (srch + srcy / 2); 357 mapped_buffer1 += psb_surface->stride; 366 mapped_buffer2 += psb_surface->stride - srcw; 378 mapped_buffer2 += psb_surface->stride-srcw; 381 psb_buffer_unmap(&psb_surface->buf); 388 psb_surface_p psb_surface, 334 psb__dump_I420_buffers( psb_surface_p psb_surface, short __maybe_unused srcx, short srcy, unsigned short srcw, unsigned short srch) argument 387 psb__dump_NV12_buffers( psb_surface_p psb_surface, short __maybe_unused srcx, short __maybe_unused srcy, unsigned short srcw, unsigned short srch) argument [all...] |
H A D | pnw_hostjpeg.c | 1242 srf_buf_offset = pTFrame->psb_surface->buf.buffer_ofs; 1243 RELOC_PIC_PARAMS_PNW(&pContext->pMTXSetup->ComponentPlane[0].ui32PhysAddr, srf_buf_offset , &pTFrame->psb_surface->buf); 1248 srf_buf_offset + pTFrame->psb_surface->stride * pTFrame->height, 1249 &pTFrame->psb_surface->buf); 1251 srf_buf_offset + pTFrame->psb_surface->stride * pTFrame->height 1252 + (pTFrame->psb_surface->stride / 2) *(pTFrame->height / 2), 1253 &pTFrame->psb_surface->buf); 1259 srf_buf_offset + pTFrame->psb_surface->stride * pTFrame->height, 1260 &pTFrame->psb_surface->buf); 1264 srf_buf_offset + pTFrame->psb_surface [all...] |
H A D | psb_overlay.c | 56 //#define GET_SURFACE_INFO_rotate(psb_surface) ((int) (psb_surface)->extra_info[5]) 859 psb_surface_p psb_surface = NULL; local 872 psb_surface = obj_surface->out_loop_surface; 895 psb_surface = obj_surface->out_loop_surface; 922 *psb_surface_new = psb_surface; 939 psb_surface_p psb_surface = NULL; local 948 psb_surface = obj_surface->out_loop_surface; 949 psb_buffer_p buf = &psb_surface->buf; 953 if (!psb_surface) 1040 psb_surface_p psb_surface = NULL; local [all...] |
H A D | pnw_H264.c | 56 #define GET_SURFACE_INFO_is_used(psb_surface) ((int) (psb_surface->extra_info[0])) 57 #define SET_SURFACE_INFO_is_used(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 58 #define GET_SURFACE_INFO_col_pic_params(psb_surface) (psb_surface->extra_info[1]) 59 #define SET_SURFACE_INFO_col_pic_params(psb_surface, val) psb_surface->extra_info[1] = val; 60 #define GET_SURFACE_INFO_dpb_idx(psb_surface) (psb_surface [all...] |
H A D | tng_jpegdec.c | 49 #define GET_SURFACE_INFO_is_defined(psb_surface) ((int) (psb_surface->extra_info[0])) 50 #define SET_SURFACE_INFO_is_defined(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 51 #define GET_SURFACE_INFO_picture_structure(psb_surface) (psb_surface->extra_info[1]) 52 #define SET_SURFACE_INFO_picture_structure(psb_surface, val) psb_surface->extra_info[1] = val; 53 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((int) (psb_surface [all...] |
H A D | pnw_VC1.c | 53 #define GET_SURFACE_INFO_is_defined(psb_surface) ((int) (psb_surface->extra_info[0])) 54 #define SET_SURFACE_INFO_is_defined(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 55 #define GET_SURFACE_INFO_picture_structure(psb_surface) (psb_surface->extra_info[1]) 56 #define SET_SURFACE_INFO_picture_structure(psb_surface, val) psb_surface->extra_info[1] = val; 57 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((int) (psb_surface [all...] |
H A D | tng_vld_dec.c | 41 #define GET_SURFACE_INFO_colocated_index(psb_surface) ((int) (psb_surface->extra_info[3])) 42 #define SET_SURFACE_INFO_colocated_index(psb_surface, val) psb_surface->extra_info[3] = (uint32_t) val; 80 psb_surface_p src_surface = obj_context->current_render_target->psb_surface; 350 psb_surface_p surface = obj_surface->psb_surface;
|
H A D | pnw_cmdbuf.h | 35 #include "psb_surface.h" 215 int pnw_surface_get_frameskip(psb_driver_data_p driver_data, psb_surface_p psb_surface, int *frame_skip);
|
H A D | vsp_vp8.c | 32 #include "psb_surface.h" 337 if (ref_surf->psb_surface->size < ref_size) { 339 ref_surf->psb_surface->size = ref_size; 340 psb_buffer_destroy(&ref_surf->psb_surface->buf); 341 vaStatus = psb_buffer_create(driver_data, ref_surf->psb_surface->size, psb_bt_surface, &ref_surf->psb_surface->buf); 348 &(ref_surf->psb_surface->buf), 425 pic->input_frame.stride = ctx->obj_context->current_render_target->psb_surface->stride; 469 0, &(cur_surf->psb_surface->buf), 473 &(cur_surf->psb_surface [all...] |
H A D | tng_jpegES.c | 36 #include "psb_surface.h" 543 if (pTFrame->psb_surface->stride % 64) { 545 pTFrame->psb_surface->stride); 548 pJPEGContext->pMTXSetup->ComponentPlane[0].ui32Stride = pTFrame->psb_surface->stride; 549 pJPEGContext->pMTXSetup->ComponentPlane[1].ui32Stride = pTFrame->psb_surface->stride; 550 pJPEGContext->pMTXSetup->ComponentPlane[2].ui32Stride = pTFrame->psb_surface->stride; 561 srf_buf_offset = pTFrame->psb_surface->buf.buffer_ofs; 563 &pTFrame->psb_surface->buf); 567 srf_buf_offset + pTFrame->psb_surface->stride * pTFrame->height, 568 &pTFrame->psb_surface [all...] |
H A D | tng_cmdbuf.h | 36 #include "psb_surface.h" 255 int tng_surface_get_frameskip(psb_driver_data_p driver_data, psb_surface_p psb_surface, int *frame_skip);
|
H A D | psb_texture.c | 470 psb_surface_p psb_surface; local 475 psb_surface = obj_surface->psb_surface; 488 tmp_buffer = wsbmBOMap(psb_surface->buf.drm_buf, WSBM_ACCESS_READ | WSBM_ACCESS_WRITE); 494 for (j = 0; j < psb_surface->size; j = j + 4096) { 503 psb_surface->size,
|
H A D | Android.mk | 71 psb_surface.c \
|
H A D | pnw_jpeg.c | 37 #include "psb_surface.h" 160 if ((surface_p->psb_surface)->extra_info[4] == VA_FOURCC_NV12) { 164 else if ((surface_p->psb_surface)->extra_info[4] == VA_FOURCC_IYUV) {
|
H A D | tng_cmdbuf.c | 727 SET_SURFACE_INFO_skipped_flag(ps_buf->previous_src_surface->psb_surface, 1); 729 ps_buf->previous_src_surface->psb_surface);
|
H A D | tng_yuv_processor.c | 123 /* psb_surface_p target_surface = dec_ctx->obj_context->current_render_target->psb_surface; */ 189 /* psb_surface_p target_surface = dec_ctx->obj_context->current_render_target->psb_surface; */ 239 psb_surface_p rotate_surface = dec_ctx->obj_context->current_render_target->psb_surface; 253 ctx->src_surface = obj_surface->psb_surface;
|
H A D | psb_drv_video.h | 551 struct psb_surface_s *psb_surface; member in struct:object_surface_s
|
H A D | pnw_H264ES.c | 40 #include "psb_surface.h" 1363 SET_SURFACE_INFO_skipped_flag(ctx->previous_src_surface->psb_surface, 1); 1365 ctx->previous_src_surface->psb_surface);
|
H A D | tng_hostcode.c | 852 CLEAR_SURFACE_INFO_skipped_flag(ps_buf->src_surface->psb_surface); 869 tng_cmdbuf_buffer_ref(cmdbuf, &(ctx->obj_context->current_render_target->psb_surface->buf)); 2656 ctx->ui16BufferStride = ps_buf->src_surface->psb_surface->stride; 3068 &(ps_buf->ref_surface[i]->psb_surface->buf), 0, 0);
|
/hardware/intel/img/psb_video/src/mrst/ |
H A D | lnc_cmdbuf.h | 36 #include "psb_surface.h" 183 int lnc_surface_get_frameskip(psb_driver_data_p driver_data, psb_surface_p psb_surface, int *frame_skip);
|
H A D | psb_VC1.c | 33 #include "psb_surface.h" 52 #define GET_SURFACE_INFO_is_defined(psb_surface) ((int) (psb_surface->extra_info[0])) 53 #define SET_SURFACE_INFO_is_defined(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 54 #define GET_SURFACE_INFO_picture_structure(psb_surface) (psb_surface->extra_info[1]) 55 #define SET_SURFACE_INFO_picture_structure(psb_surface, val) psb_surface->extra_info[1] = val; 56 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((in [all...] |
H A D | psb_MPEG2MC.c | 32 #include "psb_surface.h" 681 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; 726 psb_surface_p forward_surface = ctx->forward_ref_surface->psb_surface; 727 psb_surface_p backward_surface = ctx->backward_ref_surface->psb_surface; 1220 ROW_STRIDE, (ctx->obj_context->current_render_target->psb_surface->stride_mode)); 1362 psb_surface_p tmp = ctx->obj_context->current_render_target->psb_surface;
|
/hardware/intel/img/psb_video/src/x11/ |
H A D | psb_xvva.c | 32 #include "psb_surface.h" 392 if (obj_surface && obj_surface->psb_surface) 393 buf_pl = obj_surface->psb_surface->buf.pl_flags; 646 free(obj_rotate_surface->psb_surface); 653 obj_rotate_surface->psb_surface = output->rotate_surface; 683 psb_surface_p psb_surface; local 688 psb_surface = obj_surface->psb_surface; 756 psb_surface->stride, psb_surface [all...] |