Lines Matching defs:out_buffer
335 uint8 out_buffer[OJPEG_BUFFER];
2184 sp->out_buffer[0]=255;
2185 sp->out_buffer[1]=JPEG_MARKER_SOI;
2187 *mem=(void*)sp->out_buffer;
2234 sp->out_buffer[0]=255;
2235 sp->out_buffer[1]=JPEG_MARKER_DRI;
2236 sp->out_buffer[2]=0;
2237 sp->out_buffer[3]=4;
2238 sp->out_buffer[4]=(sp->restart_interval>>8);
2239 sp->out_buffer[5]=(sp->restart_interval&255);
2241 *mem=(void*)sp->out_buffer;
2253 sp->out_buffer[0]=255;
2254 sp->out_buffer[1]=sp->sof_marker_id;
2256 sp->out_buffer[2]=0;
2257 sp->out_buffer[3]=8+sp->samples_per_pixel_per_plane*3;
2259 sp->out_buffer[4]=8;
2261 sp->out_buffer[5]=(sp->sof_y>>8);
2262 sp->out_buffer[6]=(sp->sof_y&255);
2264 sp->out_buffer[7]=(sp->sof_x>>8);
2265 sp->out_buffer[8]=(sp->sof_x&255);
2267 sp->out_buffer[9]=sp->samples_per_pixel_per_plane;
2271 sp->out_buffer[10+m*3]=sp->sof_c[sp->plane_sample_offset+m];
2273 sp->out_buffer[10+m*3+1]=sp->sof_hv[sp->plane_sample_offset+m];
2275 sp->out_buffer[10+m*3+2]=sp->sof_tq[sp->plane_sample_offset+m];
2278 *mem=(void*)sp->out_buffer;
2289 sp->out_buffer[0]=255;
2290 sp->out_buffer[1]=JPEG_MARKER_SOS;
2292 sp->out_buffer[2]=0;
2293 sp->out_buffer[3]=6+sp->samples_per_pixel_per_plane*2;
2295 sp->out_buffer[4]=sp->samples_per_pixel_per_plane;
2299 sp->out_buffer[5+m*2]=sp->sos_cs[sp->plane_sample_offset+m];
2301 sp->out_buffer[5+m*2+1]=sp->sos_tda[sp->plane_sample_offset+m];
2304 sp->out_buffer[5+sp->samples_per_pixel_per_plane*2]=0;
2306 sp->out_buffer[5+sp->samples_per_pixel_per_plane*2+1]=63;
2308 sp->out_buffer[5+sp->samples_per_pixel_per_plane*2+2]=0;
2310 *mem=(void*)sp->out_buffer;
2352 sp->out_buffer[0]=255;
2353 sp->out_buffer[1]=JPEG_MARKER_RST0+sp->restart_index;
2358 *mem=(void*)sp->out_buffer;
2367 sp->out_buffer[0]=255;
2368 sp->out_buffer[1]=JPEG_MARKER_EOI;
2370 *mem=(void*)sp->out_buffer;