mirror of https://github.com/FFmpeg/FFmpeg.git
* qatar/master: (29 commits) amrwb: remove duplicate arguments from extrapolate_isf(). amrwb: error out early if mode is invalid. h264: change underread for 10bit QPEL to overread. matroska: check buffer size for RM-style byte reordering. vp8: disable mmx functions with sse/sse2 counterparts on x86-64. vp8: change int stride to ptrdiff_t stride. wma: fix invalid buffer size assumptions causing random overreads. Windows Media Audio Lossless decoder rv10/20: Fix slice overflow with checked bitstream reader. h263dec: Disallow width/height changing with frame threads. rv10/20: Fix a buffer overread caused by losing track of the remaining buffer size. rmdec: Honor .RMF tag size rather than assuming 18. g722: Fix the QMF scaling r3d: don't set codec timebase. electronicarts: set timebase for tgv video. electronicarts: parse the framerate for cmv video. ogg: don't set codec timebase electronicarts: don't set codec timebase avs: don't set codec timebase wavpack: Fix an integer overflow ... Conflicts: libavcodec/arm/vp8dsp_init_arm.c libavcodec/fraps.c libavcodec/h264.c libavcodec/mpeg4videodec.c libavcodec/mpegvideo.c libavcodec/msmpeg4.c libavcodec/pnmdec.c libavcodec/qpeg.c libavcodec/rawenc.c libavcodec/ulti.c libavcodec/vcr1.c libavcodec/version.h libavcodec/wmalosslessdec.c libavformat/electronicarts.c libswscale/ppc/yuv2rgb_altivec.c tests/ref/acodec/g722 tests/ref/fate/ea-cmv Merged-by: Michael Niedermayer <michaelni@gmx.at>pull/3/merge
commit
268098d8b2
80 changed files with 2375 additions and 2482 deletions
@ -0,0 +1,692 @@ |
||||
/*
|
||||
* MSMPEG4 encoder backend |
||||
* Copyright (c) 2001 Fabrice Bellard |
||||
* Copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at> |
||||
* |
||||
* msmpeg4v1 & v2 stuff by Michael Niedermayer <michaelni@gmx.at> |
||||
* |
||||
* This file is part of FFmpeg. |
||||
* |
||||
* FFmpeg is free software; you can redistribute it and/or |
||||
* modify it under the terms of the GNU Lesser General Public |
||||
* License as published by the Free Software Foundation; either |
||||
* version 2.1 of the License, or (at your option) any later version. |
||||
* |
||||
* FFmpeg is distributed in the hope that it will be useful, |
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
||||
* Lesser General Public License for more details. |
||||
* |
||||
* You should have received a copy of the GNU Lesser General Public |
||||
* License along with FFmpeg; if not, write to the Free Software |
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
||||
*/ |
||||
|
||||
/**
|
||||
* @file |
||||
* MSMPEG4 encoder backend |
||||
*/ |
||||
|
||||
#include <stdint.h> |
||||
#include <string.h> |
||||
|
||||
#include "libavutil/avutil.h" |
||||
#include "libavutil/mem.h" |
||||
#include "mpegvideo.h" |
||||
#include "msmpeg4.h" |
||||
#include "h263.h" |
||||
#include "mpeg4video.h" |
||||
#include "msmpeg4.h" |
||||
#include "msmpeg4data.h" |
||||
#include "put_bits.h" |
||||
#include "rl.h" |
||||
#include "vc1data.h" |
||||
|
||||
static uint8_t rl_length[NB_RL_TABLES][MAX_LEVEL+1][MAX_RUN+1][2]; |
||||
|
||||
/* build the table which associate a (x,y) motion vector to a vlc */ |
||||
static void init_mv_table(MVTable *tab) |
||||
{ |
||||
int i, x, y; |
||||
|
||||
tab->table_mv_index = av_malloc(sizeof(uint16_t) * 4096); |
||||
/* mark all entries as not used */ |
||||
for(i=0;i<4096;i++) |
||||
tab->table_mv_index[i] = tab->n; |
||||
|
||||
for(i=0;i<tab->n;i++) { |
||||
x = tab->table_mvx[i]; |
||||
y = tab->table_mvy[i]; |
||||
tab->table_mv_index[(x << 6) | y] = i; |
||||
} |
||||
} |
||||
|
||||
void ff_msmpeg4_code012(PutBitContext *pb, int n) |
||||
{ |
||||
if (n == 0) { |
||||
put_bits(pb, 1, 0); |
||||
} else { |
||||
put_bits(pb, 1, 1); |
||||
put_bits(pb, 1, (n >= 2)); |
||||
} |
||||
} |
||||
|
||||
static int get_size_of_code(MpegEncContext * s, RLTable *rl, int last, int run, int level, int intra){ |
||||
int size=0; |
||||
int code; |
||||
int run_diff= intra ? 0 : 1; |
||||
|
||||
code = get_rl_index(rl, last, run, level); |
||||
size+= rl->table_vlc[code][1]; |
||||
if (code == rl->n) { |
||||
int level1, run1; |
||||
|
||||
level1 = level - rl->max_level[last][run]; |
||||
if (level1 < 1) |
||||
goto esc2; |
||||
code = get_rl_index(rl, last, run, level1); |
||||
if (code == rl->n) { |
||||
esc2: |
||||
size++; |
||||
if (level > MAX_LEVEL) |
||||
goto esc3; |
||||
run1 = run - rl->max_run[last][level] - run_diff; |
||||
if (run1 < 0) |
||||
goto esc3; |
||||
code = get_rl_index(rl, last, run1, level); |
||||
if (code == rl->n) { |
||||
esc3: |
||||
/* third escape */ |
||||
size+=1+1+6+8; |
||||
} else { |
||||
/* second escape */ |
||||
size+= 1+1+ rl->table_vlc[code][1]; |
||||
} |
||||
} else { |
||||
/* first escape */ |
||||
size+= 1+1+ rl->table_vlc[code][1]; |
||||
} |
||||
} else { |
||||
size++; |
||||
} |
||||
return size; |
||||
} |
||||
|
||||
av_cold void ff_msmpeg4_encode_init(MpegEncContext *s) |
||||
{ |
||||
static int init_done=0; |
||||
int i; |
||||
|
||||
ff_msmpeg4_common_init(s); |
||||
if(s->msmpeg4_version>=4){ |
||||
s->min_qcoeff= -255; |
||||
s->max_qcoeff= 255; |
||||
} |
||||
|
||||
if (!init_done) { |
||||
/* init various encoding tables */ |
||||
init_done = 1; |
||||
init_mv_table(&ff_mv_tables[0]); |
||||
init_mv_table(&ff_mv_tables[1]); |
||||
for(i=0;i<NB_RL_TABLES;i++) |
||||
ff_init_rl(&ff_rl_table[i], ff_static_rl_table_store[i]); |
||||
|
||||
for(i=0; i<NB_RL_TABLES; i++){ |
||||
int level; |
||||
for (level = 1; level <= MAX_LEVEL; level++) { |
||||
int run; |
||||
for(run=0; run<=MAX_RUN; run++){ |
||||
int last; |
||||
for(last=0; last<2; last++){ |
||||
rl_length[i][level][run][last]= get_size_of_code(s, &ff_rl_table[ i], last, run, level, 0); |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
static void find_best_tables(MpegEncContext * s) |
||||
{ |
||||
int i; |
||||
int best = 0, best_size = INT_MAX; |
||||
int chroma_best = 0, best_chroma_size = INT_MAX; |
||||
|
||||
for(i=0; i<3; i++){ |
||||
int level; |
||||
int chroma_size=0; |
||||
int size=0; |
||||
|
||||
if(i>0){// ;)
|
||||
size++; |
||||
chroma_size++; |
||||
} |
||||
for(level=0; level<=MAX_LEVEL; level++){ |
||||
int run; |
||||
for(run=0; run<=MAX_RUN; run++){ |
||||
int last; |
||||
const int last_size= size + chroma_size; |
||||
for(last=0; last<2; last++){ |
||||
int inter_count = s->ac_stats[0][0][level][run][last] + s->ac_stats[0][1][level][run][last]; |
||||
int intra_luma_count = s->ac_stats[1][0][level][run][last]; |
||||
int intra_chroma_count= s->ac_stats[1][1][level][run][last]; |
||||
|
||||
if(s->pict_type==AV_PICTURE_TYPE_I){ |
||||
size += intra_luma_count *rl_length[i ][level][run][last]; |
||||
chroma_size+= intra_chroma_count*rl_length[i+3][level][run][last]; |
||||
}else{ |
||||
size+= intra_luma_count *rl_length[i ][level][run][last] |
||||
+intra_chroma_count*rl_length[i+3][level][run][last] |
||||
+inter_count *rl_length[i+3][level][run][last]; |
||||
} |
||||
} |
||||
if(last_size == size+chroma_size) break; |
||||
} |
||||
} |
||||
if(size<best_size){ |
||||
best_size= size; |
||||
best= i; |
||||
} |
||||
if(chroma_size<best_chroma_size){ |
||||
best_chroma_size= chroma_size; |
||||
chroma_best= i; |
||||
} |
||||
} |
||||
|
||||
// printf("type:%d, best:%d, qp:%d, var:%d, mcvar:%d, size:%d //\n",
|
||||
// s->pict_type, best, s->qscale, s->mb_var_sum, s->mc_mb_var_sum, best_size);
|
||||
|
||||
if(s->pict_type==AV_PICTURE_TYPE_P) chroma_best= best; |
||||
|
||||
memset(s->ac_stats, 0, sizeof(int)*(MAX_LEVEL+1)*(MAX_RUN+1)*2*2*2); |
||||
|
||||
s->rl_table_index = best; |
||||
s->rl_chroma_table_index= chroma_best; |
||||
|
||||
if(s->pict_type != s->last_non_b_pict_type){ |
||||
s->rl_table_index= 2; |
||||
if(s->pict_type==AV_PICTURE_TYPE_I) |
||||
s->rl_chroma_table_index= 1; |
||||
else |
||||
s->rl_chroma_table_index= 2; |
||||
} |
||||
|
||||
} |
||||
|
||||
/* write MSMPEG4 compatible frame header */ |
||||
void ff_msmpeg4_encode_picture_header(MpegEncContext * s, int picture_number) |
||||
{ |
||||
find_best_tables(s); |
||||
|
||||
avpriv_align_put_bits(&s->pb); |
||||
put_bits(&s->pb, 2, s->pict_type - 1); |
||||
|
||||
put_bits(&s->pb, 5, s->qscale); |
||||
if(s->msmpeg4_version<=2){ |
||||
s->rl_table_index = 2; |
||||
s->rl_chroma_table_index = 2; |
||||
} |
||||
|
||||
s->dc_table_index = 1; |
||||
s->mv_table_index = 1; /* only if P frame */ |
||||
s->use_skip_mb_code = 1; /* only if P frame */ |
||||
s->per_mb_rl_table = 0; |
||||
if(s->msmpeg4_version==4) |
||||
s->inter_intra_pred= (s->width*s->height < 320*240 && s->bit_rate<=II_BITRATE && s->pict_type==AV_PICTURE_TYPE_P); |
||||
//printf("%d %d %d %d %d\n", s->pict_type, s->bit_rate, s->inter_intra_pred, s->width, s->height);
|
||||
|
||||
if (s->pict_type == AV_PICTURE_TYPE_I) { |
||||
s->slice_height= s->mb_height/1; |
||||
put_bits(&s->pb, 5, 0x16 + s->mb_height/s->slice_height); |
||||
|
||||
if(s->msmpeg4_version==4){ |
||||
ff_msmpeg4_encode_ext_header(s); |
||||
if(s->bit_rate>MBAC_BITRATE) |
||||
put_bits(&s->pb, 1, s->per_mb_rl_table); |
||||
} |
||||
|
||||
if(s->msmpeg4_version>2){ |
||||
if(!s->per_mb_rl_table){ |
||||
ff_msmpeg4_code012(&s->pb, s->rl_chroma_table_index); |
||||
ff_msmpeg4_code012(&s->pb, s->rl_table_index); |
||||
} |
||||
|
||||
put_bits(&s->pb, 1, s->dc_table_index); |
||||
} |
||||
} else { |
||||
put_bits(&s->pb, 1, s->use_skip_mb_code); |
||||
|
||||
if(s->msmpeg4_version==4 && s->bit_rate>MBAC_BITRATE) |
||||
put_bits(&s->pb, 1, s->per_mb_rl_table); |
||||
|
||||
if(s->msmpeg4_version>2){ |
||||
if(!s->per_mb_rl_table) |
||||
ff_msmpeg4_code012(&s->pb, s->rl_table_index); |
||||
|
||||
put_bits(&s->pb, 1, s->dc_table_index); |
||||
|
||||
put_bits(&s->pb, 1, s->mv_table_index); |
||||
} |
||||
} |
||||
|
||||
s->esc3_level_length= 0; |
||||
s->esc3_run_length= 0; |
||||
} |
||||
|
||||
void ff_msmpeg4_encode_ext_header(MpegEncContext * s) |
||||
{ |
||||
put_bits(&s->pb, 5, s->avctx->time_base.den / s->avctx->time_base.num); //yes 29.97 -> 29
|
||||
|
||||
put_bits(&s->pb, 11, FFMIN(s->bit_rate/1024, 2047)); |
||||
|
||||
if(s->msmpeg4_version>=3) |
||||
put_bits(&s->pb, 1, s->flipflop_rounding); |
||||
else |
||||
assert(s->flipflop_rounding==0); |
||||
} |
||||
|
||||
void ff_msmpeg4_encode_motion(MpegEncContext * s, |
||||
int mx, int my) |
||||
{ |
||||
int code; |
||||
MVTable *mv; |
||||
|
||||
/* modulo encoding */ |
||||
/* WARNING : you cannot reach all the MVs even with the modulo
|
||||
encoding. This is a somewhat strange compromise they took !!! */ |
||||
if (mx <= -64) |
||||
mx += 64; |
||||
else if (mx >= 64) |
||||
mx -= 64; |
||||
if (my <= -64) |
||||
my += 64; |
||||
else if (my >= 64) |
||||
my -= 64; |
||||
|
||||
mx += 32; |
||||
my += 32; |
||||
#if 0 |
||||
if ((unsigned)mx >= 64 || |
||||
(unsigned)my >= 64) |
||||
av_log(s->avctx, AV_LOG_ERROR, "error mx=%d my=%d\n", mx, my); |
||||
#endif |
||||
mv = &ff_mv_tables[s->mv_table_index]; |
||||
|
||||
code = mv->table_mv_index[(mx << 6) | my]; |
||||
put_bits(&s->pb, |
||||
mv->table_mv_bits[code], |
||||
mv->table_mv_code[code]); |
||||
if (code == mv->n) { |
||||
/* escape : code literally */ |
||||
put_bits(&s->pb, 6, mx); |
||||
put_bits(&s->pb, 6, my); |
||||
} |
||||
} |
||||
|
||||
void ff_msmpeg4_handle_slices(MpegEncContext *s){ |
||||
if (s->mb_x == 0) { |
||||
if (s->slice_height && (s->mb_y % s->slice_height) == 0) { |
||||
if(s->msmpeg4_version < 4){ |
||||
ff_mpeg4_clean_buffers(s); |
||||
} |
||||
s->first_slice_line = 1; |
||||
} else { |
||||
s->first_slice_line = 0; |
||||
} |
||||
} |
||||
} |
||||
|
||||
static void msmpeg4v2_encode_motion(MpegEncContext * s, int val) |
||||
{ |
||||
int range, bit_size, sign, code, bits; |
||||
|
||||
if (val == 0) { |
||||
/* zero vector */ |
||||
code = 0; |
||||
put_bits(&s->pb, ff_mvtab[code][1], ff_mvtab[code][0]); |
||||
} else { |
||||
bit_size = s->f_code - 1; |
||||
range = 1 << bit_size; |
||||
if (val <= -64) |
||||
val += 64; |
||||
else if (val >= 64) |
||||
val -= 64; |
||||
|
||||
if (val >= 0) { |
||||
sign = 0; |
||||
} else { |
||||
val = -val; |
||||
sign = 1; |
||||
} |
||||
val--; |
||||
code = (val >> bit_size) + 1; |
||||
bits = val & (range - 1); |
||||
|
||||
put_bits(&s->pb, ff_mvtab[code][1] + 1, (ff_mvtab[code][0] << 1) | sign); |
||||
if (bit_size > 0) { |
||||
put_bits(&s->pb, bit_size, bits); |
||||
} |
||||
} |
||||
} |
||||
|
||||
void ff_msmpeg4_encode_mb(MpegEncContext * s, |
||||
DCTELEM block[6][64], |
||||
int motion_x, int motion_y) |
||||
{ |
||||
int cbp, coded_cbp, i; |
||||
int pred_x, pred_y; |
||||
uint8_t *coded_block; |
||||
|
||||
ff_msmpeg4_handle_slices(s); |
||||
|
||||
if (!s->mb_intra) { |
||||
/* compute cbp */ |
||||
cbp = 0; |
||||
for (i = 0; i < 6; i++) { |
||||
if (s->block_last_index[i] >= 0) |
||||
cbp |= 1 << (5 - i); |
||||
} |
||||
if (s->use_skip_mb_code && (cbp | motion_x | motion_y) == 0) { |
||||
/* skip macroblock */ |
||||
put_bits(&s->pb, 1, 1); |
||||
s->last_bits++; |
||||
s->misc_bits++; |
||||
s->skip_count++; |
||||
|
||||
return; |
||||
} |
||||
if (s->use_skip_mb_code) |
||||
put_bits(&s->pb, 1, 0); /* mb coded */ |
||||
|
||||
if(s->msmpeg4_version<=2){ |
||||
put_bits(&s->pb, |
||||
ff_v2_mb_type[cbp&3][1], |
||||
ff_v2_mb_type[cbp&3][0]); |
||||
if((cbp&3) != 3) coded_cbp= cbp ^ 0x3C; |
||||
else coded_cbp= cbp; |
||||
|
||||
put_bits(&s->pb, |
||||
ff_h263_cbpy_tab[coded_cbp>>2][1], |
||||
ff_h263_cbpy_tab[coded_cbp>>2][0]); |
||||
|
||||
s->misc_bits += get_bits_diff(s); |
||||
|
||||
ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); |
||||
msmpeg4v2_encode_motion(s, motion_x - pred_x); |
||||
msmpeg4v2_encode_motion(s, motion_y - pred_y); |
||||
}else{ |
||||
put_bits(&s->pb, |
||||
ff_table_mb_non_intra[cbp + 64][1], |
||||
ff_table_mb_non_intra[cbp + 64][0]); |
||||
|
||||
s->misc_bits += get_bits_diff(s); |
||||
|
||||
/* motion vector */ |
||||
ff_h263_pred_motion(s, 0, 0, &pred_x, &pred_y); |
||||
ff_msmpeg4_encode_motion(s, motion_x - pred_x, |
||||
motion_y - pred_y); |
||||
} |
||||
|
||||
s->mv_bits += get_bits_diff(s); |
||||
|
||||
for (i = 0; i < 6; i++) { |
||||
ff_msmpeg4_encode_block(s, block[i], i); |
||||
} |
||||
s->p_tex_bits += get_bits_diff(s); |
||||
} else { |
||||
/* compute cbp */ |
||||
cbp = 0; |
||||
coded_cbp = 0; |
||||
for (i = 0; i < 6; i++) { |
||||
int val, pred; |
||||
val = (s->block_last_index[i] >= 1); |
||||
cbp |= val << (5 - i); |
||||
if (i < 4) { |
||||
/* predict value for close blocks only for luma */ |
||||
pred = ff_msmpeg4_coded_block_pred(s, i, &coded_block); |
||||
*coded_block = val; |
||||
val = val ^ pred; |
||||
} |
||||
coded_cbp |= val << (5 - i); |
||||
} |
||||
|
||||
if(s->msmpeg4_version<=2){ |
||||
if (s->pict_type == AV_PICTURE_TYPE_I) { |
||||
put_bits(&s->pb, |
||||
ff_v2_intra_cbpc[cbp&3][1], ff_v2_intra_cbpc[cbp&3][0]); |
||||
} else { |
||||
if (s->use_skip_mb_code) |
||||
put_bits(&s->pb, 1, 0); /* mb coded */ |
||||
put_bits(&s->pb, |
||||
ff_v2_mb_type[(cbp&3) + 4][1], |
||||
ff_v2_mb_type[(cbp&3) + 4][0]); |
||||
} |
||||
put_bits(&s->pb, 1, 0); /* no AC prediction yet */ |
||||
put_bits(&s->pb, |
||||
ff_h263_cbpy_tab[cbp>>2][1], |
||||
ff_h263_cbpy_tab[cbp>>2][0]); |
||||
}else{ |
||||
if (s->pict_type == AV_PICTURE_TYPE_I) { |
||||
put_bits(&s->pb, |
||||
ff_msmp4_mb_i_table[coded_cbp][1], ff_msmp4_mb_i_table[coded_cbp][0]); |
||||
} else { |
||||
if (s->use_skip_mb_code) |
||||
put_bits(&s->pb, 1, 0); /* mb coded */ |
||||
put_bits(&s->pb, |
||||
ff_table_mb_non_intra[cbp][1], |
||||
ff_table_mb_non_intra[cbp][0]); |
||||
} |
||||
put_bits(&s->pb, 1, 0); /* no AC prediction yet */ |
||||
if(s->inter_intra_pred){ |
||||
s->h263_aic_dir=0; |
||||
put_bits(&s->pb, ff_table_inter_intra[s->h263_aic_dir][1], ff_table_inter_intra[s->h263_aic_dir][0]); |
||||
} |
||||
} |
||||
s->misc_bits += get_bits_diff(s); |
||||
|
||||
for (i = 0; i < 6; i++) { |
||||
ff_msmpeg4_encode_block(s, block[i], i); |
||||
} |
||||
s->i_tex_bits += get_bits_diff(s); |
||||
s->i_count++; |
||||
} |
||||
} |
||||
|
||||
static void msmpeg4_encode_dc(MpegEncContext * s, int level, int n, int *dir_ptr) |
||||
{ |
||||
int sign, code; |
||||
int pred, extquant; |
||||
int extrabits = 0; |
||||
|
||||
int16_t *dc_val; |
||||
pred = ff_msmpeg4_pred_dc(s, n, &dc_val, dir_ptr); |
||||
|
||||
/* update predictor */ |
||||
if (n < 4) { |
||||
*dc_val = level * s->y_dc_scale; |
||||
} else { |
||||
*dc_val = level * s->c_dc_scale; |
||||
} |
||||
|
||||
/* do the prediction */ |
||||
level -= pred; |
||||
|
||||
if(s->msmpeg4_version<=2){ |
||||
if (n < 4) { |
||||
put_bits(&s->pb, |
||||
ff_v2_dc_lum_table[level + 256][1], |
||||
ff_v2_dc_lum_table[level + 256][0]); |
||||
}else{ |
||||
put_bits(&s->pb, |
||||
ff_v2_dc_chroma_table[level + 256][1], |
||||
ff_v2_dc_chroma_table[level + 256][0]); |
||||
} |
||||
}else{ |
||||
sign = 0; |
||||
if (level < 0) { |
||||
level = -level; |
||||
sign = 1; |
||||
} |
||||
code = level; |
||||
if (code > DC_MAX) |
||||
code = DC_MAX; |
||||
else if( s->msmpeg4_version>=6 ) { |
||||
if( s->qscale == 1 ) { |
||||
extquant = (level + 3) & 0x3; |
||||
code = ((level+3)>>2); |
||||
} else if( s->qscale == 2 ) { |
||||
extquant = (level + 1) & 0x1; |
||||
code = ((level+1)>>1); |
||||
} |
||||
} |
||||
|
||||
if (s->dc_table_index == 0) { |
||||
if (n < 4) { |
||||
put_bits(&s->pb, ff_table0_dc_lum[code][1], ff_table0_dc_lum[code][0]); |
||||
} else { |
||||
put_bits(&s->pb, ff_table0_dc_chroma[code][1], ff_table0_dc_chroma[code][0]); |
||||
} |
||||
} else { |
||||
if (n < 4) { |
||||
put_bits(&s->pb, ff_table1_dc_lum[code][1], ff_table1_dc_lum[code][0]); |
||||
} else { |
||||
put_bits(&s->pb, ff_table1_dc_chroma[code][1], ff_table1_dc_chroma[code][0]); |
||||
} |
||||
} |
||||
|
||||
if(s->msmpeg4_version>=6 && s->qscale<=2) |
||||
extrabits = 3 - s->qscale; |
||||
|
||||
if (code == DC_MAX) |
||||
put_bits(&s->pb, 8 + extrabits, level); |
||||
else if(extrabits > 0)//== VC1 && s->qscale<=2
|
||||
put_bits(&s->pb, extrabits, extquant); |
||||
|
||||
if (level != 0) { |
||||
put_bits(&s->pb, 1, sign); |
||||
} |
||||
} |
||||
} |
||||
|
||||
/* Encoding of a block. Very similar to MPEG4 except for a different
|
||||
escape coding (same as H263) and more vlc tables. |
||||
*/ |
||||
void ff_msmpeg4_encode_block(MpegEncContext * s, DCTELEM * block, int n) |
||||
{ |
||||
int level, run, last, i, j, last_index; |
||||
int last_non_zero, sign, slevel; |
||||
int code, run_diff, dc_pred_dir; |
||||
const RLTable *rl; |
||||
const uint8_t *scantable; |
||||
|
||||
if (s->mb_intra) { |
||||
msmpeg4_encode_dc(s, block[0], n, &dc_pred_dir); |
||||
i = 1; |
||||
if (n < 4) { |
||||
rl = &ff_rl_table[s->rl_table_index]; |
||||
} else { |
||||
rl = &ff_rl_table[3 + s->rl_chroma_table_index]; |
||||
} |
||||
run_diff = s->msmpeg4_version>=4; |
||||
scantable= s->intra_scantable.permutated; |
||||
} else { |
||||
i = 0; |
||||
rl = &ff_rl_table[3 + s->rl_table_index]; |
||||
if(s->msmpeg4_version<=2) |
||||
run_diff = 0; |
||||
else |
||||
run_diff = 1; |
||||
scantable= s->inter_scantable.permutated; |
||||
} |
||||
|
||||
/* recalculate block_last_index for M$ wmv1 */ |
||||
if(s->msmpeg4_version>=4 && s->msmpeg4_version<6 && s->block_last_index[n]>0){ |
||||
for(last_index=63; last_index>=0; last_index--){ |
||||
if(block[scantable[last_index]]) break; |
||||
} |
||||
s->block_last_index[n]= last_index; |
||||
}else |
||||
last_index = s->block_last_index[n]; |
||||
/* AC coefs */ |
||||
last_non_zero = i - 1; |
||||
for (; i <= last_index; i++) { |
||||
j = scantable[i]; |
||||
level = block[j]; |
||||
if (level) { |
||||
run = i - last_non_zero - 1; |
||||
last = (i == last_index); |
||||
sign = 0; |
||||
slevel = level; |
||||
if (level < 0) { |
||||
sign = 1; |
||||
level = -level; |
||||
} |
||||
|
||||
if(level<=MAX_LEVEL && run<=MAX_RUN){ |
||||
s->ac_stats[s->mb_intra][n>3][level][run][last]++; |
||||
} |
||||
|
||||
s->ac_stats[s->mb_intra][n > 3][40][63][0]++; //esc3 like
|
||||
|
||||
code = get_rl_index(rl, last, run, level); |
||||
put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); |
||||
if (code == rl->n) { |
||||
int level1, run1; |
||||
|
||||
level1 = level - rl->max_level[last][run]; |
||||
if (level1 < 1) |
||||
goto esc2; |
||||
code = get_rl_index(rl, last, run, level1); |
||||
if (code == rl->n) { |
||||
esc2: |
||||
put_bits(&s->pb, 1, 0); |
||||
if (level > MAX_LEVEL) |
||||
goto esc3; |
||||
run1 = run - rl->max_run[last][level] - run_diff; |
||||
if (run1 < 0) |
||||
goto esc3; |
||||
code = get_rl_index(rl, last, run1+1, level); |
||||
if (s->msmpeg4_version == 4 && code == rl->n) |
||||
goto esc3; |
||||
code = get_rl_index(rl, last, run1, level); |
||||
if (code == rl->n) { |
||||
esc3: |
||||
/* third escape */ |
||||
put_bits(&s->pb, 1, 0); |
||||
put_bits(&s->pb, 1, last); |
||||
if(s->msmpeg4_version>=4){ |
||||
if(s->esc3_level_length==0){ |
||||
s->esc3_level_length=8; |
||||
s->esc3_run_length= 6; |
||||
//ESCLVLSZ + ESCRUNSZ
|
||||
if(s->qscale<8) |
||||
put_bits(&s->pb, 6 + (s->msmpeg4_version>=6), 3); |
||||
else |
||||
put_bits(&s->pb, 8, 3); |
||||
} |
||||
put_bits(&s->pb, s->esc3_run_length, run); |
||||
put_bits(&s->pb, 1, sign); |
||||
put_bits(&s->pb, s->esc3_level_length, level); |
||||
}else{ |
||||
put_bits(&s->pb, 6, run); |
||||
put_sbits(&s->pb, 8, slevel); |
||||
} |
||||
} else { |
||||
/* second escape */ |
||||
put_bits(&s->pb, 1, 1); |
||||
put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); |
||||
put_bits(&s->pb, 1, sign); |
||||
} |
||||
} else { |
||||
/* first escape */ |
||||
put_bits(&s->pb, 1, 1); |
||||
put_bits(&s->pb, rl->table_vlc[code][1], rl->table_vlc[code][0]); |
||||
put_bits(&s->pb, 1, sign); |
||||
} |
||||
} else { |
||||
put_bits(&s->pb, 1, sign); |
||||
} |
||||
last_non_zero = i; |
||||
} |
||||
} |
||||
} |
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@ |
||||
b813a52d4efe6cf7974190ea9c4c7e8c *./tests/data/acodec/g722.wav |
||||
d1a10c4d35f752f60798114a156be3a8 *./tests/data/acodec/g722.wav |
||||
48053 ./tests/data/acodec/g722.wav |
||||
d8344d14a11eef0418b856af70694cbe *./tests/data/g722.acodec.out.wav |
||||
stddev: 8841.18 PSNR: 17.40 MAXDIFF:36225 bytes: 191980/ 1058400 |
||||
8dafe5b74ccd5f08fed2fb2a69c5475f *./tests/data/g722.acodec.out.wav |
||||
stddev: 8939.47 PSNR: 17.30 MAXDIFF:40370 bytes: 191980/ 1058400 |
||||
|
@ -1,168 +1,168 @@ |
||||
#tb 0: 1/16000 |
||||
0, 0, 0, 2048, 4096, 0xde68394d |
||||
0, 2048, 2048, 2048, 4096, 0xa5c28cb7 |
||||
0, 4096, 4096, 2048, 4096, 0x2e3c2f23 |
||||
0, 6144, 6144, 2048, 4096, 0xd7757825 |
||||
0, 8192, 8192, 2048, 4096, 0xafd1fd61 |
||||
0, 10240, 10240, 2048, 4096, 0x686afcbe |
||||
0, 12288, 12288, 2048, 4096, 0x2290e848 |
||||
0, 14336, 14336, 2048, 4096, 0xddd484ad |
||||
0, 16384, 16384, 2048, 4096, 0x148811a6 |
||||
0, 18432, 18432, 2048, 4096, 0x8b965613 |
||||
0, 20480, 20480, 2048, 4096, 0x8b095d51 |
||||
0, 22528, 22528, 2048, 4096, 0xf7625485 |
||||
0, 24576, 24576, 2048, 4096, 0x982a688c |
||||
0, 26624, 26624, 2048, 4096, 0xc290dcfc |
||||
0, 28672, 28672, 2048, 4096, 0x8bdef225 |
||||
0, 30720, 30720, 2048, 4096, 0xfca27fdc |
||||
0, 32768, 32768, 2048, 4096, 0x95eff313 |
||||
0, 34816, 34816, 2048, 4096, 0x691ed4f7 |
||||
0, 36864, 36864, 2048, 4096, 0xd7e7b492 |
||||
0, 38912, 38912, 2048, 4096, 0xb0416bfe |
||||
0, 40960, 40960, 2048, 4096, 0xf94b3ebd |
||||
0, 43008, 43008, 2048, 4096, 0x7f73ca12 |
||||
0, 45056, 45056, 2048, 4096, 0xe91da4a3 |
||||
0, 47104, 47104, 2048, 4096, 0x1f74dc0e |
||||
0, 49152, 49152, 2048, 4096, 0xd95b35e8 |
||||
0, 51200, 51200, 2048, 4096, 0x6dcdde1a |
||||
0, 53248, 53248, 2048, 4096, 0x614fd4e4 |
||||
0, 55296, 55296, 2048, 4096, 0xe38d0fd5 |
||||
0, 57344, 57344, 2048, 4096, 0xfeba2999 |
||||
0, 59392, 59392, 2048, 4096, 0x1bf541e1 |
||||
0, 61440, 61440, 2048, 4096, 0x689f50d8 |
||||
0, 63488, 63488, 2048, 4096, 0x0aa60f5f |
||||
0, 65536, 65536, 2048, 4096, 0x60ac3116 |
||||
0, 67584, 67584, 2048, 4096, 0xfa60e5e6 |
||||
0, 69632, 69632, 2048, 4096, 0xc7207c5b |
||||
0, 71680, 71680, 2048, 4096, 0x01196277 |
||||
0, 73728, 73728, 2048, 4096, 0x609ca46c |
||||
0, 75776, 75776, 2048, 4096, 0xfb799142 |
||||
0, 77824, 77824, 2048, 4096, 0x720910df |
||||
0, 79872, 79872, 2048, 4096, 0xe21a8662 |
||||
0, 81920, 81920, 2048, 4096, 0x07105120 |
||||
0, 83968, 83968, 2048, 4096, 0x593f627e |
||||
0, 86016, 86016, 2048, 4096, 0x28ddc80c |
||||
0, 88064, 88064, 2048, 4096, 0xc69ef356 |
||||
0, 90112, 90112, 2048, 4096, 0x2defc5bd |
||||
0, 92160, 92160, 2048, 4096, 0x82a4f418 |
||||
0, 94208, 94208, 2048, 4096, 0x424cb997 |
||||
0, 96256, 96256, 2048, 4096, 0x167a49b7 |
||||
0, 98304, 98304, 2048, 4096, 0x32a3e0d4 |
||||
0, 100352, 100352, 2048, 4096, 0x08a353ae |
||||
0, 102400, 102400, 2048, 4096, 0x9543577b |
||||
0, 104448, 104448, 2048, 4096, 0x2ed137cf |
||||
0, 106496, 106496, 2048, 4096, 0xd80b0538 |
||||
0, 108544, 108544, 2048, 4096, 0x2ad31bef |
||||
0, 110592, 110592, 2048, 4096, 0x1060cff8 |
||||
0, 112640, 112640, 2048, 4096, 0x76ab5ab8 |
||||
0, 114688, 114688, 2048, 4096, 0x8eedb68d |
||||
0, 116736, 116736, 2048, 4096, 0xf4e2dc46 |
||||
0, 118784, 118784, 2048, 4096, 0xc52d3326 |
||||
0, 120832, 120832, 2048, 4096, 0x25201a26 |
||||
0, 122880, 122880, 2048, 4096, 0x16419378 |
||||
0, 124928, 124928, 2048, 4096, 0x97061f3c |
||||
0, 126976, 126976, 2048, 4096, 0xd54edecd |
||||
0, 129024, 129024, 2048, 4096, 0xc830b07b |
||||
0, 131072, 131072, 2048, 4096, 0x804bae00 |
||||
0, 133120, 133120, 2048, 4096, 0xbb279150 |
||||
0, 135168, 135168, 2048, 4096, 0x95c4d5aa |
||||
0, 137216, 137216, 2048, 4096, 0xc51d5259 |
||||
0, 139264, 139264, 2048, 4096, 0x856e1ab0 |
||||
0, 141312, 141312, 2048, 4096, 0x9e6ccb12 |
||||
0, 143360, 143360, 2048, 4096, 0xa2e5c1bb |
||||
0, 145408, 145408, 2048, 4096, 0xe62fb62f |
||||
0, 147456, 147456, 2048, 4096, 0xf10e3df0 |
||||
0, 149504, 149504, 2048, 4096, 0x76def18b |
||||
0, 151552, 151552, 2048, 4096, 0xc9c3a26d |
||||
0, 153600, 153600, 2048, 4096, 0x8ec0e061 |
||||
0, 155648, 155648, 2048, 4096, 0x3d4e8512 |
||||
0, 157696, 157696, 2048, 4096, 0xec45cd46 |
||||
0, 159744, 159744, 2048, 4096, 0xa34f3ddf |
||||
0, 161792, 161792, 2048, 4096, 0x52b81c53 |
||||
0, 163840, 163840, 2048, 4096, 0xd0f0397a |
||||
0, 165888, 165888, 2048, 4096, 0x7c0de231 |
||||
0, 167936, 167936, 2048, 4096, 0xfe86c032 |
||||
0, 169984, 169984, 2048, 4096, 0x67cdb848 |
||||
0, 172032, 172032, 2048, 4096, 0x90532cc0 |
||||
0, 174080, 174080, 2048, 4096, 0x03bca9e9 |
||||
0, 176128, 176128, 2048, 4096, 0x73169fd1 |
||||
0, 178176, 178176, 2048, 4096, 0x0b93967d |
||||
0, 180224, 180224, 2048, 4096, 0x6486d8be |
||||
0, 182272, 182272, 2048, 4096, 0x555cc2ac |
||||
0, 184320, 184320, 2048, 4096, 0x07c1912e |
||||
0, 186368, 186368, 2048, 4096, 0xe0423c66 |
||||
0, 188416, 188416, 2048, 4096, 0xc12d0fa1 |
||||
0, 190464, 190464, 2048, 4096, 0xdf497c2f |
||||
0, 192512, 192512, 2048, 4096, 0x9298d1ba |
||||
0, 194560, 194560, 2048, 4096, 0x691a4e15 |
||||
0, 196608, 196608, 2048, 4096, 0x725adc6e |
||||
0, 198656, 198656, 2048, 4096, 0xf68e88de |
||||
0, 200704, 200704, 2048, 4096, 0x37a234aa |
||||
0, 202752, 202752, 2048, 4096, 0x43fb0558 |
||||
0, 204800, 204800, 2048, 4096, 0x653e4320 |
||||
0, 206848, 206848, 2048, 4096, 0x651e2f13 |
||||
0, 208896, 208896, 2048, 4096, 0x179049f9 |
||||
0, 210944, 210944, 2048, 4096, 0xe02fbb9d |
||||
0, 212992, 212992, 2048, 4096, 0xb7e9f2a0 |
||||
0, 215040, 215040, 2048, 4096, 0x94ee81df |
||||
0, 217088, 217088, 2048, 4096, 0x398a98de |
||||
0, 219136, 219136, 2048, 4096, 0x1267594a |
||||
0, 221184, 221184, 2048, 4096, 0x715adbaf |
||||
0, 223232, 223232, 2048, 4096, 0x28ce1a20 |
||||
0, 225280, 225280, 2048, 4096, 0x4f8073d0 |
||||
0, 227328, 227328, 2048, 4096, 0x536846d3 |
||||
0, 229376, 229376, 2048, 4096, 0x7dc7defe |
||||
0, 231424, 231424, 2048, 4096, 0x08a28e2a |
||||
0, 233472, 233472, 2048, 4096, 0xd717c5cd |
||||
0, 235520, 235520, 2048, 4096, 0x5d6e1efd |
||||
0, 237568, 237568, 2048, 4096, 0x4d0eea27 |
||||
0, 239616, 239616, 2048, 4096, 0x70fff90c |
||||
0, 241664, 241664, 2048, 4096, 0xd5cc8207 |
||||
0, 243712, 243712, 2048, 4096, 0xf87cae0e |
||||
0, 245760, 245760, 2048, 4096, 0x26814ab5 |
||||
0, 247808, 247808, 2048, 4096, 0x9569fb8d |
||||
0, 249856, 249856, 2048, 4096, 0x7835122e |
||||
0, 251904, 251904, 2048, 4096, 0xa38840dd |
||||
0, 253952, 253952, 2048, 4096, 0xfc499ba3 |
||||
0, 256000, 256000, 2048, 4096, 0x0aa60cb0 |
||||
0, 258048, 258048, 2048, 4096, 0x530ef56e |
||||
0, 260096, 260096, 2048, 4096, 0xead968db |
||||
0, 262144, 262144, 2048, 4096, 0x64484214 |
||||
0, 264192, 264192, 2048, 4096, 0xfd0cc89e |
||||
0, 266240, 266240, 2048, 4096, 0x0d452a5d |
||||
0, 268288, 268288, 2048, 4096, 0x36ef8482 |
||||
0, 270336, 270336, 2048, 4096, 0x462b641b |
||||
0, 272384, 272384, 2048, 4096, 0x2a5c1c0c |
||||
0, 274432, 274432, 2048, 4096, 0x8837ff80 |
||||
0, 276480, 276480, 2048, 4096, 0x27a3de22 |
||||
0, 278528, 278528, 2048, 4096, 0xf88d28c1 |
||||
0, 280576, 280576, 2048, 4096, 0xed85ea97 |
||||
0, 282624, 282624, 2048, 4096, 0x50c3e7db |
||||
0, 284672, 284672, 2048, 4096, 0x82bcb480 |
||||
0, 286720, 286720, 2048, 4096, 0xc50ee536 |
||||
0, 288768, 288768, 2048, 4096, 0x086280ee |
||||
0, 290816, 290816, 2048, 4096, 0x6f18f2b2 |
||||
0, 292864, 292864, 2048, 4096, 0x1c7c0856 |
||||
0, 294912, 294912, 2048, 4096, 0xc576268a |
||||
0, 296960, 296960, 2048, 4096, 0x7a9af56d |
||||
0, 299008, 299008, 2048, 4096, 0x6d058fc5 |
||||
0, 301056, 301056, 2048, 4096, 0x8fb1107b |
||||
0, 303104, 303104, 2048, 4096, 0x807588d1 |
||||
0, 305152, 305152, 2048, 4096, 0x56178443 |
||||
0, 307200, 307200, 2048, 4096, 0xf2460763 |
||||
0, 309248, 309248, 2048, 4096, 0x284255f2 |
||||
0, 311296, 311296, 2048, 4096, 0xb29d17fb |
||||
0, 313344, 313344, 2048, 4096, 0x5e7e4633 |
||||
0, 315392, 315392, 2048, 4096, 0x57704db1 |
||||
0, 317440, 317440, 2048, 4096, 0xd87dcc1d |
||||
0, 319488, 319488, 2048, 4096, 0x28d4bb93 |
||||
0, 321536, 321536, 2048, 4096, 0x3a2e5c6c |
||||
0, 323584, 323584, 2048, 4096, 0xf3581656 |
||||
0, 325632, 325632, 2048, 4096, 0x42f1942f |
||||
0, 327680, 327680, 2048, 4096, 0xe75c5092 |
||||
0, 329728, 329728, 2048, 4096, 0x3fae7f6d |
||||
0, 331776, 331776, 2048, 4096, 0xf99ad73e |
||||
0, 333824, 333824, 2048, 4096, 0x80564e3e |
||||
0, 335872, 335872, 2048, 4096, 0x8ff6ebe5 |
||||
0, 337920, 337920, 2048, 4096, 0x436d5e69 |
||||
0, 339968, 339968, 684, 1368, 0xe0ebeda3 |
||||
0, 0, 0, 2048, 4096, 0x4f9228b3 |
||||
0, 2048, 2048, 2048, 4096, 0xfab58157 |
||||
0, 4096, 4096, 2048, 4096, 0x0b641c78 |
||||
0, 6144, 6144, 2048, 4096, 0x601c6803 |
||||
0, 8192, 8192, 2048, 4096, 0xb3e2f166 |
||||
0, 10240, 10240, 2048, 4096, 0x5681f206 |
||||
0, 12288, 12288, 2048, 4096, 0x1e69e71f |
||||
0, 14336, 14336, 2048, 4096, 0x05628be3 |
||||
0, 16384, 16384, 2048, 4096, 0x109b1aef |
||||
0, 18432, 18432, 2048, 4096, 0xd5435a9e |
||||
0, 20480, 20480, 2048, 4096, 0xb38b5d28 |
||||
0, 22528, 22528, 2048, 4096, 0x64514c93 |
||||
0, 24576, 24576, 2048, 4096, 0x453350e7 |
||||
0, 26624, 26624, 2048, 4096, 0x6deccce6 |
||||
0, 28672, 28672, 2048, 4096, 0xd427ede1 |
||||
0, 30720, 30720, 2048, 4096, 0xdecb8c42 |
||||
0, 32768, 32768, 2048, 4096, 0x3841e4d2 |
||||
0, 34816, 34816, 2048, 4096, 0x858ac1b1 |
||||
0, 36864, 36864, 2048, 4096, 0x8e9dbfa0 |
||||
0, 38912, 38912, 2048, 4096, 0xcbc0766f |
||||
0, 40960, 40960, 2048, 4096, 0x78d52555 |
||||
0, 43008, 43008, 2048, 4096, 0x600ac7d5 |
||||
0, 45056, 45056, 2048, 4096, 0xafadb7ee |
||||
0, 47104, 47104, 2048, 4096, 0x8009d5a1 |
||||
0, 49152, 49152, 2048, 4096, 0xb07d475e |
||||
0, 51200, 51200, 2048, 4096, 0xfcfecceb |
||||
0, 53248, 53248, 2048, 4096, 0x38b5d85f |
||||
0, 55296, 55296, 2048, 4096, 0xbd48072e |
||||
0, 57344, 57344, 2048, 4096, 0xd04724d8 |
||||
0, 59392, 59392, 2048, 4096, 0x08425144 |
||||
0, 61440, 61440, 2048, 4096, 0x7b14483e |
||||
0, 63488, 63488, 2048, 4096, 0x8858ef4c |
||||
0, 65536, 65536, 2048, 4096, 0x1e3024c2 |
||||
0, 67584, 67584, 2048, 4096, 0xcd6bfe4f |
||||
0, 69632, 69632, 2048, 4096, 0x8cde8d18 |
||||
0, 71680, 71680, 2048, 4096, 0xbbd856b8 |
||||
0, 73728, 73728, 2048, 4096, 0x988c9b7a |
||||
0, 75776, 75776, 2048, 4096, 0x2a858e03 |
||||
0, 77824, 77824, 2048, 4096, 0x6dee1e4a |
||||
0, 79872, 79872, 2048, 4096, 0x8cc38b41 |
||||
0, 81920, 81920, 2048, 4096, 0x48bd5cec |
||||
0, 83968, 83968, 2048, 4096, 0xeb7f606b |
||||
0, 86016, 86016, 2048, 4096, 0x75f5d28c |
||||
0, 88064, 88064, 2048, 4096, 0x5bfeec4b |
||||
0, 90112, 90112, 2048, 4096, 0xfc35c22a |
||||
0, 92160, 92160, 2048, 4096, 0x3a95efba |
||||
0, 94208, 94208, 2048, 4096, 0xefdbce9c |
||||
0, 96256, 96256, 2048, 4096, 0x00594ada |
||||
0, 98304, 98304, 2048, 4096, 0x20ffebfa |
||||
0, 100352, 100352, 2048, 4096, 0x1b31370a |
||||
0, 102400, 102400, 2048, 4096, 0x50766a56 |
||||
0, 104448, 104448, 2048, 4096, 0x0058315a |
||||
0, 106496, 106496, 2048, 4096, 0x98090cbf |
||||
0, 108544, 108544, 2048, 4096, 0x66ed2d40 |
||||
0, 110592, 110592, 2048, 4096, 0xdfd7c0a7 |
||||
0, 112640, 112640, 2048, 4096, 0x2adc57e1 |
||||
0, 114688, 114688, 2048, 4096, 0x838bbc82 |
||||
0, 116736, 116736, 2048, 4096, 0x2c55de1a |
||||
0, 118784, 118784, 2048, 4096, 0xeae027f4 |
||||
0, 120832, 120832, 2048, 4096, 0x09fe00f6 |
||||
0, 122880, 122880, 2048, 4096, 0xa25d9970 |
||||
0, 124928, 124928, 2048, 4096, 0xedb11a20 |
||||
0, 126976, 126976, 2048, 4096, 0x9ce2e63e |
||||
0, 129024, 129024, 2048, 4096, 0xeb699974 |
||||
0, 131072, 131072, 2048, 4096, 0xcc04a296 |
||||
0, 133120, 133120, 2048, 4096, 0xe90e9a12 |
||||
0, 135168, 135168, 2048, 4096, 0xae85c0f7 |
||||
0, 137216, 137216, 2048, 4096, 0x7ee877db |
||||
0, 139264, 139264, 2048, 4096, 0x9ecf14ee |
||||
0, 141312, 141312, 2048, 4096, 0xa821cecd |
||||
0, 143360, 143360, 2048, 4096, 0x2714bb11 |
||||
0, 145408, 145408, 2048, 4096, 0x28f1c1e0 |
||||
0, 147456, 147456, 2048, 4096, 0xf81c4f60 |
||||
0, 149504, 149504, 2048, 4096, 0x1ae0e5a1 |
||||
0, 151552, 151552, 2048, 4096, 0xbdae9d9a |
||||
0, 153600, 153600, 2048, 4096, 0x5202e560 |
||||
0, 155648, 155648, 2048, 4096, 0x82408396 |
||||
0, 157696, 157696, 2048, 4096, 0xc850ce0c |
||||
0, 159744, 159744, 2048, 4096, 0x1d732d88 |
||||
0, 161792, 161792, 2048, 4096, 0xc5c01e33 |
||||
0, 163840, 163840, 2048, 4096, 0x84942d6c |
||||
0, 165888, 165888, 2048, 4096, 0x7c27cd3a |
||||
0, 167936, 167936, 2048, 4096, 0x22adc503 |
||||
0, 169984, 169984, 2048, 4096, 0xfbc3af31 |
||||
0, 172032, 172032, 2048, 4096, 0xe9652b18 |
||||
0, 174080, 174080, 2048, 4096, 0xae75987e |
||||
0, 176128, 176128, 2048, 4096, 0x0f7ea428 |
||||
0, 178176, 178176, 2048, 4096, 0x92b89582 |
||||
0, 180224, 180224, 2048, 4096, 0xf393d910 |
||||
0, 182272, 182272, 2048, 4096, 0x6349b600 |
||||
0, 184320, 184320, 2048, 4096, 0x16918dbd |
||||
0, 186368, 186368, 2048, 4096, 0x14ee15ad |
||||
0, 188416, 188416, 2048, 4096, 0x26b510d3 |
||||
0, 190464, 190464, 2048, 4096, 0x97007bf8 |
||||
0, 192512, 192512, 2048, 4096, 0x3718c509 |
||||
0, 194560, 194560, 2048, 4096, 0x24a54ccd |
||||
0, 196608, 196608, 2048, 4096, 0xc960df4e |
||||
0, 198656, 198656, 2048, 4096, 0xc7cb6e6f |
||||
0, 200704, 200704, 2048, 4096, 0x4c563ae5 |
||||
0, 202752, 202752, 2048, 4096, 0x0dd51432 |
||||
0, 204800, 204800, 2048, 4096, 0xdb4243c8 |
||||
0, 206848, 206848, 2048, 4096, 0x9bb6417f |
||||
0, 208896, 208896, 2048, 4096, 0xec6a40a1 |
||||
0, 210944, 210944, 2048, 4096, 0x82d6c3b4 |
||||
0, 212992, 212992, 2048, 4096, 0xd181e2ec |
||||
0, 215040, 215040, 2048, 4096, 0xba5d7b55 |
||||
0, 217088, 217088, 2048, 4096, 0x78fcb938 |
||||
0, 219136, 219136, 2048, 4096, 0x6691671c |
||||
0, 221184, 221184, 2048, 4096, 0x44fadee7 |
||||
0, 223232, 223232, 2048, 4096, 0xa42720d5 |
||||
0, 225280, 225280, 2048, 4096, 0xc1165a91 |
||||
0, 227328, 227328, 2048, 4096, 0x86aa3e3f |
||||
0, 229376, 229376, 2048, 4096, 0xab5ae57d |
||||
0, 231424, 231424, 2048, 4096, 0x291a91f3 |
||||
0, 233472, 233472, 2048, 4096, 0xfdf0dcfc |
||||
0, 235520, 235520, 2048, 4096, 0x1ef91f67 |
||||
0, 237568, 237568, 2048, 4096, 0xc899efee |
||||
0, 239616, 239616, 2048, 4096, 0x5ade15ac |
||||
0, 241664, 241664, 2048, 4096, 0x04516beb |
||||
0, 243712, 243712, 2048, 4096, 0xbf5ebbb9 |
||||
0, 245760, 245760, 2048, 4096, 0x4a235122 |
||||
0, 247808, 247808, 2048, 4096, 0xd7a3f4a6 |
||||
0, 249856, 249856, 2048, 4096, 0x5f900f20 |
||||
0, 251904, 251904, 2048, 4096, 0xa90b4365 |
||||
0, 253952, 253952, 2048, 4096, 0x63149dc4 |
||||
0, 256000, 256000, 2048, 4096, 0xf12c1ee8 |
||||
0, 258048, 258048, 2048, 4096, 0x6d0fec8c |
||||
0, 260096, 260096, 2048, 4096, 0x65e07850 |
||||
0, 262144, 262144, 2048, 4096, 0x16d951cc |
||||
0, 264192, 264192, 2048, 4096, 0xd296d0c4 |
||||
0, 266240, 266240, 2048, 4096, 0x619b2a53 |
||||
0, 268288, 268288, 2048, 4096, 0x316972d5 |
||||
0, 270336, 270336, 2048, 4096, 0xcfd64e21 |
||||
0, 272384, 272384, 2048, 4096, 0xcbcb10c6 |
||||
0, 274432, 274432, 2048, 4096, 0x20aeff7c |
||||
0, 276480, 276480, 2048, 4096, 0xd205dabd |
||||
0, 278528, 278528, 2048, 4096, 0xac9d3001 |
||||
0, 280576, 280576, 2048, 4096, 0x6d53dfdd |
||||
0, 282624, 282624, 2048, 4096, 0xbb9fe15c |
||||
0, 284672, 284672, 2048, 4096, 0x1852b88b |
||||
0, 286720, 286720, 2048, 4096, 0xb0acec01 |
||||
0, 288768, 288768, 2048, 4096, 0xb52a9342 |
||||
0, 290816, 290816, 2048, 4096, 0x7529faee |
||||
0, 292864, 292864, 2048, 4096, 0x150ff449 |
||||
0, 294912, 294912, 2048, 4096, 0xa81d31d9 |
||||
0, 296960, 296960, 2048, 4096, 0xbcb8084a |
||||
0, 299008, 299008, 2048, 4096, 0x07229514 |
||||
0, 301056, 301056, 2048, 4096, 0xa85cfd88 |
||||
0, 303104, 303104, 2048, 4096, 0x0aef9c27 |
||||
0, 305152, 305152, 2048, 4096, 0x8ec47b39 |
||||
0, 307200, 307200, 2048, 4096, 0x910b0560 |
||||
0, 309248, 309248, 2048, 4096, 0x99a8578e |
||||
0, 311296, 311296, 2048, 4096, 0xb3df1d84 |
||||
0, 313344, 313344, 2048, 4096, 0x48e52559 |
||||
0, 315392, 315392, 2048, 4096, 0xb25c4800 |
||||
0, 317440, 317440, 2048, 4096, 0x913bc8ce |
||||
0, 319488, 319488, 2048, 4096, 0xb736cc8c |
||||
0, 321536, 321536, 2048, 4096, 0x13c66646 |
||||
0, 323584, 323584, 2048, 4096, 0x70a71221 |
||||
0, 325632, 325632, 2048, 4096, 0x3a50a08e |
||||
0, 327680, 327680, 2048, 4096, 0xc0a037b0 |
||||
0, 329728, 329728, 2048, 4096, 0x9a789475 |
||||
0, 331776, 331776, 2048, 4096, 0xc890ca16 |
||||
0, 333824, 333824, 2048, 4096, 0xa0d34bed |
||||
0, 335872, 335872, 2048, 4096, 0x1689fa60 |
||||
0, 337920, 337920, 2048, 4096, 0x5bac4c83 |
||||
0, 339968, 339968, 684, 1368, 0x904be5e5 |
||||
|
@ -1 +1 @@ |
||||
750269cc236541df28e15da5c7b0df7a |
||||
94e2f200d6e05b47cec4aa3e94571cf3 |
||||
|
Loading…
Reference in new issue