Lines Matching refs:p
52 unsigned char *p; /* destination */ member
64 *name.p = name.a >> 24; \
65 ++name.p; \
292 int i, p = 0; in mjpeg_frame_header() local
294 buf[p++] = 0xff; in mjpeg_frame_header()
295 buf[p++] = 0xd8; in mjpeg_frame_header()
296 buf[p++] = 0xff; in mjpeg_frame_header()
297 buf[p++] = 0xdb; in mjpeg_frame_header()
298 buf[p++] = 0; in mjpeg_frame_header()
299 buf[p++] = 2 + 65; in mjpeg_frame_header()
300 buf[p++] = 0; in mjpeg_frame_header()
301 buf[p++] = default_intra_quant_table[0]; in mjpeg_frame_header()
304 buf[p++] = (default_intra_quant_table[zz[i]] * q) >> 3; in mjpeg_frame_header()
305 buf[p++] = 0xff; in mjpeg_frame_header()
306 buf[p++] = 0xc0; in mjpeg_frame_header()
307 buf[p++] = 0; in mjpeg_frame_header()
308 buf[p++] = 17; in mjpeg_frame_header()
309 buf[p++] = 8; in mjpeg_frame_header()
310 buf[p++] = go->height >> 8; in mjpeg_frame_header()
311 buf[p++] = go->height & 0xff; in mjpeg_frame_header()
312 buf[p++] = go->width >> 8; in mjpeg_frame_header()
313 buf[p++] = go->width & 0xff; in mjpeg_frame_header()
314 buf[p++] = 3; in mjpeg_frame_header()
315 buf[p++] = 1; in mjpeg_frame_header()
316 buf[p++] = 0x22; in mjpeg_frame_header()
317 buf[p++] = 0; in mjpeg_frame_header()
318 buf[p++] = 2; in mjpeg_frame_header()
319 buf[p++] = 0x11; in mjpeg_frame_header()
320 buf[p++] = 0; in mjpeg_frame_header()
321 buf[p++] = 3; in mjpeg_frame_header()
322 buf[p++] = 0x11; in mjpeg_frame_header()
323 buf[p++] = 0; in mjpeg_frame_header()
324 buf[p++] = 0xff; in mjpeg_frame_header()
325 buf[p++] = 0xc4; in mjpeg_frame_header()
326 buf[p++] = 418 >> 8; in mjpeg_frame_header()
327 buf[p++] = 418 & 0xff; in mjpeg_frame_header()
328 buf[p++] = 0x00; in mjpeg_frame_header()
329 memcpy(buf + p, bits_dc_luminance + 1, 16); in mjpeg_frame_header()
330 p += 16; in mjpeg_frame_header()
331 memcpy(buf + p, val_dc_luminance, sizeof(val_dc_luminance)); in mjpeg_frame_header()
332 p += sizeof(val_dc_luminance); in mjpeg_frame_header()
333 buf[p++] = 0x01; in mjpeg_frame_header()
334 memcpy(buf + p, bits_dc_chrominance + 1, 16); in mjpeg_frame_header()
335 p += 16; in mjpeg_frame_header()
336 memcpy(buf + p, val_dc_chrominance, sizeof(val_dc_chrominance)); in mjpeg_frame_header()
337 p += sizeof(val_dc_chrominance); in mjpeg_frame_header()
338 buf[p++] = 0x10; in mjpeg_frame_header()
339 memcpy(buf + p, bits_ac_luminance + 1, 16); in mjpeg_frame_header()
340 p += 16; in mjpeg_frame_header()
341 memcpy(buf + p, val_ac_luminance, sizeof(val_ac_luminance)); in mjpeg_frame_header()
342 p += sizeof(val_ac_luminance); in mjpeg_frame_header()
343 buf[p++] = 0x11; in mjpeg_frame_header()
344 memcpy(buf + p, bits_ac_chrominance + 1, 16); in mjpeg_frame_header()
345 p += 16; in mjpeg_frame_header()
346 memcpy(buf + p, val_ac_chrominance, sizeof(val_ac_chrominance)); in mjpeg_frame_header()
347 p += sizeof(val_ac_chrominance); in mjpeg_frame_header()
348 buf[p++] = 0xff; in mjpeg_frame_header()
349 buf[p++] = 0xda; in mjpeg_frame_header()
350 buf[p++] = 0; in mjpeg_frame_header()
351 buf[p++] = 12; in mjpeg_frame_header()
352 buf[p++] = 3; in mjpeg_frame_header()
353 buf[p++] = 1; in mjpeg_frame_header()
354 buf[p++] = 0x00; in mjpeg_frame_header()
355 buf[p++] = 2; in mjpeg_frame_header()
356 buf[p++] = 0x11; in mjpeg_frame_header()
357 buf[p++] = 3; in mjpeg_frame_header()
358 buf[p++] = 0x11; in mjpeg_frame_header()
359 buf[p++] = 0; in mjpeg_frame_header()
360 buf[p++] = 63; in mjpeg_frame_header()
361 buf[p++] = 0; in mjpeg_frame_header()
362 return p; in mjpeg_frame_header()