Lines Matching refs:attribs
697 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()
772 VASurfaceAttrib attribs[2]; in CreateNewVASurface() local
794 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in CreateNewVASurface()
795 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateNewVASurface()
796 attribs[0].value.type = VAGenericValueTypeInteger; in CreateNewVASurface()
797 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_VA; in CreateNewVASurface()
799 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in CreateNewVASurface()
800 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateNewVASurface()
801 attribs[1].value.type = VAGenericValueTypePointer; in CreateNewVASurface()
802 attribs[1].value.value.p = (void *)&extbuf; in CreateNewVASurface()
805 height, &surface, 1, attribs, 2); in CreateNewVASurface()