Lines Matching refs:mSurfaceBuffers

55       mSurfaceBuffers(NULL),  in VideoDecoderBase()
430 if (mSurfaceBuffers[i].asReferernce) {
574 buffer = mSurfaceBuffers + i; in checkBufferAvail()
601 acquiredBuffer = mSurfaceBuffers + nextAcquire; in acquireSurfaceBuffer()
613 temp = mSurfaceBuffers + i; in acquireSurfaceBuffer()
1023 mSurfaceBuffers = new VideoSurfaceBuffer [mNumSurfaces]; in setupVA()
1024 if (mSurfaceBuffers == NULL) { in setupVA()
1044 mSurfaceBuffers[i].renderBuffer.graphicBufferIndex = i; in setupVA()
1063 if (mSurfaceBuffers) { in terminateVA()
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()
1071 if (mSurfaceBuffers[i].mappedData) { in terminateVA()
1073 delete mSurfaceBuffers[i].mappedData; in terminateVA()
1076 delete [] mSurfaceBuffers; in terminateVA()
1077 mSurfaceBuffers = NULL; in terminateVA()
1166 mSurfaceBuffers[i].mappedData = new VideoFrameRawData; in mapSurface()
1167 if (mSurfaceBuffers[i].mappedData == NULL) { in mapSurface()
1170 mSurfaceBuffers[i].mappedData->own = false; // derived from surface so can't be released in mapSurface()
1171 mSurfaceBuffers[i].mappedData->data = NULL; // specified during acquireSurfaceBuffer in mapSurface()
1172 mSurfaceBuffers[i].mappedData->fourcc = image.format.fourcc; in mapSurface()
1173 mSurfaceBuffers[i].mappedData->width = mVideoFormatInfo.width; in mapSurface()
1174 mSurfaceBuffers[i].mappedData->height = mVideoFormatInfo.height; in mapSurface()
1175 mSurfaceBuffers[i].mappedData->size = image.data_size; in mapSurface()
1177 mSurfaceBuffers[i].mappedData->pitch[pi] = image.pitches[pi]; in mapSurface()
1178 mSurfaceBuffers[i].mappedData->offset[pi] = image.offsets[pi]; in mapSurface()
1378 mSurfaceBuffers[i].renderBuffer.display = mVADisplay; in initSurfaceBuffer()
1379mSurfaceBuffers[i].renderBuffer.surface = VA_INVALID_SURFACE; // set in acquireSurfaceBuffer in initSurfaceBuffer()
1380 mSurfaceBuffers[i].renderBuffer.flag = 0; in initSurfaceBuffer()
1381 mSurfaceBuffers[i].renderBuffer.scanFormat = VA_FRAME_PICTURE; in initSurfaceBuffer()
1382 mSurfaceBuffers[i].renderBuffer.timeStamp = 0; in initSurfaceBuffer()
1383 mSurfaceBuffers[i].referenceFrame = false; in initSurfaceBuffer()
1384 mSurfaceBuffers[i].asReferernce= false; in initSurfaceBuffer()
1385 mSurfaceBuffers[i].pictureOrder = 0; in initSurfaceBuffer()
1386 mSurfaceBuffers[i].next = NULL; in initSurfaceBuffer()
1388 mSurfaceBuffers[i].renderBuffer.rawData = NULL; in initSurfaceBuffer()
1389 mSurfaceBuffers[i].mappedData = NULL; in initSurfaceBuffer()
1393mSurfaceBuffers[i].renderBuffer.graphicBufferHandle = mConfigBuffer.graphicBufferHandler[i]; in initSurfaceBuffer()
1394 mSurfaceBuffers[i].renderBuffer.renderDone = false; //default false in initSurfaceBuffer()
1396 …if(mSignalBufferPre[j] != NULL && mSignalBufferPre[j] == mSurfaceBuffers[i].renderBuffer.graphicBu… in initSurfaceBuffer()
1397 mSurfaceBuffers[i].renderBuffer.renderDone = true; in initSurfaceBuffer()
1404 mSurfaceBuffers[i].renderBuffer.renderDone = false; in initSurfaceBuffer()
1407 mSurfaceBuffers[i].renderBuffer.graphicBufferHandle = NULL; in initSurfaceBuffer()
1408 mSurfaceBuffers[i].renderBuffer.renderDone = true; in initSurfaceBuffer()
1410 mSurfaceBuffers[i].renderBuffer.graphicBufferIndex = i; in initSurfaceBuffer()
1436mSurfaceBuffers[mMetaDataBuffersNum].renderBuffer.graphicBufferHandle = graphichandler; in signalRenderDone()
1437mSurfaceBuffers[mMetaDataBuffersNum].renderBuffer.graphicBufferIndex = mMetaDataBuffersNum; in signalRenderDone()
1463 if (mSurfaceBuffers[i].renderBuffer.graphicBufferHandle == graphichandler) { in signalRenderDone()
1464 mSurfaceBuffers[i].renderBuffer.renderDone = true; in signalRenderDone()