Lines Matching refs:rawData
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()
1229 VideoFrameRawData *rawData = NULL; in getRawDataFromSurface() local
1230 if (renderBuffer->rawData == NULL) { in getRawDataFromSurface()
1231 rawData = new VideoFrameRawData; in getRawDataFromSurface()
1232 if (rawData == NULL) { in getRawDataFromSurface()
1235 memset(rawData, 0, sizeof(VideoFrameRawData)); in getRawDataFromSurface()
1236 renderBuffer->rawData = rawData; in getRawDataFromSurface()
1238 rawData = renderBuffer->rawData; in getRawDataFromSurface()
1241 if (rawData->data != NULL && rawData->size != size) { in getRawDataFromSurface()
1242 delete [] rawData->data; in getRawDataFromSurface()
1243 rawData->data = NULL; in getRawDataFromSurface()
1244 rawData->size = 0; in getRawDataFromSurface()
1246 if (rawData->data == NULL) { in getRawDataFromSurface()
1247 rawData->data = new uint8_t [size]; in getRawDataFromSurface()
1248 if (rawData->data == NULL) { in getRawDataFromSurface()
1253 rawData->own = true; // allocated by this library in getRawDataFromSurface()
1254 rawData->width = cropWidth; in getRawDataFromSurface()
1255 rawData->height = cropHeight; in getRawDataFromSurface()
1256 rawData->pitch[0] = cropWidth; in getRawDataFromSurface()
1257 rawData->pitch[1] = cropWidth; in getRawDataFromSurface()
1258 rawData->pitch[2] = 0; // interleaved U/V, two planes in getRawDataFromSurface()
1259 rawData->offset[0] = 0; in getRawDataFromSurface()
1260 rawData->offset[1] = cropWidth * cropHeight; in getRawDataFromSurface()
1261 rawData->offset[2] = cropWidth * cropHeight * 3 / 2; in getRawDataFromSurface()
1262 rawData->size = size; in getRawDataFromSurface()
1263 rawData->fourcc = 'NV12'; in getRawDataFromSurface()
1265 pRawData = rawData->data; in getRawDataFromSurface()
1387 mSurfaceBuffers[i].renderBuffer.rawData = NULL; in initSurfaceBuffer()