Lines Matching defs:ret
136 int ret = --_refs;
137 if (!ret)
139 return ret;
218 uint8_t ret = (line < 313) << 5;
220 ret += line;
222 ret += (line - 313);
223 return ret;
561 int ret;
576 ret = 1;
579 ret = 0;
586 return ret;
732 int ret = --_refs;
733 if (!ret)
735 return ret;
795 int ret = AVERROR(ENOENT);
807 ret = av_timecode_init_from_components(tc, frame_rate, flags, hh, mm, ss, ff, avctx);
811 return ret;
817 int ret;
824 ret = get_bmd_timecode(avctx, tc, frame_rate, bmdTimecodeRP188HighFrameRate, videoFrame);
825 if (ret == AVERROR(ENOENT))
827 ret = get_bmd_timecode(avctx, tc, frame_rate, bmdTimecodeRP188VITC1, videoFrame);
828 if (ret == AVERROR(ENOENT))
829 ret = get_bmd_timecode(avctx, tc, frame_rate, bmdTimecodeRP188VITC2, videoFrame);
830 if (ret == AVERROR(ENOENT))
831 ret = get_bmd_timecode(avctx, tc, frame_rate, bmdTimecodeRP188LTC, videoFrame);
833 ret = get_bmd_timecode(avctx, tc, frame_rate, ctx->tc_format, videoFrame);
835 return ret;
1171 int ret;
1223 ret = ff_decklink_init_device(avctx, avctx->url);
1224 if (ret < 0)
1225 return ret;
1231 ret = AVERROR(EIO);
1237 ret = AVERROR(EIO);
1244 ret = AVERROR_EXIT;
1249 ret = (ctx->dli->SetCallback(input_callback) == S_OK ? 0 : AVERROR_EXTERNAL);
1251 if (ret < 0) {
1257 ret = (ctx->dli->SetVideoInputFrameMemoryAllocator(allocator) == S_OK ? 0 : AVERROR_EXTERNAL);
1259 if (ret < 0) {
1267 ret = AVERROR(EIO);
1277 ret = AVERROR(EIO);
1284 ret = AVERROR(ENOSYS);
1293 ret = AVERROR(ENOMEM);
1306 ret = AVERROR(ENOMEM);
1345 ret = AVERROR(EINVAL);
1369 ret = AVERROR(ENOMEM);
1384 ret = AVERROR(ENOMEM);
1400 ret = AVERROR(EIO);
1410 ret = AVERROR(EIO);
1418 ret = AVERROR(EIO);
1426 return ret;