Lines Matching refs:currentSurface
1425 …oDecoderBase::drainDecodingErrors(VideoErrorBuffer *outErrBuf, VideoRenderBuffer *currentSurface) { in drainDecodingErrors() argument
1426 if (mErrReportEnabled && outErrBuf && currentSurface) { in drainDecodingErrors()
1427 memcpy(outErrBuf, &(currentSurface->errBuf), sizeof(VideoErrorBuffer)); in drainDecodingErrors()
1429 currentSurface->errBuf.errorNumber = 0; in drainDecodingErrors()
1430 currentSurface->errBuf.timeStamp = INVALID_PTS; in drainDecodingErrors()
1436 void VideoDecoderBase::fillDecodingErrors(VideoRenderBuffer *currentSurface) { in fillDecodingErrors() argument
1440 currentSurface->errBuf.timeStamp = currentSurface->timeStamp; in fillDecodingErrors()
1443 …ret = vaQuerySurfaceError(mVADisplay, currentSurface->surface, VA_STATUS_ERROR_DECODING_ERROR, (vo… in fillDecodingErrors()
1449 int offset = 0x1 & currentSurface->errBuf.errorNumber;// offset is either 0 or 1 in fillDecodingErrors()
1452 currentSurface->errBuf.errorNumber++; in fillDecodingErrors()
1453 currentSurface->errBuf.errorArray[i + offset].type = DecodeMBError; in fillDecodingErrors()
1454 …currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.start_mb = err_drv_output[i].start… in fillDecodingErrors()
1455 … currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.end_mb = err_drv_output[i].end_mb; in fillDecodingErrors()
1456 …currentSurface->errBuf.errorArray[i + offset].num_mbs = err_drv_output[i].end_mb - err_drv_output[… in fillDecodingErrors()
1458 currentSurface->errBuf.errorNumber - 1, in fillDecodingErrors()
1459 currentSurface->errBuf.errorArray[i + offset].type, in fillDecodingErrors()
1460 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.start_mb, in fillDecodingErrors()
1461 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.end_mb); in fillDecodingErrors()
1465 __FUNCTION__, currentSurface->errBuf.errorNumber, currentSurface->timeStamp); in fillDecodingErrors()