Lines Matching defs:pixel_ptr
60 if ((pixel_ptr + n > pixel_limit) || (pixel_ptr + n < 0)) { \
61 av_log (s->avctx, AV_LOG_INFO, "Problem: pixel_ptr = %d, pixel_limit = %d\n", \
62 pixel_ptr + n, pixel_limit); \
69 int pixel_ptr = 0;
85 pixel_ptr = row_ptr + 2 * (skip & 0x7f);
87 pixel_ptr += 2 * skip;
88 CHECK_PIXEL_PTR(0); /* make sure pixel_ptr is positive */
101 rgb[pixel_ptr++] = pi0;
102 rgb[pixel_ptr++] = pi1;
111 rgb[pixel_ptr++] = s->buf[stream_ptr++];
120 int pixel_ptr;
129 pixel_ptr = row_ptr + (num_pixels * (s->buf[stream_ptr++] - 1));
135 pixel_ptr += (num_pixels * (s->buf[stream_ptr++] - 1));
136 CHECK_PIXEL_PTR(0); /* make sure pixel_ptr is positive */
150 rgb[pixel_ptr++] = pi[i];
159 rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 4) & 0x0f;
160 rgb[pixel_ptr++] = (s->buf[stream_ptr++]) & 0x0f;
162 rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 6) & 0x03;
163 rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 4) & 0x03;
164 rgb[pixel_ptr++] = ((s->buf[stream_ptr]) >> 2) & 0x03;
165 rgb[pixel_ptr++] = (s->buf[stream_ptr++]) & 0x03;
177 int pixel_ptr;
185 pixel_ptr = row_ptr + (4 * (s->buf[stream_ptr++] - 1));
191 pixel_ptr += (4 * (s->buf[stream_ptr++] - 1));
192 CHECK_PIXEL_PTR(0); /* make sure pixel_ptr is positive */
207 rgb[pixel_ptr++] = pi1;
208 rgb[pixel_ptr++] = pi2;
209 rgb[pixel_ptr++] = pi3;
210 rgb[pixel_ptr++] = pi4;
219 rgb[pixel_ptr++] = s->buf[stream_ptr++];
230 int pixel_ptr;
238 pixel_ptr = row_ptr + (s->buf[stream_ptr++] - 1) * 2;
244 pixel_ptr += (s->buf[stream_ptr++] - 1) * 2;
245 CHECK_PIXEL_PTR(0); /* make sure pixel_ptr is positive */
256 *(unsigned short *)(&rgb[pixel_ptr]) = rgb16;
257 pixel_ptr += 2;
267 *(unsigned short *)(&rgb[pixel_ptr]) = rgb16;
268 pixel_ptr += 2;
279 int pixel_ptr;
287 pixel_ptr = row_ptr + (s->buf[stream_ptr++] - 1) * 3;
293 pixel_ptr += (s->buf[stream_ptr++] - 1) * 3;
294 CHECK_PIXEL_PTR(0); /* make sure pixel_ptr is positive */
306 rgb[pixel_ptr++] = r;
307 rgb[pixel_ptr++] = g;
308 rgb[pixel_ptr++] = b;
316 rgb[pixel_ptr++] = s->buf[stream_ptr++];
317 rgb[pixel_ptr++] = s->buf[stream_ptr++];
318 rgb[pixel_ptr++] = s->buf[stream_ptr++];
329 int pixel_ptr;
338 pixel_ptr = row_ptr + (s->buf[stream_ptr++] - 1) * 4;
344 pixel_ptr += (s->buf[stream_ptr++] - 1) * 4;
345 CHECK_PIXEL_PTR(0); /* make sure pixel_ptr is positive */
359 *(unsigned int *)(&rgb[pixel_ptr]) = argb;
360 pixel_ptr += 4;
373 *(unsigned int *)(&rgb[pixel_ptr]) = argb;
374 pixel_ptr += 4;