/hardware/intel/img/psb_video/src/ |
psb_surface.c | 33 #include "psb_surface.h" 41 psb_surface_p psb_surface /* out */ 53 int tiling = GET_SURFACE_INFO_tiling(psb_surface); 66 psb_surface->stride_mode = STRIDE_512; 67 psb_surface->stride = 512; 69 psb_surface->stride_mode = STRIDE_1024; 70 psb_surface->stride = 1024; 72 psb_surface->stride_mode = STRIDE_1280; 73 psb_surface->stride = 1280; 76 psb_surface->stride_mode = STRIDE_2048 [all...] |
psb_surface.h | 85 psb_surface_p psb_surface /* out */ 89 #define SET_SURFACE_INFO_rotate(psb_surface, rotate) psb_surface->extra_info[5] = (uint32_t) rotate; 90 #define GET_SURFACE_INFO_rotate(psb_surface) ((int) psb_surface->extra_info[5]) 91 #define GET_SURFACE_INFO_protect(psb_surface) ((int) psb_surface->extra_info[6]) 92 #define SET_SURFACE_INFO_protect(psb_surface, protect) (psb_surface->extra_info[6] = protect) 93 #define SET_SURFACE_INFO_tiling(psb_surface, tiling) psb_surface->extra_info[7] = (uint32_t) tiling [all...] |
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...] |
psb_surface_attrib.h | 31 #include "psb_surface.h" 40 psb_surface_p psb_surface, /* out */ 57 psb_surface_p psb_surface /* out */ 72 psb_surface_p psb_surface /* out */ 79 psb_surface_p psb_surface, /* out */ 92 psb_surface_p psb_surface, /* out */
|
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...] |
pnw_MPEG2.c | 48 #define GET_SURFACE_INFO_is_defined(psb_surface) ((int) (psb_surface->extra_info[0])) 49 #define SET_SURFACE_INFO_is_defined(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 50 #define GET_SURFACE_INFO_picture_structure(psb_surface) (psb_surface->extra_info[1]) 51 #define SET_SURFACE_INFO_picture_structure(psb_surface, val) psb_surface->extra_info[1] = val; 52 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((int) (psb_surface->extra_info[2]) [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...] |
pnw_rotate.h | 29 #include "psb_surface.h" 91 psb_surface_p psb_surface,
|
vsp_compose.c | 32 #include "psb_surface.h" 101 yuv_stride = yuv_surface->psb_surface->stride; 105 out_stride = output_surface->psb_surface->stride; 109 rgb_stride = rgb_surface->psb_surface->stride; 121 &(rgb_surface->psb_surface->buf), 134 &(yuv_surface->psb_surface->buf), 150 &(output_surface->psb_surface->buf),
|
pnw_MPEG4.c | 47 #define GET_SURFACE_INFO_is_defined(psb_surface) ((int) (psb_surface->extra_info[0])) 48 #define SET_SURFACE_INFO_is_defined(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 49 #define GET_SURFACE_INFO_picture_structure(psb_surface) (psb_surface->extra_info[1]) 50 #define SET_SURFACE_INFO_picture_structure(psb_surface, val) psb_surface->extra_info[1] = val; 51 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((int) (psb_surface->extra_info[2]) [all...] |
pnw_hostcode.c | 572 CLEAR_SURFACE_INFO_skipped_flag(ctx->src_surface->psb_surface); 578 if (0 != (GET_SURFACE_INFO_skipped_flag(ctx->src_surface->psb_surface) 751 CLEAR_SURFACE_INFO_skipped_flag(rec_surface->psb_surface); 752 CLEAR_SURFACE_INFO_skipped_flag(ref_surface->psb_surface); 766 psPicParams->SrcYStride = src_surface->psb_surface->stride; 770 psPicParams->SrcUVStride = src_surface->psb_surface->stride / 2; 771 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 8 / 2; 775 psPicParams->SrcUVStride = src_surface->psb_surface->stride; 776 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 8; 781 psPicParams->SrcYRowStride = src_surface->psb_surface->stride * 16 [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); 881 psb_surface_p psb_surface; local 902 psb_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s)); 903 if (NULL == psb_surface) { 926 flags, psb_surface); 929 free(psb_surface); 935 buffer_stride = psb_surface->stride 1190 psb_surface_p psb_surface; local 2298 psb_surface_p psb_surface = obj_surface->psb_surface; local 2309 psb_surface_p psb_surface = obj_surface->psb_surface; local 2858 psb_surface_p psb_surface; local 2902 psb_surface_p psb_surface = obj_surface->psb_surface; local 2923 psb_surface_p psb_surface = obj_surface->psb_surface; local 2951 psb_surface_p psb_surface; local [all...] |
tng_picmgmt.c | 389 ui16Stride = obj_surface_p->psb_surface->stride; 590 unsigned int srf_buf_offset = src_surface->psb_surface->buf.buffer_ofs; 630 &(src_surface->psb_surface->buf)); 634 &(src_surface->psb_surface->buf)); 638 &(src_surface->psb_surface->buf)); 643 &(src_surface->psb_surface->buf)); 647 &(src_surface->psb_surface->buf)); 651 &(src_surface->psb_surface->buf)); 654 &(src_surface->psb_surface->buf), 657 &(src_surface->psb_surface->buf), [all...] |
tng_VP8.c | 186 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((int) (psb_surface->extra_info[2])) 187 #define SET_SURFACE_INFO_picture_coding_type(psb_surface, val) psb_surface->extra_info[2] = (uint32_t) val; 188 #define SET_SURFACE_INFO_rotate(psb_surface, rotate) psb_surface->extra_info[5] = (uint32_t) rotate; 189 #define GET_SURFACE_INFO_rotate(psb_surface) ((int) psb_surface->extra_info[5]) 344 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; 378 psb_surface_p target_surface = ctx->obj_context->current_render_target->psb_surface; [all...] |
pnw_hostcode.h | 33 #include "psb_surface.h" 544 #define GET_SURFACE_INFO_skipped_flag(psb_surface) ((int) (psb_surface->extra_info[5])) 545 #define SET_SURFACE_INFO_skipped_flag(psb_surface, value) psb_surface->extra_info[5] = (SURFACE_INFO_SKIP_FLAG_SETTLED | value) 546 #define CLEAR_SURFACE_INFO_skipped_flag(psb_surface) psb_surface->extra_info[5] = 0
|
tng_hostcode.h | 37 #include "psb_surface.h" 482 #define GET_SURFACE_INFO_skipped_flag(psb_surface) ((int) (psb_surface->extra_info[5])) 483 #define SET_SURFACE_INFO_skipped_flag(psb_surface, value) psb_surface->extra_info[5] = (SURFACE_INFO_SKIP_FLAG_SETTLED | value) 484 #define CLEAR_SURFACE_INFO_skipped_flag(psb_surface) psb_surface->extra_info[5] = 0
|
/hardware/intel/img/psb_video/src/android/ |
psb_surface_gralloc.c | 30 #include "psb_surface.h" 62 buffer_handle_t handle = obj_surface->psb_surface->buf.handle; 151 psb_surface_p psb_surface; local 172 psb_surface = (psb_surface_p) calloc(1, sizeof(struct psb_surface_s)); 173 if (NULL == psb_surface) { 210 external_buffers, psb_surface, vaddr, buf_fd, 213 psb_surface->buf.handle = handle; 220 free(psb_surface); 227 buffer_stride = psb_surface->stride; 229 psb_surface->extra_info[7] = external_buffers->tiling 311 psb_surface_p psb_surface; local [all...] |
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...] |
/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...] |
/hardware/intel/img/psb_video/src/mrst/ |
lnc_hostcode.c | 191 CLEAR_SURFACE_INFO_skipped_flag(ctx->src_surface->psb_surface); 299 CLEAR_SURFACE_INFO_skipped_flag(rec_surface->psb_surface); 300 CLEAR_SURFACE_INFO_skipped_flag(ref_surface->psb_surface); 314 psPicParams->SrcYStride = src_surface->psb_surface->stride; 318 psPicParams->SrcUVStride = src_surface->psb_surface->stride / 2; 319 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 16 / 2; 323 psPicParams->SrcUVStride = src_surface->psb_surface->stride; 324 psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 16; 329 psPicParams->SrcYRowStride = src_surface->psb_surface->stride * 16; 330 /* psPicParams->SrcUVRowStride = src_surface->psb_surface->stride * 16 / 2; * [all...] |
psb_MPEG4.c | 32 #include "psb_surface.h" 48 #define GET_SURFACE_INFO_is_defined(psb_surface) ((int) (psb_surface->extra_info[0])) 49 #define SET_SURFACE_INFO_is_defined(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 50 #define GET_SURFACE_INFO_picture_structure(psb_surface) (psb_surface->extra_info[1]) 51 #define SET_SURFACE_INFO_picture_structure(psb_surface, val) psb_surface->extra_info[1] = val; 52 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((int) (psb_surface->extra_info[2]) [all...] |
psb_MPEG2.c | 33 #include "psb_surface.h" 48 #define GET_SURFACE_INFO_is_defined(psb_surface) ((int) (psb_surface->extra_info[0])) 49 #define SET_SURFACE_INFO_is_defined(psb_surface, val) psb_surface->extra_info[0] = (uint32_t) val; 50 #define GET_SURFACE_INFO_picture_structure(psb_surface) (psb_surface->extra_info[1]) 51 #define SET_SURFACE_INFO_picture_structure(psb_surface, val) psb_surface->extra_info[1] = val; 52 #define GET_SURFACE_INFO_picture_coding_type(psb_surface) ((int) (psb_surface->extra_info[2]) [all...] |
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...] |
lnc_hostcode.h | 35 #include "psb_surface.h" 515 #define GET_SURFACE_INFO_skipped_flag(psb_surface) ((int) (psb_surface->extra_info[5])) 516 #define SET_SURFACE_INFO_skipped_flag(psb_surface, value) psb_surface->extra_info[5] = (SURFACE_INFO_SKIP_FLAG_SETTLED | value) 517 #define CLEAR_SURFACE_INFO_skipped_flag(psb_surface) psb_surface->extra_info[5] = 0
|