Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djdatadst.c42 #define OUTPUT_BUF_SIZE 4096 /* choose an efficiently fwrite'able size */ macro
75 OUTPUT_BUF_SIZE * sizeof(JOCTET)); in init_destination()
78 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
118 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) != in empty_output_buffer()
119 (size_t) OUTPUT_BUF_SIZE) in empty_output_buffer()
123 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()
270 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
273 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()
Djdatadst-tj.c31 #define OUTPUT_BUF_SIZE 4096 /* choose an efficiently fwrite'able size */ macro
184 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest_tj()
187 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest_tj()
/external/opencv3/3rdparty/libjpeg/
Djdatadst.c40 #define OUTPUT_BUF_SIZE 4096 /* choose an efficiently fwrite'able size */ macro
71 OUTPUT_BUF_SIZE * SIZEOF(JOCTET)); in init_destination()
74 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
112 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) != in empty_output_buffer()
113 (size_t) OUTPUT_BUF_SIZE) in empty_output_buffer()
117 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
166 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
262 dest->newbuffer = *outbuffer = (unsigned char *) malloc(OUTPUT_BUF_SIZE); in jpeg_mem_dest()
265 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()