comparison spudec.c @ 31761:54f1eb233db9

Remove useless end_col/end_row variables.
author reimar
date Mon, 26 Jul 2010 17:15:56 +0000
parents 34d5db2f24ba
children da0bfd02286c
comparison
equal deleted inserted replaced
31760:dc95a7191375 31761:54f1eb233db9
67 unsigned int control_start; /* index of start of control data */ 67 unsigned int control_start; /* index of start of control data */
68 unsigned int current_nibble[2]; /* next data nibble (4 bits) to be 68 unsigned int current_nibble[2]; /* next data nibble (4 bits) to be
69 processed (for RLE decoding) for 69 processed (for RLE decoding) for
70 even and odd lines */ 70 even and odd lines */
71 int deinterlace_oddness; /* 0 or 1, index into current_nibble */ 71 int deinterlace_oddness; /* 0 or 1, index into current_nibble */
72 unsigned int start_col, end_col; 72 unsigned int start_col;
73 unsigned int start_row, end_row; 73 unsigned int start_row;
74 unsigned int width, height, stride; 74 unsigned int width, height, stride;
75 unsigned int start_pts, end_pts; 75 unsigned int start_pts, end_pts;
76 packet_t *next; 76 packet_t *next;
77 }; 77 };
78 78
90 unsigned int alpha[4]; 90 unsigned int alpha[4];
91 unsigned int cuspal[4]; 91 unsigned int cuspal[4];
92 unsigned int custom; 92 unsigned int custom;
93 unsigned int now_pts; 93 unsigned int now_pts;
94 unsigned int start_pts, end_pts; 94 unsigned int start_pts, end_pts;
95 unsigned int start_col, end_col; 95 unsigned int start_col;
96 unsigned int start_row, end_row; 96 unsigned int start_row;
97 unsigned int width, height, stride; 97 unsigned int width, height, stride;
98 size_t image_size; /* Size of the image buffer */ 98 size_t image_size; /* Size of the image buffer */
99 unsigned char *image; /* Grayscale value */ 99 unsigned char *image; /* Grayscale value */
100 unsigned char *aimage; /* Alpha value */ 100 unsigned char *aimage; /* Alpha value */
101 unsigned char *pal_image; /* palette entry value */ 101 unsigned char *pal_image; /* palette entry value */
261 uint8_t *dst; 261 uint8_t *dst;
262 262
263 this->scaled_frame_width = 0; 263 this->scaled_frame_width = 0;
264 this->scaled_frame_height = 0; 264 this->scaled_frame_height = 0;
265 this->start_col = packet->start_col; 265 this->start_col = packet->start_col;
266 this->end_col = packet->end_col;
267 this->start_row = packet->start_row; 266 this->start_row = packet->start_row;
268 this->end_row = packet->end_row;
269 this->height = packet->height; 267 this->height = packet->height;
270 this->width = packet->width; 268 this->width = packet->width;
271 this->stride = packet->stride; 269 this->stride = packet->stride;
272 for (i = 0; i < 4; ++i) { 270 for (i = 0; i < 4; ++i) {
273 int color; 271 int color;
493 packet->start_pts = start_pts; 491 packet->start_pts = start_pts;
494 packet->end_pts = end_pts; 492 packet->end_pts = end_pts;
495 packet->current_nibble[0] = current_nibble[0]; 493 packet->current_nibble[0] = current_nibble[0];
496 packet->current_nibble[1] = current_nibble[1]; 494 packet->current_nibble[1] = current_nibble[1];
497 packet->start_row = start_row; 495 packet->start_row = start_row;
498 packet->end_row = end_row;
499 packet->start_col = start_col; 496 packet->start_col = start_col;
500 packet->end_col = end_col;
501 packet->width = width; 497 packet->width = width;
502 packet->height = height; 498 packet->height = height;
503 packet->stride = stride; 499 packet->stride = stride;
504 packet->control_start = control_start; 500 packet->control_start = control_start;
505 for (i=0; i<4; i++) { 501 for (i=0; i<4; i++) {