Lines Matching defs:op_size
51 int64_t op_size[4]; // Opcodes size
428 static int get_opcodes(GetByteContext *gb, uint32_t *table, uint8_t *dst, int op_size, int nb_elements)
451 for (i = 0; i < op_size; i++) {
470 static int dxv_decompress_opcodes(GetByteContext *gb, void *dstp, size_t op_size)
477 bytestream2_get_buffer(gb, dstp, op_size);
480 memset(dstp, bytestream2_get_byte(gb), op_size);
488 ret = get_opcodes(gb, table, dstp, op_size, elements);
498 int op_size,
510 if (oi >= op_size)
796 unsigned op_size = bytestream2_get_le32(gb);
806 if (op_size > max_op_size)
808 skip = dxv_decompress_opcodes(gb, op_data, op_size);
822 ret = dxv_decompress_cgo(ctx, gb, tex_data, tex_size, op_data, &oi, op_size,
840 ctx->op_data[0], ctx->op_size[0]);
846 ctx->op_size[1], ctx->op_size[2]);
857 ctx->op_size[0], ctx->op_size[3]);
863 ctx->op_size[1], ctx->op_size[2]);
1187 ctx->op_size[0] = avctx->coded_width * avctx->coded_height / 16;
1188 ctx->op_size[1] = avctx->coded_width * avctx->coded_height / 32;
1189 ctx->op_size[2] = avctx->coded_width * avctx->coded_height / 32;
1190 ctx->op_size[3] = avctx->coded_width * avctx->coded_height / 16;
1196 ret = av_reallocp(&ctx->op_data[i], ctx->op_size[i]);