Mercurial > libavcodec.hg
comparison mpegvideo.h @ 2764:2b37bcabe608 libavcodec
spelling fixes
patch by Peter Robinson pbrobinson @ at @ gmail . dot . com and myself
author | diego |
---|---|
date | Fri, 17 Jun 2005 15:02:53 +0000 |
parents | ba8ecddf5598 |
children | 55a6659fc2ee |
comparison
equal
deleted
inserted
replaced
2763:01ed2c3b8f08 | 2764:2b37bcabe608 |
---|---|
179 int mb_var_sum; ///< sum of MB variance for current frame | 179 int mb_var_sum; ///< sum of MB variance for current frame |
180 int mc_mb_var_sum; ///< motion compensated MB variance for current frame | 180 int mc_mb_var_sum; ///< motion compensated MB variance for current frame |
181 uint16_t *mb_var; ///< Table for MB variances | 181 uint16_t *mb_var; ///< Table for MB variances |
182 uint16_t *mc_mb_var; ///< Table for motion compensated MB variances | 182 uint16_t *mc_mb_var; ///< Table for motion compensated MB variances |
183 uint8_t *mb_mean; ///< Table for MB luminance | 183 uint8_t *mb_mean; ///< Table for MB luminance |
184 int32_t *mb_cmp_score; ///< Table for MB cmp scores, for mb decission FIXME remove | 184 int32_t *mb_cmp_score; ///< Table for MB cmp scores, for mb decision FIXME remove |
185 int b_frame_score; /* */ | 185 int b_frame_score; /* */ |
186 } Picture; | 186 } Picture; |
187 | 187 |
188 typedef struct ParseContext{ | 188 typedef struct ParseContext{ |
189 uint8_t *buffer; | 189 uint8_t *buffer; |
290 int picture_number; //FIXME remove, unclear definition | 290 int picture_number; //FIXME remove, unclear definition |
291 int picture_in_gop_number; ///< 0-> first pic in gop, ... | 291 int picture_in_gop_number; ///< 0-> first pic in gop, ... |
292 int b_frames_since_non_b; ///< used for encoding, relative to not yet reordered input | 292 int b_frames_since_non_b; ///< used for encoding, relative to not yet reordered input |
293 int64_t user_specified_pts;///< last non zero pts from AVFrame which was passed into avcodec_encode_video() | 293 int64_t user_specified_pts;///< last non zero pts from AVFrame which was passed into avcodec_encode_video() |
294 int mb_width, mb_height; ///< number of MBs horizontally & vertically | 294 int mb_width, mb_height; ///< number of MBs horizontally & vertically |
295 int mb_stride; ///< mb_width+1 used for some arrays to allow simple addressng of left & top MBs withoutt sig11 | 295 int mb_stride; ///< mb_width+1 used for some arrays to allow simple addressing of left & top MBs without sig11 |
296 int b8_stride; ///< 2*mb_width+1 used for some 8x8 block arrays to allow simple addressng | 296 int b8_stride; ///< 2*mb_width+1 used for some 8x8 block arrays to allow simple addressing |
297 int b4_stride; ///< 4*mb_width+1 used for some 4x4 block arrays to allow simple addressng | 297 int b4_stride; ///< 4*mb_width+1 used for some 4x4 block arrays to allow simple addressing |
298 int h_edge_pos, v_edge_pos;///< horizontal / vertical position of the right/bottom edge (pixel replicateion) | 298 int h_edge_pos, v_edge_pos;///< horizontal / vertical position of the right/bottom edge (pixel replication) |
299 int mb_num; ///< number of MBs of a picture | 299 int mb_num; ///< number of MBs of a picture |
300 int linesize; ///< line size, in bytes, may be different from width | 300 int linesize; ///< line size, in bytes, may be different from width |
301 int uvlinesize; ///< line size, for chroma in bytes, may be different from width | 301 int uvlinesize; ///< line size, for chroma in bytes, may be different from width |
302 Picture *picture; ///< main picture buffer | 302 Picture *picture; ///< main picture buffer |
303 Picture **input_picture; ///< next pictures on display order for encoding | 303 Picture **input_picture; ///< next pictures on display order for encoding |
356 uint8_t *mbintra_table; ///< used to avoid setting {ac, dc, cbp}-pred stuff to zero on inter MB decoding | 356 uint8_t *mbintra_table; ///< used to avoid setting {ac, dc, cbp}-pred stuff to zero on inter MB decoding |
357 uint8_t *cbp_table; ///< used to store cbp, ac_pred for partitioned decoding | 357 uint8_t *cbp_table; ///< used to store cbp, ac_pred for partitioned decoding |
358 uint8_t *pred_dir_table; ///< used to store pred_dir for partitioned decoding | 358 uint8_t *pred_dir_table; ///< used to store pred_dir for partitioned decoding |
359 uint8_t *allocated_edge_emu_buffer; | 359 uint8_t *allocated_edge_emu_buffer; |
360 uint8_t *edge_emu_buffer; ///< points into the middle of allocated_edge_emu_buffer | 360 uint8_t *edge_emu_buffer; ///< points into the middle of allocated_edge_emu_buffer |
361 uint8_t *rd_scratchpad; ///< scartchpad for rate distortion mb decission | 361 uint8_t *rd_scratchpad; ///< scratchpad for rate distortion mb decision |
362 uint8_t *obmc_scratchpad; | 362 uint8_t *obmc_scratchpad; |
363 uint8_t *b_scratchpad; ///< scratchpad used for writing into write only buffers | 363 uint8_t *b_scratchpad; ///< scratchpad used for writing into write only buffers |
364 | 364 |
365 int qscale; ///< QP | 365 int qscale; ///< QP |
366 int chroma_qscale; ///< chroma QP | 366 int chroma_qscale; ///< chroma QP |
378 /* motion compensation */ | 378 /* motion compensation */ |
379 int unrestricted_mv; ///< mv can point outside of the coded picture | 379 int unrestricted_mv; ///< mv can point outside of the coded picture |
380 int h263_long_vectors; ///< use horrible h263v1 long vector mode | 380 int h263_long_vectors; ///< use horrible h263v1 long vector mode |
381 int decode; ///< if 0 then decoding will be skipped (for encoding b frames for example) | 381 int decode; ///< if 0 then decoding will be skipped (for encoding b frames for example) |
382 | 382 |
383 DSPContext dsp; ///< pointers for accelerated dsp fucntions | 383 DSPContext dsp; ///< pointers for accelerated dsp functions |
384 int f_code; ///< forward MV resolution | 384 int f_code; ///< forward MV resolution |
385 int b_code; ///< backward MV resolution for B Frames (mpeg4) | 385 int b_code; ///< backward MV resolution for B Frames (mpeg4) |
386 int16_t (*p_mv_table_base)[2]; | 386 int16_t (*p_mv_table_base)[2]; |
387 int16_t (*b_forw_mv_table_base)[2]; | 387 int16_t (*b_forw_mv_table_base)[2]; |
388 int16_t (*b_back_mv_table_base)[2]; | 388 int16_t (*b_back_mv_table_base)[2]; |