Lines Matching defs:res
78 int res = -1;
100 res = av_parse_video_size(&w, &h, argv[i + 1]);
101 if (res < 0) {
143 res = av_image_fill_linesizes(rgbStride, inFormat, w);
144 if (res < 0) {
199 res = av_image_fill_linesizes(dstStride, dstFormat, w);
200 if (res < 0) {
222 res = sws_scale(sws, (const uint8_t *const *)rgbIn, rgbStride, 0, h, dst, dstStride);
223 if (res < 0 || res != h) {
225 res = -1;
238 res = sws_scale(sws, (const uint8_t *const *)dst, dstStride, 0, h, rgbOut, rgbStride);
239 if (res < 0 || res != h) {
241 res = -1;
282 res = 0;
295 return res;