vpx/vp9/encoder
Jingning Han 936aa281b5 Fixed the buffer overflow issue
The issue that potentially broke the encoding process was due to the fact
that the length of token link is calculated from the total number of tokens
coded, while it is possible, in high bit-rate setting, this length is
greater than the buffer length initially assigned to the cpi->tok.

This patch increases the initially allocated buffer length assigned to
cpi->tok from
(mb_rows * mb_cols * 24 * 16) to (mb_rows * mb_cols * (1 + 24 * 16)).

It resolves the buffer overflow problem.

Change-Id: I8661a8d39ea0a3c24303e3f71a170787a1d5b1df
2013-02-22 12:30:35 -08:00
..
ppc Add vp9_ prefix to all vp9 files 2012-11-27 14:12:30 -08:00
x86 Add support for x64 and win64 yasm flags. 2013-01-31 16:25:37 -08:00
vp9_asm_enc_offsets.c Remove unused symbols from vp9 asm offsets C files. 2012-12-07 15:38:40 -08:00
vp9_bitstream.c Remove compound intra-intra experiment. 2013-01-14 15:47:25 -08:00
vp9_bitstream.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_block.h Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_boolhuff.c fixed includes to be fully specified 2012-11-28 10:53:17 -08:00
vp9_boolhuff.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_dct.c Fix compiler warnings 2013-01-14 13:56:52 -08:00
vp9_encodeframe.c Fix compiler warnings 2013-01-14 13:56:52 -08:00
vp9_encodeframe.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_encodeintra.c Remove compound intra-intra experiment. 2013-01-14 15:47:25 -08:00
vp9_encodeintra.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_encodemb.c Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_encodemb.h Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_encodemv.c more unused variables. 2012-11-29 08:54:59 -08:00
vp9_encodemv.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_firstpass.c Use INT64_MAX instead of LLONG_MAX 2013-01-14 15:57:21 -08:00
vp9_firstpass.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_lookahead.c libvpx: Fix some warnings. 2013-01-18 09:51:57 -08:00
vp9_lookahead.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_mbgraph.c New prediction filter 2013-01-09 12:00:39 -08:00
vp9_mbgraph.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_mcomp.c Merge superblocks (32x32) experiment. 2013-01-08 12:54:45 -08:00
vp9_mcomp.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_modecosts.c fixed includes to be fully specified 2012-11-28 10:53:17 -08:00
vp9_modecosts.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_onyx_if.c Fixed the buffer overflow issue 2013-02-22 12:30:35 -08:00
vp9_onyx_int.h Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_picklpf.c Merge vp9-preview changes into experimental branch 2013-01-08 10:19:59 -08:00
vp9_picklpf.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_psnr.c Add vp9_ prefix to all vp9 files 2012-11-27 14:12:30 -08:00
vp9_psnr.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_quantize.c Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_quantize.h Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_ratectrl.c Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_ratectrl.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_rdopt.c libvpx: Fix some warnings. 2013-01-18 09:51:57 -08:00
vp9_rdopt.h 64x64 blocksize support. 2013-01-05 18:20:25 -08:00
vp9_sad_c.c Merge vp9-preview changes into experimental branch 2013-01-08 10:19:59 -08:00
vp9_satd_c.c Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_segmentation.c Merge superblocks64 experiment. 2013-01-09 17:21:40 -08:00
vp9_segmentation.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_ssim.c Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_temporal_filter.c Merge vp9-preview changes into experimental branch 2013-01-08 10:19:59 -08:00
vp9_temporal_filter.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_tokenize.c Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_tokenize.h Merge tx32x32 experiment. 2013-01-10 08:23:59 -08:00
vp9_treewriter.c fixed includes to be fully specified 2012-11-28 10:53:17 -08:00
vp9_treewriter.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00
vp9_variance_c.c Merge superblocks64 experiment. 2013-01-09 17:21:40 -08:00
vp9_variance.h Use standard integer types for pixel values and coefficients. 2012-12-18 15:31:19 -08:00