mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02: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);
|
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)
|
static void printcomp(J2kComponent *comp)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < comp->y1 - comp->y0; 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)
|
static void dump(J2kEncoderContext *s, FILE *fd)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user