Lines Matching refs:renderBuffer
221 if (p->renderBuffer.flag & IS_RESOLUTION_CHANGE) { in flush()
311 …vaSetTimestampForSurface(mVADisplay, outputByPos->renderBuffer.surface, outputByPos->renderBuffer.… in getOutput()
313 vaSyncSurface(mVADisplay, outputByPos->renderBuffer.surface); in getOutput()
314 fillDecodingErrors(&(outputByPos->renderBuffer)); in getOutput()
317 outputByPos->renderBuffer.flag |= IS_EOS; in getOutput()
319 drainDecodingErrors(outErrBuf, &(outputByPos->renderBuffer)); in getOutput()
321 return &(outputByPos->renderBuffer); in getOutput()
356 …vaSetTimestampForSurface(mVADisplay, output->renderBuffer.surface, output->renderBuffer.timeStamp); in getOutput()
359 vaSyncSurface(mVADisplay, output->renderBuffer.surface); in getOutput()
360 fillDecodingErrors(&(output->renderBuffer)); in getOutput()
364 output->renderBuffer.flag |= IS_EOS; in getOutput()
367 drainDecodingErrors(outErrBuf, &(output->renderBuffer)); in getOutput()
369 return &(output->renderBuffer); in getOutput()
378 if ((uint64_t)(p->renderBuffer.timeStamp) <= pts) { in findOutputByPts()
380 pts = p->renderBuffer.timeStamp; in findOutputByPts()
577 buffer->renderBuffer.renderDone == true) { in checkBufferAvail()
579 if (buffer->renderBuffer.driverRenderDone == true) in checkBufferAvail()
605 …er->asReferernce == false && acquiredBuffer->renderBuffer.renderDone == true && acquiredBuffer->re… in acquireSurfaceBuffer()
615 if (temp->renderBuffer.surface == mSurfaces[nextAcquire] && in acquireSurfaceBuffer()
616 temp->renderBuffer.renderDone == false) { in acquireSurfaceBuffer()
644 mAcquiredBuffer->renderBuffer.surface = mSurfaces[mSurfaceAcquirePos]; in acquireSurfaceBuffer()
648 mAcquiredBuffer->renderBuffer.timeStamp = INVALID_PTS; in acquireSurfaceBuffer()
649 mAcquiredBuffer->renderBuffer.display = mVADisplay; in acquireSurfaceBuffer()
650 mAcquiredBuffer->renderBuffer.flag = 0; in acquireSurfaceBuffer()
651 mAcquiredBuffer->renderBuffer.renderDone = false; in acquireSurfaceBuffer()
653 mAcquiredBuffer->renderBuffer.errBuf.errorNumber = 0; in acquireSurfaceBuffer()
654 mAcquiredBuffer->renderBuffer.errBuf.timeStamp = INVALID_PTS; in acquireSurfaceBuffer()
673 mAcquiredBuffer->renderBuffer.renderDone = false; in outputSurfaceBuffer()
675 mAcquiredBuffer->renderBuffer.renderDone = true; in outputSurfaceBuffer()
723 mAcquiredBuffer->renderBuffer.renderDone = true; in releaseSurfaceBuffer()
732 mOutputHead->renderBuffer.renderDone = true; in flushSurfaceBuffers()
771 vaStatus = vaSyncSurface(mVADisplay, mAcquiredBuffer->renderBuffer.surface); in endDecodingFrame()
1044 mSurfaceBuffers[i].renderBuffer.graphicBufferIndex = i; in setupVA()
1065 if (mSurfaceBuffers[i].renderBuffer.rawData) { in terminateVA()
1066 if (mSurfaceBuffers[i].renderBuffer.rawData->data) { in terminateVA()
1067 delete [] mSurfaceBuffers[i].renderBuffer.rawData->data; in terminateVA()
1069 delete mSurfaceBuffers[i].renderBuffer.rawData; in terminateVA()
1197 Decode_Status VideoDecoderBase::getRawDataFromSurface(VideoRenderBuffer *renderBuffer, uint8_t *pRa… in getRawDataFromSurface() argument
1202 renderBuffer = &(mAcquiredBuffer->renderBuffer); in getRawDataFromSurface()
1207 vaStatus = vaSyncSurface(renderBuffer->display, renderBuffer->surface); in getRawDataFromSurface()
1210 vaStatus = vaDeriveImage(renderBuffer->display, renderBuffer->surface, &vaImage); in getRawDataFromSurface()
1214 vaStatus = vaMapBuffer(renderBuffer->display, vaImage.buf, &pBuf); in getRawDataFromSurface()
1230 if (renderBuffer->rawData == NULL) { in getRawDataFromSurface()
1236 renderBuffer->rawData = rawData; in getRawDataFromSurface()
1238 rawData = renderBuffer->rawData; in getRawDataFromSurface()
1303 vaStatus = vaUnmapBuffer(renderBuffer->display, vaImage.buf); in getRawDataFromSurface()
1306 vaStatus = vaDestroyImage(renderBuffer->display, vaImage.image_id); in getRawDataFromSurface()
1377 mSurfaceBuffers[i].renderBuffer.display = mVADisplay; in initSurfaceBuffer()
1378 … mSurfaceBuffers[i].renderBuffer.surface = VA_INVALID_SURFACE; // set in acquireSurfaceBuffer in initSurfaceBuffer()
1379 mSurfaceBuffers[i].renderBuffer.flag = 0; in initSurfaceBuffer()
1380 mSurfaceBuffers[i].renderBuffer.scanFormat = VA_FRAME_PICTURE; in initSurfaceBuffer()
1381 mSurfaceBuffers[i].renderBuffer.timeStamp = 0; in initSurfaceBuffer()
1387 mSurfaceBuffers[i].renderBuffer.rawData = NULL; in initSurfaceBuffer()
1392 … mSurfaceBuffers[i].renderBuffer.graphicBufferHandle = mConfigBuffer.graphicBufferHandler[i]; in initSurfaceBuffer()
1393 mSurfaceBuffers[i].renderBuffer.renderDone = false; //default false in initSurfaceBuffer()
1395 …gnalBufferPre[j] != NULL && mSignalBufferPre[j] == mSurfaceBuffers[i].renderBuffer.graphicBufferHa… in initSurfaceBuffer()
1396 mSurfaceBuffers[i].renderBuffer.renderDone = true; in initSurfaceBuffer()
1403 mSurfaceBuffers[i].renderBuffer.renderDone = false; in initSurfaceBuffer()
1406 mSurfaceBuffers[i].renderBuffer.graphicBufferHandle = NULL; in initSurfaceBuffer()
1407 mSurfaceBuffers[i].renderBuffer.renderDone = true; in initSurfaceBuffer()
1409 mSurfaceBuffers[i].renderBuffer.graphicBufferIndex = i; in initSurfaceBuffer()
1435 … mSurfaceBuffers[mMetaDataBuffersNum].renderBuffer.graphicBufferHandle = graphichandler; in signalRenderDone()
1436 … mSurfaceBuffers[mMetaDataBuffersNum].renderBuffer.graphicBufferIndex = mMetaDataBuffersNum; in signalRenderDone()
1462 if (mSurfaceBuffers[i].renderBuffer.graphicBufferHandle == graphichandler) { in signalRenderDone()
1463 mSurfaceBuffers[i].renderBuffer.renderDone = true; in signalRenderDone()
1490 surface->renderBuffer.driverRenderDone = true; in querySurfaceRenderStatus()
1493 if (surface->renderBuffer.surface != VA_INVALID_SURFACE && in querySurfaceRenderStatus()
1496 vaStat = vaQuerySurfaceStatus(mVADisplay, surface->renderBuffer.surface, &surfStat); in querySurfaceRenderStatus()
1499 surface->renderBuffer.driverRenderDone = false; in querySurfaceRenderStatus()