Searched refs:attribs (Results 1 – 10 of 10) sorted by relevance
/hardware/intel/common/libmix/videoencoder/ |
D | VideoEncoderUtils.cpp | 695 VASurfaceAttrib attribs[2]; in CreateSurfaceFromExternalBuf() local 747 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in CreateSurfaceFromExternalBuf() 748 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateSurfaceFromExternalBuf() 749 attribs[0].value.type = VAGenericValueTypeInteger; in CreateSurfaceFromExternalBuf() 750 attribs[0].value.value.i = type; in CreateSurfaceFromExternalBuf() 752 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in CreateSurfaceFromExternalBuf() 753 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateSurfaceFromExternalBuf() 754 attribs[1].value.type = VAGenericValueTypePointer; in CreateSurfaceFromExternalBuf() 755 attribs[1].value.value.p = (void *)&extbuf; in CreateSurfaceFromExternalBuf() 758 vinfo.height, &surface, 1, attribs, 2); in CreateSurfaceFromExternalBuf() [all …]
|
D | VideoEncoderBase.cpp | 842 VASurfaceAttrib* attribs = NULL; in querySupportedSurfaceMemTypes() local 845 vaStatus = vaQuerySurfaceAttributes(mVADisplay, mVAConfig, attribs, &num); in querySupportedSurfaceMemTypes() 851 attribs = new VASurfaceAttrib[num]; in querySupportedSurfaceMemTypes() 853 vaStatus = vaQuerySurfaceAttributes(mVADisplay, mVAConfig, attribs, &num); in querySupportedSurfaceMemTypes() 857 if (attribs[i].type == VASurfaceAttribMemoryType) { in querySupportedSurfaceMemTypes() 858 mSupportedSurfaceMemType = attribs[i].value.value.i; in querySupportedSurfaceMemTypes() 865 delete attribs; in querySupportedSurfaceMemTypes()
|
/hardware/samsung_slsi/exynos5/mobicore/common/MobiCore/inc/ |
D | mcContainer.h | 162 mcContainerAttribs_t attribs; member 172 mcContainerAttribs_t attribs; member 184 mcContainerAttribs_t attribs; member 195 mcContainerAttribs_t attribs; member
|
/hardware/intel/common/omx-components/videocodec/ |
D | OMXVideoDecoderVP9HWR.cpp | 278 VASurfaceAttrib attribs[2]; in ProcessorInit() local 301 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in ProcessorInit() 302 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in ProcessorInit() 303 attribs[0].value.type = VAGenericValueTypeInteger; in ProcessorInit() 304 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in ProcessorInit() 306 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in ProcessorInit() 307 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in ProcessorInit() 308 attribs[1].value.type = VAGenericValueTypePointer; in ProcessorInit() 309 attribs[1].value.value.p = (void *)surfExtBuf; in ProcessorInit() 317 attribs, in ProcessorInit()
|
/hardware/intel/common/libva/va/ |
D | va_compat.h | 106 #define vaCreateSurfaces8(dpy, format, width, height, surfaces, num_surfaces, attribs, num_attribs)… argument 108 attribs, num_attribs)
|
D | va.c | 686 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()
|
D | va_enc.h | 127 va_enc_bitstream_new(VAEncBitstreamAttrib *attribs, unsigned int num_attribs);
|
D | va_enc_h264.h | 737 VAEncBitstreamAttrib *attribs,
|
/hardware/intel/common/libmix/videodecoder/ |
D | VideoDecoderBase.cpp | 882 VASurfaceAttrib attribs[2]; in setupVA() local 915 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in setupVA() 916 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in setupVA() 917 attribs[0].value.type = VAGenericValueTypeInteger; in setupVA() 918 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_ANDROID_GRALLOC; in setupVA() 920 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in setupVA() 921 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in setupVA() 922 attribs[1].value.type = VAGenericValueTypePointer; in setupVA() 923 attribs[1].value.value.p = (void *)mVASurfaceAttrib; in setupVA() 932 attribs, in setupVA()
|
/hardware/intel/img/psb_video/src/ |
D | psb_drv_video.c | 2609 VASurfaceAttrib *attribs = NULL; local 2610 attribs = malloc(PSB_MAX_SURFACE_ATTRIBUTES *sizeof(VASurfaceAttrib)); 2611 if (attribs == NULL) 2614 attribs[i].type = VASurfaceAttribPixelFormat; 2615 attribs[i].value.type = VAGenericValueTypeInteger; 2616 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE; 2617 attribs[i].value.value.i = VA_FOURCC('N', 'V', '1', '2'); 2620 attribs[i].type = VASurfaceAttribMemoryType; 2621 attribs[i].value.type = VAGenericValueTypeInteger; 2622 attribs[i].flags = VA_SURFACE_ATTRIB_GETTABLE | VA_SURFACE_ATTRIB_SETTABLE; [all …]
|