/hardware/intel/img/psb_video/src/android/ |
psb_output_android.c | 33 #include "psb_surface.h" 59 #define GET_SURFACE_INFO_rotate(psb_surface) ((int) psb_surface->extra_info[5]) 60 #define GET_SURFACE_INFO_protect(psb_surface) ((int) psb_surface->extra_info[6]) 167 psb_surface_p psb_surface; local 172 psb_surface = obj_surface->psb_surface; 174 // psb_surface->buf.drm_buf; 175 // psb_surface->buf.pl_flags [all...] |
psb_surface_gralloc.c | 30 #include "psb_surface.h" 62 buffer_handle_t handle = obj_surface->psb_surface->buf.handle; 147 psb_surface_p psb_surface; local 168 psb_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s)); 169 if (NULL == psb_surface) { 206 external_buffers, psb_surface, vaddr, buf_fd, 209 psb_surface->buf.handle = handle; 216 free(psb_surface); 223 buffer_stride = psb_surface->stride; 225 psb_surface->extra_info[7] = external_buffers->tiling 307 psb_surface_p psb_surface; local [all...] |
/hardware/intel/img/psb_video/src/ |
psb_surface_attrib.c | 38 #include "psb_surface.h" 57 psb_surface_p psb_surface, /* out */ 70 psb_surface->stride = graphic_buffers->luma_stride; 74 psb_surface->stride_mode = STRIDE_512; 76 psb_surface->stride_mode = STRIDE_1024; 78 psb_surface->stride_mode = STRIDE_1280; 80 psb_surface->stride_mode = STRIDE_2048; 82 psb_surface->stride_mode = STRIDE_4096; 84 psb_surface->stride_mode = STRIDE_NA; 86 if (psb_surface->stride != graphic_buffers->luma_stride) 332 psb_surface_p psb_surface; local 474 psb_surface_p psb_surface; local 560 psb_surface_p psb_surface; local 652 psb_surface_p psb_surface; local [all...] |
pnw_rotate.c | 66 #define CHECK_SURFACE_REALLOC(psb_surface, msvdx_rotate, need) \ 68 int old_rotate = GET_SURFACE_INFO_rotate(psb_surface); \ 427 SET_SURFACE_INFO_rotate(obj_surface->psb_surface, 0); 446 psb_surface_p psb_surface = obj_surface->out_loop_surface; 450 if (psb_surface) { 453 free(psb_surface); 485 psb_surface_p psb_surface; local 498 psb_surface = obj_surface->scaling_surface; 500 if (psb_surface) { 502 psb_surface_destroy(psb_surface); [all...] |
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...] |
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, [all...] |
psb_drv_video.c | 53 #include "psb_surface.h" 598 psb_surface_sync(obj_surface->psb_surface); 599 psb_surface_destroy(obj_surface->psb_surface); 609 free(obj_surface->psb_surface); 865 psb_surface_p psb_surface; local 886 psb_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s)); 887 if (NULL == psb_surface) { 910 flags, psb_surface); 913 free(psb_surface); 919 buffer_stride = psb_surface->stride 1174 psb_surface_p psb_surface; local 2233 psb_surface_p psb_surface = obj_surface->psb_surface; local 2244 psb_surface_p psb_surface = obj_surface->psb_surface; local 2791 psb_surface_p psb_surface; local 2835 psb_surface_p psb_surface = obj_surface->psb_surface; local 2856 psb_surface_p psb_surface = obj_surface->psb_surface; local 2884 psb_surface_p psb_surface; local [all...] |
psb_output.c | 42 #include "psb_surface.h" 495 fourcc = obj_surface->psb_surface->extra_info[4]; 528 obj_buffer->psb_buffer = &obj_surface->psb_surface->buf; 529 obj_buffer->size = obj_surface->psb_surface->size; 541 obj_image->image.data_size = obj_surface->psb_surface->size; 543 srf_buf_ofs = obj_surface->psb_surface->buf.buffer_ofs; 548 obj_image->image.pitches[0] = obj_surface->psb_surface->stride; 549 obj_image->image.pitches[1] = obj_surface->psb_surface->stride; 552 obj_image->image.offsets[1] = srf_buf_ofs + obj_surface->height * obj_surface->psb_surface->stride; 563 obj_image->image.pitches[0] = obj_surface->psb_surface->stride 886 psb_surface_p psb_surface = obj_surface->psb_surface; local 1035 psb_surface_p psb_surface = obj_surface->psb_surface; local 1202 psb_surface_p psb_surface = obj_surface->psb_surface; local [all...] |
psb_drv_video.h | 551 struct psb_surface_s *psb_surface; member in struct:object_surface_s
|
/hardware/intel/img/psb_video/src/x11/ |
psb_ctexture.c | 243 psb_surface_p psb_surface; local 258 psb_surface = obj_surface->psb_surface; 262 psb_surface = obj_surface->out_loop_surface; 272 if (!psb_surface) 273 psb_surface = obj_surface->psb_surface; 412 psb_surface->stride, psb_surface->buf.drm_buf, 413 psb_surface->buf.pl_flags, 0 /* no wrap for dst */) [all...] |
psb_x11.c | 36 #include "psb_surface.h" 156 psb_surface_p psb_surface = obj_surface->psb_surface; local 172 ret = psb_buffer_map(&psb_surface->buf, &surface_data); 224 uint8_t *src_y = surface_data + psb_surface->stride * srcy; 225 uint8_t *src_uv = surface_data + psb_surface->stride * (obj_surface->height + srcy / 2); 235 int y3 = *(src_y + x + psb_surface->stride); 236 int y4 = *(src_y + x + psb_surface->stride + 1); 248 src_y += psb_surface->stride * 2; 249 src_uv += psb_surface->stride [all...] |
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->size [all...] |
/hardware/intel/img/psb_video/src/mrst/ |
psb_H264.c | 32 #include "psb_surface.h" 50 #define GET_SURFACE_INFO_is_used(psb_surface) ((int) (psb_surface->extra_info[0])) 51 #define SET_SURFACE_INFO_is_used(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 52 #define GET_SURFACE_INFO_col_pic_params(psb_surface) (psb_surface->extra_info[1]) 53 #define SET_SURFACE_INFO_col_pic_params(psb_surface, val) psb_surface->extra_info[1] = val; 54 #define GET_SURFACE_INFO_dpb_idx(psb_surface) (psb_surface->extra_info[2] 485 psb_surface_p psb_surface; local [all...] |