History

Fix comments after switching from CABAC to range coder in r3658.

Patch by Lars Täuber, lars D taeuber A gmx D net Originally committed as revision 19720 to svn://svn.ffmpeg.org/ffmpeg/trunk

Lars Täuber committed 17 years ago

Commit 2fee5381 parent 85fecaf1 file · +1 −2Browse files

Unified · Split

libavcodec/ffv1.c+1−2
@@ -212,7 +212,7 @@ typedef struct FFV1Context{ · 211 unmodified lines
212212 int picture_number;
213213 AVFrame picture;
214214 int plane_count;
215− int ac; ///< 1-> CABAC 0-> golomb rice
215+ int ac; ///< 1=range coder <-> 0=golomb rice
216216 PlaneContext plane[MAX_PLANES];
217217 int16_t quant_table[5][256];
218218 int run_index;
@@ -736,7 +736,6 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size, · 517 unmodified lines
736736 uint8_t keystate=128;
737737
738738 ff_init_range_encoder(c, buf, buf_size);
739−// ff_init_cabac_states(c, ff_h264_lps_range, ff_h264_mps_state, ff_h264_lps_state, 64);
740739 ff_build_rac_states(c, 0.05*(1LL<<32), 256-8);
741740
742741 *p = *pict;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t