/hardware/intel/img/psb_video/src/ |
H A D | psb_surface_attrib.h | 39 int width, int height, int fourcc, VASurfaceAttributeTPI *graphic_buffers, 50 unsigned int fourcc, /* expected fourcc */ 64 unsigned int fourcc, /* expected fourcc */
|
H A D | psb_surface_attrib.c | 55 int width, int height, int fourcc, 65 if ((fourcc == VA_FOURCC_NV12) || (fourcc == VA_FOURCC_YV16) || (fourcc == VA_FOURCC_IYUV) || (fourcc == VA_FOURCC_RGBA)) { 93 if (VA_FOURCC_NV12 == fourcc) { 97 else if (VA_FOURCC_YV16 == fourcc) { 101 else if (VA_FOURCC_IYUV == fourcc) { 105 else if (VA_FOURCC_RGBA == fourcc) { 264 unsigned int fourcc, /* expecte 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 256 psb_CreateSurfacesForUserPtr( VADriverContextP ctx, int Width, int Height, int format, int num_surfaces, VASurfaceID *surface_list, unsigned size, unsigned int fourcc, unsigned int luma_stride, unsigned int chroma_u_stride, unsigned int chroma_v_stride, unsigned int luma_offset, unsigned int chroma_u_offset, unsigned int chroma_v_offset, unsigned int tiling ) argument 557 unsigned long fourcc; local 649 unsigned long fourcc; local [all...] |
H A D | psb_surface.c | 40 int width, int height, int fourcc, unsigned int flags, 58 if (fourcc == VA_FOURCC_NV12) { 95 } else if (fourcc == VA_FOURCC_RGBA) { 103 } else if (fourcc == VA_FOURCC_YV16) { 140 } else if (fourcc == VA_FOURCC_YV32) { 163 unsigned int __maybe_unused fourcc, /* expected fourcc */ 197 unsigned int __maybe_unused fourcc, /* expected fourcc */ 39 psb_surface_create(psb_driver_data_p driver_data, int width, int height, int fourcc, unsigned int flags, psb_surface_p psb_surface ) argument 159 psb_surface_create_for_userptr( psb_driver_data_p driver_data, int width, int height, unsigned size, unsigned int __maybe_unused fourcc, unsigned int luma_stride, unsigned int __maybe_unused chroma_u_stride, unsigned int __maybe_unused chroma_v_stride, unsigned int luma_offset, unsigned int chroma_u_offset, unsigned int __maybe_unused chroma_v_offset, psb_surface_p psb_surface ) argument 193 psb_surface_create_from_kbuf( psb_driver_data_p driver_data, int width, int height, unsigned size, unsigned int __maybe_unused fourcc, int __maybe_unused kbuf_handle, unsigned int luma_stride, unsigned int __maybe_unused chroma_u_stride, unsigned int __maybe_unused chroma_v_stride, unsigned int __maybe_unused luma_offset, unsigned int chroma_u_offset, unsigned int __maybe_unused chroma_v_offset, psb_surface_p psb_surface ) argument
|
H A D | psb_surface.h | 68 * extra_info[4]: surface fourcc 72 * extra_info[8]: the fourcc set by application 84 int width, int height, int fourcc, unsigned int flags,
|
H A D | psb_surface_ext.h | 90 unsigned int fourcc; member in struct:_PsbVASurface
|
H A D | psb_output.c | 211 if (dst_format[i].fourcc == src_format->fourcc) 215 drv_debug_msg(VIDEO_DEBUG_ERROR, "Unsupport fourcc 0x%x\n", src_format->fourcc); 312 switch (format->fourcc) { 473 unsigned int fourcc, fourcc_index = ~0, i; local 495 fourcc = obj_surface->psb_surface->extra_info[4]; 497 if (psb__CreateImageFormat[i].fourcc == fourcc) { 545 switch (fourcc) { [all...] |
H A D | psb_overlay.c | 933 int __maybe_unused fourcc, int __maybe_unused flags, 1008 * id is a fourcc code for the format of the video. 1025 int fourcc, int flags, 1048 switch (fourcc) { 1147 switch (fourcc) { 1172 if (fourcc == VA_FOURCC_NV12) { 1210 if (fourcc == FOURCC_RGBA \ 1211 || (fourcc == FOURCC_XVVA \ 1213 && (vaPtr->dst_srf.fourcc == VA_FOURCC_RGBA))) 1218 i830_display_video(ctx, pPriv, surface, fourcc, src_ 926 I830PutImageFlipRotateDebug( VADriverContextP ctx, VASurfaceID surface, short __maybe_unused src_x, short __maybe_unused src_y, short __maybe_unused src_w, short __maybe_unused src_h, short __maybe_unused drw_x, short __maybe_unused drw_y, short __maybe_unused drw_w, short __maybe_unused drw_h, int __maybe_unused fourcc, int __maybe_unused flags, int __maybe_unused overlayId, int pipeId) argument 1018 I830PutImage( VADriverContextP ctx, VASurfaceID surface, int src_x, int src_y, int src_w, int src_h, int drw_x, int drw_y, int drw_w, int drw_h, int fourcc, int flags, int overlayId, int pipeId) argument [all...] |
H A D | psb_texture.c | 659 if (surface_subpic->fourcc == VA_FOURCC_AI44) 662 sBltVP.sSrcSubpic[i].Format = surface_subpic->fourcc; 678 if (surface_subpic->fourcc == VA_FOURCC_AI44) {
|
H A D | psb_drv_video.c | 739 unsigned long fourcc; local 913 fourcc = VA_FOURCC_YV32; /* allocate 4 planar */ 916 fourcc = VA_FOURCC_YV16; 920 fourcc = VA_FOURCC_NV12; 925 vaStatus = psb_surface_create(driver_data, width, height, fourcc, 936 /* by default, surface fourcc is NV12 */ 937 psb_surface->extra_info[4] = fourcc; 938 psb_surface->extra_info[8] = fourcc; 2840 unsigned int *fourcc, /* following are output argument */ 2878 *fourcc 2837 psb_LockSurface( VADriverContextP ctx, VASurfaceID surface, unsigned int *fourcc, unsigned int *luma_stride, unsigned int *chroma_u_stride, unsigned int *chroma_v_stride, unsigned int *luma_offset, unsigned int *chroma_u_offset, unsigned int *chroma_v_offset, unsigned int *buffer_name, void **buffer ) argument [all...] |
/hardware/intel/common/libva/test/ |
H A D | loadsurface.h | 45 unsigned int fourcc, int fixed_alpha) 92 if (fourcc == VA_FOURCC_YUY2) 107 switch (fourcc) { 150 unsigned int fourcc, int box_width, int row_shift, 158 if (fourcc == VA_FOURCC_YUY2) y_factor = 2; 179 if (fourcc == VA_FOURCC_YUY2) { 196 switch (fourcc) { 208 printf("unsupported fourcc in loadsurface.h\n"); 225 fourcc, alpha); 246 switch (surface_image.format.fourcc) { 41 YUV_blend_with_pic(int width, int height, unsigned char *Y_start, int Y_pitch, unsigned char *U_start, int U_pitch, unsigned char *V_start, int V_pitch, unsigned int fourcc, int fixed_alpha) argument 146 yuvgen_planar(int width, int height, unsigned char *Y_start, int Y_pitch, unsigned char *U_start, int U_pitch, unsigned char *V_start, int V_pitch, unsigned int fourcc, int box_width, int row_shift, int field) argument [all...] |
/hardware/intel/common/libmix/mix_video/src/ |
H A D | mixvideoconfigparamsdec_vc1.h | 74 /* TODO: wmv_version and fourcc type might be changed later */ 76 guint fourcc; member in struct:_MixVideoConfigParamsDecVC1
|
/hardware/intel/img/psb_video/src/android/ |
H A D | psb_surface_gralloc.c | 110 unsigned long fourcc; local 185 fourcc = VA_FOURCC_YV16; 189 fourcc = VA_FOURCC_NV12; 209 vaStatus = psb_surface_create_from_ub(driver_data, width, height, fourcc, 231 /* by default, surface fourcc is NV12 */ 232 psb_surface->extra_info[4] = fourcc; 266 unsigned long fourcc; local 344 fourcc = VA_FOURCC_YV16; 347 fourcc = VA_FOURCC_RGBA; 351 fourcc [all...] |
/hardware/intel/common/libva/test/videoprocess/ |
H A D | videoprocess.cpp | 274 if (surface_image.format.fourcc == VA_FOURCC_YV12 || 275 surface_image.format.fourcc == VA_FOURCC_I420 || 276 surface_image.format.fourcc == VA_FOURCC_NV12){ 290 if(surface_image.format.fourcc == VA_FOURCC_YV12){ 293 }else if(surface_image.format.fourcc == VA_FOURCC_I420){ 309 if (surface_image.format.fourcc == VA_FOURCC_YV12|| 310 surface_image.format.fourcc == VA_FOURCC_I420){ 319 if (surface_image.format.fourcc == VA_FOURCC_YV12){ 327 } else if (surface_image.format.fourcc == VA_FOURCC_NV12){ 340 printf("Not supported YUV surface fourcc !!! \ 960 parse_fourcc_and_format(char *str, uint32_t *fourcc, uint32_t *format) argument [all...] |
/hardware/qcom/msm8960/kernel-headers/linux/ |
H A D | msm_q6vdec.h | 137 u32 fourcc; member in struct:vdec_config 252 u32 fourcc; member in struct:vdec_dec_attributes 290 u32 fourcc; member in union:vdec_property
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
H A D | msm_q6vdec.h | 116 u32 fourcc; /* video format */ member in struct:vdec_config 224 u32 fourcc; member in struct:vdec_dec_attributes 259 u32 fourcc; member in union:vdec_property
|
/hardware/qcom/msm8996/kernel-headers/linux/ |
H A D | msm_q6vdec.h | 137 u32 fourcc; member in struct:vdec_config 252 u32 fourcc; member in struct:vdec_dec_attributes 290 u32 fourcc; member in union:vdec_property
|
/hardware/qcom/msm8996/original-kernel-headers/linux/ |
H A D | msm_q6vdec.h | 116 u32 fourcc; /* video format */ member in struct:vdec_config 224 u32 fourcc; member in struct:vdec_dec_attributes 259 u32 fourcc; member in union:vdec_property
|
/hardware/intel/common/libva/test/putsurface/ |
H A D | putsurface_common.c | 93 unsigned int fourcc; member in struct:__anon500 110 return va_fourcc_map[i].fourcc; 122 if (va_fourcc_map[i].fourcc == format) { 177 lookup_image_format(uint32_t fourcc) argument 186 if (image_format->fourcc == fourcc) 261 // 1. make sure dst fourcc is supported for vaImage 281 // 3.1 vaSurface with src fourcc 290 // 3.2 vaImage with dst fourcc 292 image_format.fourcc [all...] |
/hardware/intel/img/psb_video/src/x11/ |
H A D | psb_xvva.c | 252 int fourcc, int bpp, int w, int h, int stride, int size, unsigned int pre_add, 258 srf->fourcc = fourcc; 593 int fourcc 644 fourcc, flags, output->rotate_surface); 766 int fourcc; local 768 fourcc = VA_FOURCC_RGBA; 770 fourcc = VA_FOURCC_NV12; 780 vaStatus = psb_check_rotatesurface(ctx, rotate_width, rotate_height, protected, fourcc); 784 psb_surface_init(driver_data, &vaPtr->dst_srf, fourcc, 249 psb_surface_init( psb_driver_data_p driver_data, PsbVASurfaceRec *srf, int fourcc, int bpp, int w, int h, int stride, int size, unsigned int pre_add, struct _WsbmBufferObject *bo, int flags ) argument [all...] |
/hardware/intel/common/libmix/videodecoder/ |
H A D | VideoDecoderDefs.h | 39 uint32_t fourcc; //NV12 member in struct:VideoFrameRawData
|
/hardware/intel/common/libva/test/basic/ |
H A D | test_vaSurfaceAttrib.c | 41 unsigned int fourcc, luma_stride, chroma_u_stride, chroma_v_stride, luma_offset, chroma_u_offset; local
|
/hardware/intel/common/libva/test/encode/ |
H A D | h264encode.c | 623 static char *fourcc_to_string(int fourcc) argument 625 switch (fourcc) { 641 int fourcc; local 644 fourcc = VA_FOURCC_NV12; 646 fourcc = VA_FOURCC_IYUV; 648 fourcc = VA_FOURCC_YV12; 650 fourcc = VA_FOURCC_UYVY; 653 fourcc = -1; 655 return fourcc; 721 printf(" --fourcc <NV1 [all...] |
H A D | avcenc.c | 391 if (surface_image.format.fourcc == VA_FOURCC_NV12) { /* UV plane */ 402 } else if (surface_image.format.fourcc == VA_FOURCC_YV12 || 403 surface_image.format.fourcc == VA_FOURCC_I420) { 404 const int U = surface_image.format.fourcc == VA_FOURCC_I420 ? 1 : 2; 405 const int V = surface_image.format.fourcc == VA_FOURCC_I420 ? 2 : 1;
|
/hardware/intel/common/libva/va/ |
H A D | va_backend.h | 374 unsigned int *fourcc, /* out for follow argument */
|
H A D | va.c | 740 attrib->value.value.i = image_formats[i].fourcc; 1581 unsigned int *fourcc, /* following are output argument */ 1596 return ctx->vtable->vaLockSurface( ctx, surface, fourcc, luma_stride, chroma_u_stride, chroma_v_stride, luma_offset, chroma_u_offset, chroma_v_offset, buffer_name, buffer); 1579 vaLockSurface(VADisplay dpy, VASurfaceID surface, unsigned int *fourcc, unsigned int *luma_stride, unsigned int *chroma_u_stride, unsigned int *chroma_v_stride, unsigned int *luma_offset, unsigned int *chroma_u_offset, unsigned int *chroma_v_offset, unsigned int *buffer_name, void **buffer ) argument
|