Lines Matching refs:currentSurface
1576 …oDecoderBase::drainDecodingErrors(VideoErrorBuffer *outErrBuf, VideoRenderBuffer *currentSurface) { in drainDecodingErrors() argument
1577 if (mErrReportEnabled && outErrBuf && currentSurface) { in drainDecodingErrors()
1578 memcpy(outErrBuf, &(currentSurface->errBuf), sizeof(VideoErrorBuffer)); in drainDecodingErrors()
1580 currentSurface->errBuf.errorNumber = 0; in drainDecodingErrors()
1581 currentSurface->errBuf.timeStamp = INVALID_PTS; in drainDecodingErrors()
1587 void VideoDecoderBase::fillDecodingErrors(VideoRenderBuffer *currentSurface) { in fillDecodingErrors() argument
1591 currentSurface->errBuf.timeStamp = currentSurface->timeStamp; in fillDecodingErrors()
1594 …ret = vaQuerySurfaceError(mVADisplay, currentSurface->surface, VA_STATUS_ERROR_DECODING_ERROR, (vo… in fillDecodingErrors()
1600 int offset = 0x1 & currentSurface->errBuf.errorNumber;// offset is either 0 or 1 in fillDecodingErrors()
1603 currentSurface->errBuf.errorNumber++; in fillDecodingErrors()
1604 currentSurface->errBuf.errorArray[i + offset].type = DecodeMBError; in fillDecodingErrors()
1605 …currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.start_mb = err_drv_output[i].start… in fillDecodingErrors()
1606 … currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.end_mb = err_drv_output[i].end_mb; in fillDecodingErrors()
1607 …currentSurface->errBuf.errorArray[i + offset].num_mbs = err_drv_output[i].end_mb - err_drv_output[… in fillDecodingErrors()
1609 currentSurface->errBuf.errorNumber - 1, in fillDecodingErrors()
1610 currentSurface->errBuf.errorArray[i + offset].type, in fillDecodingErrors()
1611 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.start_mb, in fillDecodingErrors()
1612 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.end_mb); in fillDecodingErrors()
1616 __FUNCTION__, currentSurface->errBuf.errorNumber, currentSurface->timeStamp); in fillDecodingErrors()