Searched defs:psb_surface (Results 1 - 15 of 15) sorted by relevance

/hardware/intel/img/psb_video/src/
H A Dpsb_surface.c33 #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
247 psb_surface_create_camera(psb_driver_data_p driver_data, int width, int height, int stride, int size, psb_surface_p psb_surface, int is_v4l2, unsigned int id_or_ofs ) argument
286 psb_surface_create_camera_from_ub(psb_driver_data_p driver_data, int width, int height, int stride, int size, psb_surface_p psb_surface, int is_v4l2, unsigned int id_or_ofs, const unsigned long *user_ptr) argument
320 psb_surface_set_chroma(psb_surface_p psb_surface, int chroma) argument
337 psb_surface_destroy(psb_surface_p psb_surface) argument
345 psb_surface_sync(psb_surface_p psb_surface) argument
352 psb_surface_query_status(psb_surface_p psb_surface, VASurfaceStatus *status) argument
372 psb_surface_set_displaying(psb_driver_data_p driver_data, int width, int height, psb_surface_p psb_surface) argument
[all...]
H A Dpsb_surface_attrib.c38 #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
53 psb_surface_create_from_ub( psb_driver_data_p driver_data, int width, int height, int fourcc, VASurfaceAttributeTPI *graphic_buffers, psb_surface_p psb_surface, void *vaddr, int fd, unsigned flags ) argument
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...]
H A Dpnw_rotate.c66 #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...]
H A Dpsb_drv_debug.c40 #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 Dpsb_output.c42 #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
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...]
H A Dpsb_overlay.c56 //#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 Dpsb_texture.c470 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 Dpsb_drv_video.c53 #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
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...]
H A Dpsb_drv_video.h551 struct psb_surface_s *psb_surface; member in struct:object_surface_s
/hardware/intel/img/psb_video/src/android/
H A Dpsb_output_android.c33 #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
[all...]
H A Dpsb_surface_gralloc.c30 #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
307 psb_surface_p psb_surface; local
[all...]
/hardware/intel/img/psb_video/src/x11/
H A Dpsb_ctexture.c243 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
[all...]
H A Dpsb_x11.c36 #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
[all...]
H A Dpsb_xvva.c32 #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...]
/hardware/intel/img/psb_video/src/mrst/
H A Dpsb_H264.c32 #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_surfac
485 psb_surface_p psb_surface; local
[all...]

Completed in 197 milliseconds