mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 08:42:39 +00:00
j2kenc: remove duplicate debug functions
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9bb188da96
commit
7c2481f2d7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user