j2kenc: remove duplicate debug functions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-12-05 19:29:00 +01:00
parent 9bb188da96
commit 7c2481f2d7

View File

@ -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)