Home
last modified time | relevance | path

Searched refs:free_in_buffer (Results 1 – 15 of 15) sorted by relevance

/external/libjpeg-turbo/
Djcphuff.c92 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
300 if (--(entropy)->free_in_buffer == 0) \
315 entropy->free_in_buffer = dest->free_in_buffer; in dump_buffer()
486 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_first()
539 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_first()
667 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_AC_first()
722 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_AC_first()
754 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_refine()
771 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_refine()
932 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_AC_refine()
[all …]
Djchuff.c123 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
314 if (--(state)->free_in_buffer == 0) \
330 state->free_in_buffer = dest->free_in_buffer; in dump_buffer()
434 if (state->free_in_buffer < BUFSIZE) { \
446 bytestocopy = MIN(bytes, state->free_in_buffer); \
450 state->free_in_buffer -= bytestocopy; \
451 if (state->free_in_buffer == 0) \
456 state->free_in_buffer -= (buffer - state->next_output_byte); \
652 state.free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_huff()
692 cinfo->dest->free_in_buffer = state.free_in_buffer; in encode_mcu_huff()
[all …]
Djdatadst.c79 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
124 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
152 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
175 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
195 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
291 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest()
Djdatadst-tj.c110 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
134 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
200 dest->pub.free_in_buffer = dest->bufsize; in jpeg_mem_dest_tj()
Djcmarker.c119 if (--dest->free_in_buffer == 0) { in emit_byte()
Djpeglib.h792 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
Djcarith.c128 if (--dest->free_in_buffer == 0) in emit_byte()
Dlibjpeg.txt1568 size_t free_in_buffer; /* # of byte spaces remaining in buffer */
1580 next_output_byte and free_in_buffer. free_in_buffer must be
1584 This is called whenever the buffer has filled (free_in_buffer
1587 ignore the current state of next_output_byte and free_in_buffer).
1590 free_in_buffer must be set to a positive value when TRUE is
1598 free_in_buffer to determine how much data is in the buffer.
1732 next_output_byte/free_in_buffer. The data beyond that point will be
/external/tensorflow/tensorflow/core/lib/jpeg/
Djpeg_handle.cc49 dest->pub.free_in_buffer = dest->bufsize; in MemInitDestination()
64 dest->pub.free_in_buffer = dest->bufsize; in MemEmptyOutputBuffer()
71 VLOG(1) << "Writing " << dest->bufsize - dest->pub.free_in_buffer << " bytes"; in MemTermDestination()
74 dest->bufsize - dest->pub.free_in_buffer); in MemTermDestination()
77 dest->datacount = dest->bufsize - dest->pub.free_in_buffer; in MemTermDestination()
/external/skia/src/images/
DSkJPEGWriteUtility.cpp17 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_init_destination()
31 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_empty_output_buffer()
38 size_t size = skjpeg_destination_mgr::kBufferSize - dest->free_in_buffer; in sk_term_destination()
/external/skqp/src/images/
DSkJPEGWriteUtility.cpp17 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_init_destination()
31 dest->free_in_buffer = skjpeg_destination_mgr::kBufferSize; in sk_empty_output_buffer()
38 size_t size = skjpeg_destination_mgr::kBufferSize - dest->free_in_buffer; in sk_term_destination()
/external/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp545 dest.free_in_buffer = dest_buf_length;
591 dest.next_output_byte = *dest_buf + dest_buf_length - dest.free_in_buffer;
593 dest.free_in_buffer += JPEG_BLOCK_SIZE;
599 *dest_size = dest_buf_length - static_cast<size_t>(dest.free_in_buffer);
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c407 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_init_destination()
426 if ( sp->dest.free_in_buffer >= 0 ) { in std_empty_output_buffer()
427 tif->tif_rawcc = tif->tif_rawdatasize - sp->dest.free_in_buffer; in std_empty_output_buffer()
433 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_empty_output_buffer()
446 tif->tif_rawdatasize - (tmsize_t) sp->dest.free_in_buffer; in std_term_destination()
471 sp->dest.free_in_buffer = (size_t) sp->jpegtables_length; in tables_init_destination()
486 sp->dest.free_in_buffer = (size_t) 1000; in tables_empty_output_buffer()
498 sp->jpegtables_length -= (uint32) sp->dest.free_in_buffer; in tables_term_destination()
/external/ImageMagick/coders/
Djpeg.c1788 destination->manager.free_in_buffer=(size_t) WriteBlob(destination->image, in EmptyOutputBuffer()
1790 if (destination->manager.free_in_buffer != MaxBufferExtent) in EmptyOutputBuffer()
1999 destination->manager.free_in_buffer=MaxBufferExtent; in InitializeDestination()
2008 if ((MaxBufferExtent-(int) destination->manager.free_in_buffer) > 0) in TerminateDestination()
2014 destination->manager.free_in_buffer,destination->buffer); in TerminateDestination()
2016 (MaxBufferExtent-destination->manager.free_in_buffer)) in TerminateDestination()
/external/dng_sdk/source/
Ddng_image_writer.cpp3627 dest->pub.free_in_buffer = sizeof (dest->fBuffer); in dng_init_destination()
3641 dest->pub.free_in_buffer = sizeof (dest->fBuffer); in dng_empty_output_buffer()
3655 (uint32) dest->pub.free_in_buffer; in dng_term_destination()