• Home
  • Raw
  • Download

Lines Matching refs:attribs

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()
770 VASurfaceAttrib attribs[2]; in CreateNewVASurface() local
792 attribs[0].type = (VASurfaceAttribType)VASurfaceAttribMemoryType; in CreateNewVASurface()
793 attribs[0].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateNewVASurface()
794 attribs[0].value.type = VAGenericValueTypeInteger; in CreateNewVASurface()
795 attribs[0].value.value.i = VA_SURFACE_ATTRIB_MEM_TYPE_VA; in CreateNewVASurface()
797 attribs[1].type = (VASurfaceAttribType)VASurfaceAttribExternalBufferDescriptor; in CreateNewVASurface()
798 attribs[1].flags = VA_SURFACE_ATTRIB_SETTABLE; in CreateNewVASurface()
799 attribs[1].value.type = VAGenericValueTypePointer; in CreateNewVASurface()
800 attribs[1].value.value.p = (void *)&extbuf; in CreateNewVASurface()
803 height, &surface, 1, attribs, 2); in CreateNewVASurface()