Home
last modified time | relevance | path

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

/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp682 VASurfaceAttrib attribs[2]; in CreateSurfaceFromExternalBuf() local
734 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in CreateSurfaceFromExternalBuf()
735 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateSurfaceFromExternalBuf()
736 attribs[0].value.type = VAGenericValueTypeInteger; in CreateSurfaceFromExternalBuf()
737 attribs[0].value.value.i = type; in CreateSurfaceFromExternalBuf()
739 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in CreateSurfaceFromExternalBuf()
740 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateSurfaceFromExternalBuf()
741 attribs[1].value.type = VAGenericValueTypePointer; in CreateSurfaceFromExternalBuf()
742 attribs[1].value.value.p = (void *)&extbuf; in CreateSurfaceFromExternalBuf()
745 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.c680 VASurfaceAttrib *attribs = NULL; in va_impl_query_surface_attributes() local
720 attribs = malloc(num_attribs * sizeof(*attribs)); in va_impl_query_surface_attributes()
721 if (!attribs) { in va_impl_query_surface_attributes()
728 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
736 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
749 ctx, config, attribs, num_attribs); in va_impl_query_surface_attributes()
756 VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
776 const VASurfaceAttrib * const prev_attrib = &attribs[i]; in va_impl_query_surface_attributes()
795 const VASurfaceAttrib * const attrib = &attribs[n]; in va_impl_query_surface_attributes()
802 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/img/psb_video/src/
Dpsb_drv_video.c2769 VASurfaceAttrib *attribs = NULL; local
2770 attribs = malloc(PSB_MAX_SURFACE_ATTRIBUTES *sizeof(VASurfaceAttrib));
2771 if (attribs == NULL)
2774 attribs[i].type = VASurfaceAttribPixelFormat;
2775 attribs[i].value.type = VAGenericValueTypeInteger;
2776 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE;
2777 attribs[i].value.value.i = VA_FOURCC('N', 'V', '1', '2');
2780 attribs[i].type = VASurfaceAttribMemoryType;
2781 attribs[i].value.type = VAGenericValueTypeInteger;
2782 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE;
[all …]
/hardware/qcom/display/msm8998/gpu_tonemapper/
Dglengine.cpp210 EGLint attribs[] = {EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fd, EGL_NONE}; in WaitOnNativeFence() local
212 …EGLSyncKHR sync = eglCreateSyncKHR(eglGetCurrentDisplay(), EGL_SYNC_NATIVE_FENCE_ANDROID, attribs); in WaitOnNativeFence()
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_ipa.h820 struct ipa_wlan_hdr_attrib_val attribs[0]; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_ipa.h1420 struct ipa_wlan_hdr_attrib_val attribs[0]; member