Lines Matching refs:currentSurface
1575 void VideoDecoderBase::drainDecodingErrors(VideoErrorBuffer *outErrBuf, VideoRenderBuffer *currentSurface) {
1576 if (mErrReportEnabled && outErrBuf && currentSurface) {
1577 memcpy(outErrBuf, &(currentSurface->errBuf), sizeof(VideoErrorBuffer));
1579 currentSurface->errBuf.errorNumber = 0;
1580 currentSurface->errBuf.timeStamp = INVALID_PTS;
1586 void VideoDecoderBase::fillDecodingErrors(VideoRenderBuffer *currentSurface) {
1590 currentSurface->errBuf.timeStamp = currentSurface->timeStamp;
1593 ret = vaQuerySurfaceError(mVADisplay, currentSurface->surface, VA_STATUS_ERROR_DECODING_ERROR, (void **)&err_drv_output);
1599 int offset = 0x1 & currentSurface->errBuf.errorNumber;// offset is either 0 or 1
1602 currentSurface->errBuf.errorNumber++;
1603 currentSurface->errBuf.errorArray[i + offset].type = DecodeMBError;
1604 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.start_mb = err_drv_output[i].start_mb;
1605 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.end_mb = err_drv_output[i].end_mb;
1606 currentSurface->errBuf.errorArray[i + offset].num_mbs = err_drv_output[i].end_mb - err_drv_output[i].start_mb + 1;
1608 currentSurface->errBuf.errorNumber - 1,
1609 currentSurface->errBuf.errorArray[i + offset].type,
1610 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.start_mb,
1611 currentSurface->errBuf.errorArray[i + offset].error_data.mb_pos.end_mb);
1615 __FUNCTION__, currentSurface->errBuf.errorNumber, currentSurface->timeStamp);