mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
Output decoded residues
This commit is contained in:
parent
8f8dcf4486
commit
6e4a86a3f8
@ -290,6 +290,8 @@ typedef struct WmallDecodeCtx {
|
||||
#define dprintf(pctx, ...) av_log(pctx, AV_LOG_DEBUG, __VA_ARGS__)
|
||||
|
||||
|
||||
//static int num_logged_tiles;
|
||||
|
||||
/**
|
||||
*@brief helper function to print the most important members of the context
|
||||
*@param s context
|
||||
@ -338,6 +340,7 @@ static av_cold int decode_init(AVCodecContext *avctx)
|
||||
int log2_max_num_subframes;
|
||||
int num_possible_block_sizes;
|
||||
|
||||
//num_logged_tiles = 0;
|
||||
s->avctx = avctx;
|
||||
dsputil_init(&s->dsp, avctx);
|
||||
init_put_bits(&s->pb, s->frame_data, MAX_FRAMESIZE);
|
||||
@ -697,8 +700,12 @@ static int decode_channel_residues(WmallDecodeCtx *s, int ch, int tile_size)
|
||||
residue = residue >> 1;
|
||||
s->channel_residues[ch][i] = residue;
|
||||
|
||||
//if (num_logged_tiles < 1)
|
||||
av_log(0, 0, "%4d ", residue);
|
||||
// dprintf(s->avctx, "%5d: %5d %10d %12d %12d %5d %-16d %04x\n",i, quo, ave_mean, s->ave_sum[ch], rem, rem_bits, s->channel_residues[ch][i], show_bits(&s->gb, 16));
|
||||
}
|
||||
av_log(0, 0, "\n");
|
||||
//num_logged_tiles++;
|
||||
|
||||
return 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user