comparison truemotion1.c @ 6284:20a72aa8179b libavcodec

more const
author michael
date Fri, 01 Feb 2008 15:57:38 +0000
parents 68d4853b5fae
children 48759bfbd073
comparison
equal deleted inserted replaced
6283:2134a0fc46f3 6284:20a72aa8179b
46 const uint8_t *buf; 46 const uint8_t *buf;
47 int size; 47 int size;
48 48
49 const uint8_t *mb_change_bits; 49 const uint8_t *mb_change_bits;
50 int mb_change_bits_row_size; 50 int mb_change_bits_row_size;
51 uint8_t *index_stream; 51 const uint8_t *index_stream;
52 int index_stream_size; 52 int index_stream_size;
53 53
54 int flags; 54 int flags;
55 int x, y, w, h; 55 int x, y, w, h;
56 56
601 unsigned int *current_pixel_pair; 601 unsigned int *current_pixel_pair;
602 unsigned char *current_line = s->frame.data[0]; 602 unsigned char *current_line = s->frame.data[0];
603 int keyframe = s->flags & FLAG_KEYFRAME; 603 int keyframe = s->flags & FLAG_KEYFRAME;
604 604
605 /* these variables are for managing the stream of macroblock change bits */ 605 /* these variables are for managing the stream of macroblock change bits */
606 unsigned char *mb_change_bits = s->mb_change_bits; 606 const unsigned char *mb_change_bits = s->mb_change_bits;
607 unsigned char mb_change_byte; 607 unsigned char mb_change_byte;
608 unsigned char mb_change_byte_mask; 608 unsigned char mb_change_byte_mask;
609 int mb_change_index; 609 int mb_change_index;
610 610
611 /* these variables are for managing the main index stream */ 611 /* these variables are for managing the main index stream */
727 unsigned int *current_pixel_pair; 727 unsigned int *current_pixel_pair;
728 unsigned char *current_line = s->frame.data[0]; 728 unsigned char *current_line = s->frame.data[0];
729 int keyframe = s->flags & FLAG_KEYFRAME; 729 int keyframe = s->flags & FLAG_KEYFRAME;
730 730
731 /* these variables are for managing the stream of macroblock change bits */ 731 /* these variables are for managing the stream of macroblock change bits */
732 unsigned char *mb_change_bits = s->mb_change_bits; 732 const unsigned char *mb_change_bits = s->mb_change_bits;
733 unsigned char mb_change_byte; 733 unsigned char mb_change_byte;
734 unsigned char mb_change_byte_mask; 734 unsigned char mb_change_byte_mask;
735 int mb_change_index; 735 int mb_change_index;
736 736
737 /* these variables are for managing the main index stream */ 737 /* these variables are for managing the main index stream */