Lines Matching refs:out_buffer
345 uint8 out_buffer[OJPEG_BUFFER]; member
2228 sp->out_buffer[0]=255; in OJPEGWriteStreamSoi()
2229 sp->out_buffer[1]=JPEG_MARKER_SOI; in OJPEGWriteStreamSoi()
2231 *mem=(void*)sp->out_buffer; in OJPEGWriteStreamSoi()
2278 sp->out_buffer[0]=255; in OJPEGWriteStreamDri()
2279 sp->out_buffer[1]=JPEG_MARKER_DRI; in OJPEGWriteStreamDri()
2280 sp->out_buffer[2]=0; in OJPEGWriteStreamDri()
2281 sp->out_buffer[3]=4; in OJPEGWriteStreamDri()
2282 sp->out_buffer[4]=(sp->restart_interval>>8); in OJPEGWriteStreamDri()
2283 sp->out_buffer[5]=(sp->restart_interval&255); in OJPEGWriteStreamDri()
2285 *mem=(void*)sp->out_buffer; in OJPEGWriteStreamDri()
2297 sp->out_buffer[0]=255; in OJPEGWriteStreamSof()
2298 sp->out_buffer[1]=sp->sof_marker_id; in OJPEGWriteStreamSof()
2300 sp->out_buffer[2]=0; in OJPEGWriteStreamSof()
2301 sp->out_buffer[3]=8+sp->samples_per_pixel_per_plane*3; in OJPEGWriteStreamSof()
2303 sp->out_buffer[4]=8; in OJPEGWriteStreamSof()
2305 sp->out_buffer[5]=(uint8)(sp->sof_y>>8); in OJPEGWriteStreamSof()
2306 sp->out_buffer[6]=(sp->sof_y&255); in OJPEGWriteStreamSof()
2308 sp->out_buffer[7]=(uint8)(sp->sof_x>>8); in OJPEGWriteStreamSof()
2309 sp->out_buffer[8]=(sp->sof_x&255); in OJPEGWriteStreamSof()
2311 sp->out_buffer[9]=sp->samples_per_pixel_per_plane; in OJPEGWriteStreamSof()
2315 sp->out_buffer[10+m*3]=sp->sof_c[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
2317 sp->out_buffer[10+m*3+1]=sp->sof_hv[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
2319 sp->out_buffer[10+m*3+2]=sp->sof_tq[sp->plane_sample_offset+m]; in OJPEGWriteStreamSof()
2322 *mem=(void*)sp->out_buffer; in OJPEGWriteStreamSof()
2333 sp->out_buffer[0]=255; in OJPEGWriteStreamSos()
2334 sp->out_buffer[1]=JPEG_MARKER_SOS; in OJPEGWriteStreamSos()
2336 sp->out_buffer[2]=0; in OJPEGWriteStreamSos()
2337 sp->out_buffer[3]=6+sp->samples_per_pixel_per_plane*2; in OJPEGWriteStreamSos()
2339 sp->out_buffer[4]=sp->samples_per_pixel_per_plane; in OJPEGWriteStreamSos()
2343 sp->out_buffer[5+m*2]=sp->sos_cs[sp->plane_sample_offset+m]; in OJPEGWriteStreamSos()
2345 sp->out_buffer[5+m*2+1]=sp->sos_tda[sp->plane_sample_offset+m]; in OJPEGWriteStreamSos()
2348 sp->out_buffer[5+sp->samples_per_pixel_per_plane*2]=0; in OJPEGWriteStreamSos()
2350 sp->out_buffer[5+sp->samples_per_pixel_per_plane*2+1]=63; in OJPEGWriteStreamSos()
2352 sp->out_buffer[5+sp->samples_per_pixel_per_plane*2+2]=0; in OJPEGWriteStreamSos()
2354 *mem=(void*)sp->out_buffer; in OJPEGWriteStreamSos()
2396 sp->out_buffer[0]=255; in OJPEGWriteStreamRst()
2397 sp->out_buffer[1]=JPEG_MARKER_RST0+sp->restart_index; in OJPEGWriteStreamRst()
2402 *mem=(void*)sp->out_buffer; in OJPEGWriteStreamRst()
2411 sp->out_buffer[0]=255; in OJPEGWriteStreamEoi()
2412 sp->out_buffer[1]=JPEG_MARKER_EOI; in OJPEGWriteStreamEoi()
2414 *mem=(void*)sp->out_buffer; in OJPEGWriteStreamEoi()