Lines Matching refs:result
125 * @return result code: 0 - OK, -1 = error (invalid codebook descriptor)
201 * @return comparison result: 0 - equal, 1 - not equal
213 int i, result;
241 result = ivi_create_huff_from_desc(&huff_tab->cust_desc,
243 if (result) {
248 return result;
594 * @return result code: 0 - OK, -1 = error (corrupted blocks data)
893 * (subtracted in the encoder) and clipping the result.
939 * @return result code: 0 = OK, -1 = error
944 int result, i, t, idx1, idx2, pos;
965 result = ctx->decode_band_hdr(ctx, band, avctx);
966 if (result) {
968 result);
969 return result;
1003 result = ivi_process_empty_tile(avctx, band, tile,
1005 if (result < 0)
1012 result = AVERROR_INVALIDDATA;
1016 result = ctx->decode_mb_info(ctx, band, tile, avctx);
1017 if (result < 0)
1020 result = ivi_decode_blocks(&ctx->gb, band, tile, avctx);
1021 if (result < 0) {
1030 result = AVERROR_INVALIDDATA;
1065 return result;
1074 int result, p, b;
1076 result = init_get_bits8(&ctx->gb, buf, buf_size);
1077 if (result < 0)
1078 return result;
1082 result = ctx->decode_pic_hdr(ctx, avctx);
1083 if (result) {
1085 "Error while decoding picture header: %d\n", result);
1086 return result;
1118 result = decode_band(ctx, &ctx->planes[p].bands[b], avctx);
1119 if (result < 0) {
1122 return result;
1142 result = ff_set_dimensions(avctx, ctx->planes[0].width, ctx->planes[0].height);
1143 if (result < 0)
1144 return result;
1146 if ((result = ff_get_buffer(avctx, frame, 0)) < 0)
1147 return result;