Home
last modified time | relevance | path

Searched refs:OUTPUT_BUF_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/libjpeg-turbo/
Djdatadst.c43 #define OUTPUT_BUF_SIZE 4096 /* choose an efficiently fwrite'able size */ macro
76 OUTPUT_BUF_SIZE * sizeof(JOCTET)); in init_destination()
79 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
119 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) != in empty_output_buffer()
120 (size_t)OUTPUT_BUF_SIZE) in empty_output_buffer()
124 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
174 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
283 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
286 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()
Djdatadst-tj.c34 #define OUTPUT_BUF_SIZE 4096 /* choose an efficiently fwrite'able size */ macro
190 dest->newbuffer = *outbuffer = (unsigned char *)malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest_tj()
193 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest_tj()