Commit 7c2481f2 authored by Michael Niedermayer's avatar Michael Niedermayer

j2kenc: remove duplicate debug functions

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9bb188da
......@@ -94,27 +94,11 @@ static void nspaces(FILE *fd, int n)
while(n--) putc(' ', fd);
}
static void printv(int *tab, int l)
{
int i;
for (i = 0; i < l; i++)
printf("%.3d ", tab[i]);
printf("\n");
}
static void printu(uint8_t *tab, int l)
{
int i;
for (i = 0; i < l; i++)
printf("%.3hd ", tab[i]);
printf("\n");
}
static void printcomp(J2kComponent *comp)
{
int i;
for (i = 0; i < comp->y1 - comp->y0; i++)
printv(comp->data + i * (comp->x1 - comp->x0), comp->x1 - comp->x0);
ff_j2k_printv(comp->data + i * (comp->x1 - comp->x0), comp->x1 - comp->x0);
}
static void dump(J2kEncoderContext *s, FILE *fd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment