Lines Matching refs:vaStatus
71 VAStatus vaStatus = VA_STATUS_SUCCESS; in VideoEncoderBase() local
86 vaStatus = vaInitialize(mVADisplay, &majorVersion, &minorVersion); in VideoEncoderBase()
88 if (vaStatus != VA_STATUS_SUCCESS) { in VideoEncoderBase()
89 LOG_E( "Failed vaInitialize, vaStatus = %d\n", vaStatus); in VideoEncoderBase()
96 VAStatus vaStatus = VA_STATUS_SUCCESS; in ~VideoEncoderBase() local
100 vaStatus = vaTerminate(mVADisplay); in ~VideoEncoderBase()
102 if (vaStatus != VA_STATUS_SUCCESS) { in ~VideoEncoderBase()
103 LOG_W( "Failed vaTerminate, vaStatus = %d\n", vaStatus); in ~VideoEncoderBase()
116 VAStatus vaStatus = VA_STATUS_SUCCESS; in start() local
151 vaStatus = vaGetConfigAttributes(mVADisplay, mComParams.profile, in start()
207 vaStatus = vaCreateConfig( in start()
282 vaStatus = vaCreateContext(mVADisplay, mVAConfig, in start()
307 vaStatus = vaCreateBuffer(mVADisplay, mVAContext, in start()
327 VAStatus vaStatus = VA_STATUS_SUCCESS; in encode() local
419 vaStatus = vaBeginPicture(mVADisplay, mVAContext, task->enc_surface); in encode()
425 vaStatus = vaEndPicture(mVADisplay, mVAContext); in encode()
464 VAStatus vaStatus = VA_STATUS_SUCCESS; in getOutput() local
515 vaStatus = vaMapBuffer (mVADisplay, mOutCodedBuffer, (void **)&mOutCodedBufferPtr); in getOutput()
520 … vaStatus = vaQuerySurfaceStatus(mVADisplay, mCurOutputTask->enc_surface, &vaSurfaceStatus); in getOutput()
530 … vaStatus = vaQuerySurfaceStatus(mVADisplay, mCurOutputTask->enc_surface, &vaSurfaceStatus); in getOutput()
582 vaStatus = vaUnmapBuffer(mVADisplay, mOutCodedBuffer); in getOutput()
610 VAStatus vaStatus = VA_STATUS_SUCCESS; in stop() local
651 vaStatus = vaDestroyContext(mVADisplay, mVAContext); in stop()
657 vaStatus = vaDestroyConfig(mVADisplay, mVAConfig); in stop()
681 VAStatus vaStatus = VA_STATUS_SUCCESS; in prepareForOutput() local
690 vaStatus = vaMapBuffer (mVADisplay, mOutCodedBuffer, (void **)&mOutCodedBufferPtr); in prepareForOutput()
780 VAStatus vaStatus = VA_STATUS_SUCCESS; in cleanupForOutput() local
784 vaStatus = vaUnmapBuffer(mVADisplay, mOutCodedBuffer); in cleanupForOutput()
805 VAStatus vaStatus = VA_STATUS_SUCCESS; in queryProfileLevelConfig() local
812 vaStatus = vaQueryConfigEntrypoints(dpy, profile, entryPtr, &entryPtrNum); in queryProfileLevelConfig()
825 VAStatus vaStatus = VA_STATUS_SUCCESS; in queryAutoReferenceConfig() local
830 vaStatus = vaGetConfigAttributes(mVADisplay, profile, VAEntrypointEncSlice, &attrib_list, 1); in queryAutoReferenceConfig()
843 VAStatus vaStatus = VA_STATUS_SUCCESS; in querySupportedSurfaceMemTypes() local
850 vaStatus = vaQuerySurfaceAttributes(mVADisplay, mVAConfig, attribs, &num); in querySupportedSurfaceMemTypes()
858 vaStatus = vaQuerySurfaceAttributes(mVADisplay, mVAConfig, attribs, &num); in querySupportedSurfaceMemTypes()
1497 VAStatus vaStatus = VA_STATUS_SUCCESS; in getNewUsrptrFromSurface() local
1525 vaStatus = vaDeriveImage(mVADisplay, surface, &image); in getNewUsrptrFromSurface()
1528 vaStatus = vaMapBuffer(mVADisplay, image.buf, (void **) usrptr); in getNewUsrptrFromSurface()
1552 vaStatus = vaUnmapBuffer(mVADisplay, image.buf); in getNewUsrptrFromSurface()
1554 vaStatus = vaDestroyImage(mVADisplay, image.image_id); in getNewUsrptrFromSurface()
1560 vaStatus = vaDestroySurfaces(mVADisplay, &surface, 1); in getNewUsrptrFromSurface()
1788 VAStatus vaStatus = VA_STATUS_SUCCESS; in renderDynamicBitrate() local
1797 vaStatus = vaCreateBuffer(mVADisplay, mVAContext, in renderDynamicBitrate()
1805 vaStatus = vaMapBuffer(mVADisplay, miscParamBufferID, (void **)&miscEncParamBuf); in renderDynamicBitrate()
1839 vaStatus = vaUnmapBuffer(mVADisplay, miscParamBufferID); in renderDynamicBitrate()
1842 vaStatus = vaRenderPicture(mVADisplay, mVAContext, in renderDynamicBitrate()
1852 VAStatus vaStatus = VA_STATUS_SUCCESS; in renderDynamicFrameRate() local
1864 vaStatus = vaCreateBuffer(mVADisplay, mVAContext, in renderDynamicFrameRate()
1870 vaStatus = vaMapBuffer(mVADisplay, miscParamBufferID, (void **)&miscEncParamBuf); in renderDynamicFrameRate()
1879 vaStatus = vaUnmapBuffer(mVADisplay, miscParamBufferID); in renderDynamicFrameRate()
1882 vaStatus = vaRenderPicture(mVADisplay, mVAContext, &miscParamBufferID, 1); in renderDynamicFrameRate()
1891 VAStatus vaStatus = VA_STATUS_SUCCESS; in renderHrd() local
1897 vaStatus = vaCreateBuffer(mVADisplay, mVAContext, in renderHrd()
1903 vaStatus = vaMapBuffer(mVADisplay, miscParamBufferID, (void **)&miscEncParamBuf); in renderHrd()
1912 vaStatus = vaUnmapBuffer(mVADisplay, miscParamBufferID); in renderHrd()
1915 vaStatus = vaRenderPicture(mVADisplay, mVAContext, &miscParamBufferID, 1); in renderHrd()