Lines Matching refs:ret

341     int i, ret = 0;
375 ret = av_hwdevice_ctx_init(child_device_ref);
376 if (ret < 0) {
383 ret = AVERROR(ENOMEM);
414 ret = av_hwframe_ctx_init(child_frames_ref);
415 if (ret < 0) {
471 return ret;
515 int i, ret = 0;
533 ret = qsv_init_surface(ctx, &s->surfaces_internal[i]);
534 if (ret < 0)
535 return ret;
539 ret = qsv_init_child_ctx(ctx);
540 if (ret < 0)
541 return ret;
694 int i, ret;
703 ret = qsv_init_pool(ctx, fourcc);
704 if (ret < 0) {
706 return ret;
864 int ret = 0;
904 ret = ff_hwframe_map_create(s->child_frames_ref,
906 if (ret < 0)
907 return ret;
950 ret = av_hwframe_map(dst, dummy, flags);
955 return ret;
967 int ret;
980 ret = download ? av_hwframe_transfer_data(dst, dummy, 0) :
989 return ret;
1040 int ret = 0;
1050 ret = qsv_init_internal_session(ctx, session, upload);
1058 return ret;
1070 int ret = 0;
1076 ret = qsv_internal_session_check_init(ctx, 0);
1077 if (ret < 0)
1078 return ret;
1093 ret = av_frame_get_buffer(tmp_frame, 0);
1094 if (ret < 0)
1095 return ret;
1134 ret = av_frame_copy(dst, tmp_frame);
1137 if (ret < 0)
1138 return ret;
1154 int ret = 0;
1160 ret = qsv_internal_session_check_init(ctx, 1);
1161 if (ret < 0)
1162 return ret;
1177 ret = av_frame_get_buffer(tmp_frame, 0);
1178 if (ret < 0)
1179 return ret;
1181 ret = av_frame_copy(tmp_frame, src);
1182 if (ret < 0) {
1184 return ret;
1186 ret = qsv_fill_border(tmp_frame, src);
1187 if (ret < 0) {
1189 return ret;
1487 int ret;
1518 ret = AVERROR(ENOSYS);
1526 ret = AVERROR_UNKNOWN;
1533 ret = AVERROR_UNKNOWN;
1547 ret = AVERROR_UNKNOWN;
1555 ret = AVERROR_UNKNOWN;
1564 return ret;
1587 int ret;
1651 ret = av_hwdevice_ctx_create(&priv->child_device_ctx, child_device_type,
1655 if (ret < 0)
1656 return ret;