Lines Matching defs:res
362 int res;
367 res = vpx_codec_control(&ctx->encoder, id, val);
368 if (res != VPX_CODEC_OK) {
395 int res;
400 res = vpx_codec_control(&ctx->encoder, id, val);
401 if (res != VPX_CODEC_OK) {
892 int res;
906 if ((res = vpx_codec_enc_config_default(iface, &enccfg, 0)) != VPX_CODEC_OK) {
908 vpx_codec_err_to_string(res));
1078 res = vpx_codec_enc_init(&ctx->encoder, iface, &enccfg, flags);
1079 if (res != VPX_CODEC_OK) {
1103 res = vpx_codec_enc_init(&ctx->encoder_alpha, iface, &enccfg_alpha, flags);
1104 if (res != VPX_CODEC_OK) {
1607 int res, coded_size;
1616 res = vpx_codec_enc_config_set(&ctx->encoder, &cfg);
1617 if (res != VPX_CODEC_OK) {
1634 res = realloc_alpha_uv(avctx, frame->width, frame->height);
1635 if (res < 0)
1636 return res;
1755 res = vpx_codec_encode(&ctx->encoder, rawimg, timestamp,
1757 if (res != VPX_CODEC_OK) {
1763 res = vpx_codec_encode(&ctx->encoder_alpha, rawimg_alpha, timestamp,
1765 if (res != VPX_CODEC_OK) {