Home
last modified time | relevance | path

Searched refs:fourcc (Results 1 – 25 of 34) sorted by relevance

12

/hardware/intel/img/psb_video/src/
Dpsb_surface_attrib.c55 int width, int height, int fourcc, in psb_surface_create_from_ub() argument
65 …if ((fourcc == VA_FOURCC_NV12) || (fourcc == VA_FOURCC_YV16) || (fourcc == VA_FOURCC_IYUV) || (fou… in psb_surface_create_from_ub()
93 if (VA_FOURCC_NV12 == fourcc) { in psb_surface_create_from_ub()
97 else if (VA_FOURCC_YV16 == fourcc) { in psb_surface_create_from_ub()
101 else if (VA_FOURCC_IYUV == fourcc) { in psb_surface_create_from_ub()
105 else if (VA_FOURCC_RGBA == fourcc) { in psb_surface_create_from_ub()
264 unsigned int fourcc, /* expected fourcc */ in psb_CreateSurfacesForUserPtr() argument
288 num_surfaces, size, fourcc, in psb_CreateSurfacesForUserPtr()
303 if ((VA_RT_FORMAT_YUV420 == format) && (fourcc != VA_FOURCC_NV12)) { in psb_CreateSurfacesForUserPtr()
367 fourcc, in psb_CreateSurfacesForUserPtr()
[all …]
Dpsb_surface_attrib.h39 int width, int height, int fourcc, VASurfaceAttributeTPI *graphic_buffers,
50 unsigned int fourcc, /* expected fourcc */
64 unsigned int fourcc, /* expected fourcc */
Dpsb_surface.c40 int width, int height, int fourcc, unsigned int flags, in psb_surface_create() argument
58 if (fourcc == VA_FOURCC_NV12) { in psb_surface_create()
95 } else if (fourcc == VA_FOURCC_RGBA) { in psb_surface_create()
103 } else if (fourcc == VA_FOURCC_YV16) { in psb_surface_create()
140 } else if (fourcc == VA_FOURCC_YV32) { in psb_surface_create()
163 unsigned int __maybe_unused fourcc, /* expected fourcc */ in psb_surface_create_for_userptr() argument
197 unsigned int __maybe_unused fourcc, /* expected fourcc */ in psb_surface_create_from_kbuf() argument
Dpsb_output.c211 if (dst_format[i].fourcc == src_format->fourcc) in psb__VAImageCheckFourCC()
215 drv_debug_msg(VIDEO_DEBUG_ERROR, "Unsupport fourcc 0x%x\n", src_format->fourcc); in psb__VAImageCheckFourCC()
312 switch (format->fourcc) { in psb_CreateImage()
473 unsigned int fourcc, fourcc_index = ~0, i; in psb_DeriveImage() local
495 fourcc = obj_surface->psb_surface->extra_info[4]; in psb_DeriveImage()
497 if (psb__CreateImageFormat[i].fourcc == fourcc) { in psb_DeriveImage()
545 switch (fourcc) { in psb_DeriveImage()
663 if (obj_image->image.format.fourcc != VA_FOURCC_AI44) { in psb_SetImagePalette()
874 if (obj_image->image.format.fourcc != VA_FOURCC_NV12) { in psb_GetImage()
909 switch (obj_image->image.format.fourcc) { in psb_GetImage()
[all …]
Dpsb_surface.h84 int width, int height, int fourcc, unsigned int flags,
Dpsb_surface_ext.h90 unsigned int fourcc; member
Dpsb_overlay.c933 int __maybe_unused fourcc, int __maybe_unused flags, in I830PutImageFlipRotateDebug() argument
1025 int fourcc, int flags, in I830PutImage() argument
1048 switch (fourcc) { in I830PutImage()
1147 switch (fourcc) { in I830PutImage()
1172 if (fourcc == VA_FOURCC_NV12) { in I830PutImage()
1210 if (fourcc == FOURCC_RGBA \ in I830PutImage()
1211 || (fourcc == FOURCC_XVVA \ in I830PutImage()
1213 && (vaPtr->dst_srf.fourcc == VA_FOURCC_RGBA))) in I830PutImage()
1218 i830_display_video(ctx, pPriv, surface, fourcc, src_w, src_h, pitch2, pitch, in I830PutImage()
Dpsb_texture.c659 if (surface_subpic->fourcc == VA_FOURCC_AI44)
662 sBltVP.sSrcSubpic[i].Format = surface_subpic->fourcc;
678 if (surface_subpic->fourcc == VA_FOURCC_AI44) {
Dpsb_drv_video.c739 unsigned long fourcc; in psb_CreateSurfaces2() local
913 fourcc = VA_FOURCC_YV32; /* allocate 4 planar */ in psb_CreateSurfaces2()
916 fourcc = VA_FOURCC_YV16; in psb_CreateSurfaces2()
920 fourcc = VA_FOURCC_NV12; in psb_CreateSurfaces2()
925 vaStatus = psb_surface_create(driver_data, width, height, fourcc, in psb_CreateSurfaces2()
937 psb_surface->extra_info[4] = fourcc; in psb_CreateSurfaces2()
938 psb_surface->extra_info[8] = fourcc; in psb_CreateSurfaces2()
2840 unsigned int *fourcc, /* following are output argument */ argument
2878 *fourcc = VA_FOURCC_NV12;
/hardware/intel/common/libva/test/
Dloadsurface.h45 unsigned int fourcc, int fixed_alpha) in YUV_blend_with_pic() argument
92 if (fourcc == VA_FOURCC_YUY2) in YUV_blend_with_pic()
107 switch (fourcc) { in YUV_blend_with_pic()
150 unsigned int fourcc, int box_width, int row_shift, in yuvgen_planar() argument
158 if (fourcc == VA_FOURCC_YUY2) y_factor = 2; in yuvgen_planar()
179 if (fourcc == VA_FOURCC_YUY2) { in yuvgen_planar()
196 switch (fourcc) { in yuvgen_planar()
225 fourcc, alpha); in yuvgen_planar()
246 switch (surface_image.format.fourcc) { in upload_surface()
280 surface_image.format.fourcc, in upload_surface()
[all …]
/hardware/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp274 if (surface_image.format.fourcc == VA_FOURCC_YV12 || in upload_yv12_frame_to_yuv_surface()
275 surface_image.format.fourcc == VA_FOURCC_I420 || in upload_yv12_frame_to_yuv_surface()
276 surface_image.format.fourcc == VA_FOURCC_NV12){ in upload_yv12_frame_to_yuv_surface()
290 if(surface_image.format.fourcc == VA_FOURCC_YV12){ in upload_yv12_frame_to_yuv_surface()
293 }else if(surface_image.format.fourcc == VA_FOURCC_I420){ in upload_yv12_frame_to_yuv_surface()
309 if (surface_image.format.fourcc == VA_FOURCC_YV12|| in upload_yv12_frame_to_yuv_surface()
310 surface_image.format.fourcc == VA_FOURCC_I420){ in upload_yv12_frame_to_yuv_surface()
319 if (surface_image.format.fourcc == VA_FOURCC_YV12){ in upload_yv12_frame_to_yuv_surface()
327 } else if (surface_image.format.fourcc == VA_FOURCC_NV12){ in upload_yv12_frame_to_yuv_surface()
377 if (surface_image.format.fourcc == VA_FOURCC_YV12 || in store_yuv_surface_to_yv12_frame()
[all …]
/hardware/intel/img/psb_video/src/android/
Dpsb_surface_gralloc.c110 unsigned long fourcc; in psb_CreateSurfacesFromGralloc() local
185 fourcc = VA_FOURCC_YV16; in psb_CreateSurfacesFromGralloc()
189 fourcc = VA_FOURCC_NV12; in psb_CreateSurfacesFromGralloc()
209 vaStatus = psb_surface_create_from_ub(driver_data, width, height, fourcc, in psb_CreateSurfacesFromGralloc()
232 psb_surface->extra_info[4] = fourcc; in psb_CreateSurfacesFromGralloc()
266 unsigned long fourcc; in psb_CreateSurfacesFromGralloc() local
344 fourcc = VA_FOURCC_YV16; in psb_CreateSurfacesFromGralloc()
347 fourcc = VA_FOURCC_RGBA; in psb_CreateSurfacesFromGralloc()
351 fourcc = VA_FOURCC_NV12; in psb_CreateSurfacesFromGralloc()
383 vaStatus = psb_surface_create_from_ub(driver_data, width, height, fourcc, in psb_CreateSurfacesFromGralloc()
[all …]
/hardware/intel/common/libva/test/putsurface/
Dputsurface_common.c93 unsigned int fourcc; member
110 return va_fourcc_map[i].fourcc; in map_str_to_vafourcc()
122 if (va_fourcc_map[i].fourcc == format) { in map_vafourcc_to_str()
177 lookup_image_format(uint32_t fourcc) in lookup_image_format() argument
186 if (image_format->fourcc == fourcc) in lookup_image_format()
292 image_format.fourcc = csc_dst_fourcc; in csc_preparation()
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_q6vdec.h116 u32 fourcc; /* video format */ member
224 u32 fourcc; member
259 u32 fourcc; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_q6vdec.h137 u32 fourcc; member
252 u32 fourcc; member
290 u32 fourcc; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_q6vdec.h116 u32 fourcc; /* video format */ member
224 u32 fourcc; member
259 u32 fourcc; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_q6vdec.h137 u32 fourcc; member
252 u32 fourcc; member
290 u32 fourcc; member
/hardware/intel/img/psb_video/src/x11/
Dpsb_xvva.c252 int fourcc, int bpp, int w, int h, int stride, int size, unsigned int pre_add, in psb_surface_init() argument
258 srf->fourcc = fourcc; in psb_surface_init()
593 int fourcc in psb_check_rotatesurface() argument
644 fourcc, flags, output->rotate_surface); in psb_check_rotatesurface()
766 int fourcc; in psb_putsurface_xvideo() local
768 fourcc = VA_FOURCC_RGBA; in psb_putsurface_xvideo()
770 fourcc = VA_FOURCC_NV12; in psb_putsurface_xvideo()
780 vaStatus = psb_check_rotatesurface(ctx, rotate_width, rotate_height, protected, fourcc); in psb_putsurface_xvideo()
784 psb_surface_init(driver_data, &vaPtr->dst_srf, fourcc, 4, in psb_putsurface_xvideo()
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoconfigparamsdec_vc1.h76 guint fourcc; member
/hardware/intel/common/libva/test/encode/
Dh264encode.c623 static char *fourcc_to_string(int fourcc) in fourcc_to_string() argument
625 switch (fourcc) { in fourcc_to_string()
641 int fourcc; in string_to_fourcc() local
644 fourcc = VA_FOURCC_NV12; in string_to_fourcc()
646 fourcc = VA_FOURCC_IYUV; in string_to_fourcc()
648 fourcc = VA_FOURCC_YV12; in string_to_fourcc()
650 fourcc = VA_FOURCC_UYVY; in string_to_fourcc()
653 fourcc = -1; in string_to_fourcc()
655 return fourcc; in string_to_fourcc()
Davcenc.c391 if (surface_image.format.fourcc == VA_FOURCC_NV12) { /* UV plane */ in upload_yuv_to_surface()
402 } else if (surface_image.format.fourcc == VA_FOURCC_YV12 || in upload_yuv_to_surface()
403 surface_image.format.fourcc == VA_FOURCC_I420) { in upload_yuv_to_surface()
404 const int U = surface_image.format.fourcc == VA_FOURCC_I420 ? 1 : 2; in upload_yuv_to_surface()
405 const int V = surface_image.format.fourcc == VA_FOURCC_I420 ? 2 : 1; in upload_yuv_to_surface()
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderDefs.h39 uint32_t fourcc; //NV12 member
/hardware/intel/common/libva/test/basic/
Dtest_vaSurfaceAttrib.c41 … unsigned int fourcc, luma_stride, chroma_u_stride, chroma_v_stride, luma_offset, chroma_u_offset; in test() local
/hardware/intel/common/libva/va/
Dva_backend.h374 unsigned int *fourcc, /* out for follow argument */
Dva.c740 attrib->value.value.i = image_formats[i].fourcc; in va_impl_query_surface_attributes()
1581 unsigned int *fourcc, /* following are output argument */ in vaLockSurface() argument
1596 …return ctx->vtable->vaLockSurface( ctx, surface, fourcc, luma_stride, chroma_u_stride, chroma_v_st… in vaLockSurface()

12