Home
last modified time | relevance | path

Searched refs:attribs (Results 1 – 12 of 12) sorted by relevance

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp697 VASurfaceAttrib attribs[2]; in CreateSurfaceFromExternalBuf() local
749 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in CreateSurfaceFromExternalBuf()
750 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateSurfaceFromExternalBuf()
751 attribs[0].value.type = VAGenericValueTypeInteger; in CreateSurfaceFromExternalBuf()
752 attribs[0].value.value.i = type; in CreateSurfaceFromExternalBuf()
754 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in CreateSurfaceFromExternalBuf()
755 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateSurfaceFromExternalBuf()
756 attribs[1].value.type = VAGenericValueTypePointer; in CreateSurfaceFromExternalBuf()
757 attribs[1].value.value.p = (void *)&extbuf; in CreateSurfaceFromExternalBuf()
760 vinfo.height, &surface, 1, attribs, 2); in CreateSurfaceFromExternalBuf()
[all …]
DVideoEncoderBase.cpp847 VASurfaceAttrib* attribs = NULL; in querySupportedSurfaceMemTypes() local
850 vaStatus = vaQuerySurfaceAttributes(mVADisplay, mVAConfig, attribs, &num); in querySupportedSurfaceMemTypes()
856 attribs = new VASurfaceAttrib[num]; in querySupportedSurfaceMemTypes()
858 vaStatus = vaQuerySurfaceAttributes(mVADisplay, mVAConfig, attribs, &num); in querySupportedSurfaceMemTypes()
862 if (attribs[i].type == VASurfaceAttribMemoryType) { in querySupportedSurfaceMemTypes()
863 mSupportedSurfaceMemType = attribs[i].value.value.i; in querySupportedSurfaceMemTypes()
870 delete[] attribs; in querySupportedSurfaceMemTypes()
/hardware/intel/common/libva/va/
Dva_compat.h106 #define vaCreateSurfaces8(dpy, format, width, height, surfaces, num_surfaces, attribs, num_attribs)… argument
108 attribs, num_attribs)
Dva_enc.h127 va_enc_bitstream_new(VAEncBitstreamAttrib *attribs, unsigned int num_attribs);
Dva.c686 VASurfaceAttrib *attribs = NULL; in va_impl_query_surface_attributes() local
726 attribs = malloc(num_attribs * sizeof(*attribs)); in va_impl_query_surface_attributes()
727 if (!attribs) { in va_impl_query_surface_attributes()
734 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
742 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
755 ctx, config, attribs, num_attribs); in va_impl_query_surface_attributes()
762 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
782 const VASurfaceAttrib * const prev_attrib = &attribs[i]; in va_impl_query_surface_attributes()
801 const VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
808 free(attribs); in va_impl_query_surface_attributes()
Dva_enc_h264.h737 VAEncBitstreamAttrib *attribs,
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderBase.cpp902 VASurfaceAttrib attribs[2]; in setupVA() local
935 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in setupVA()
936 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in setupVA()
937 attribs[0].value.type = VAGenericValueTypeInteger; in setupVA()
938 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in setupVA()
940 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in setupVA()
941 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in setupVA()
942 attribs[1].value.type = VAGenericValueTypePointer; in setupVA()
943 attribs[1].value.value.p = (void *)mVASurfaceAttrib; in setupVA()
952 attribs, in setupVA()
[all …]
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp230 VASurfaceAttrib attribs[3]; in allocSurface() local
297 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in allocSurface()
298 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in allocSurface()
299 attribs[0].value.type = VAGenericValueTypeInteger; in allocSurface()
300 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in allocSurface()
302 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in allocSurface()
303 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in allocSurface()
304 attribs[1].value.type = VAGenericValueTypePointer; in allocSurface()
305 attribs[1].value.value.p = &vaExtBuf; in allocSurface()
307 attribs[2].type = (VASurfaceAttribType)VASurfaceAttribUsageHint; in allocSurface()
[all …]
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9HWR.cpp275 VASurfaceAttrib attribs[2]; in ProcessorInit() local
298 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in ProcessorInit()
299 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in ProcessorInit()
300 attribs[0].value.type = VAGenericValueTypeInteger; in ProcessorInit()
301 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in ProcessorInit()
303 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in ProcessorInit()
304 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in ProcessorInit()
305 attribs[1].value.type = VAGenericValueTypePointer; in ProcessorInit()
306 attribs[1].value.value.p = (void *)surfExtBuf; in ProcessorInit()
314 attribs, in ProcessorInit()
/hardware/intel/img/psb_video/src/
Dpsb_drv_video.c2704 VASurfaceAttrib *attribs = NULL; local
2705 attribs = malloc(PSB_MAX_SURFACE_ATTRIBUTES *sizeof(VASurfaceAttrib));
2706 if (attribs == NULL)
2709 attribs[i].type = VASurfaceAttribPixelFormat;
2710 attribs[i].value.type = VAGenericValueTypeInteger;
2711 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE;
2712 attribs[i].value.value.i = VA_FOURCC('N', 'V', '1', '2');
2715 attribs[i].type = VASurfaceAttribMemoryType;
2716 attribs[i].value.type = VAGenericValueTypeInteger;
2717 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE;
[all …]
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_ipa.h1420 struct ipa_wlan_hdr_attrib_val attribs[0]; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_ipa.h820 struct ipa_wlan_hdr_attrib_val attribs[0]; member