Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djcphuff.c97 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
307 if (--(entropy)->free_in_buffer == 0) \
322 entropy->free_in_buffer = dest->free_in_buffer; in dump_buffer()
493 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_first()
546 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_first()
674 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_AC_first()
729 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_AC_first()
761 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_refine()
778 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_refine()
939 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_AC_refine()
[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()
151 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
174 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
194 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
290 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest()
Djchuff.c140 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
342 if (--(state)->free_in_buffer == 0) \
358 state->free_in_buffer = dest->free_in_buffer; in dump_buffer()
466 if (state->free_in_buffer < BUFSIZE) { \
479 bytestocopy = MIN(bytes, state->free_in_buffer); \
483 state->free_in_buffer -= bytestocopy; \
484 if (state->free_in_buffer == 0) \
489 state->free_in_buffer -= (buffer - state->next_output_byte); \
694 state.free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_huff()
735 cinfo->dest->free_in_buffer = state.free_in_buffer; in encode_mcu_huff()
[all …]
Djdatadst-tj.c111 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer()
135 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
201 dest->pub.free_in_buffer = dest->bufsize; in jpeg_mem_dest_tj()
Djcmarker.c119 if (--dest->free_in_buffer == 0) { in emit_byte()
Djpeglib.h798 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
Djcarith.c128 if (--dest->free_in_buffer == 0) in emit_byte()
Dlibjpeg.txt1586 size_t free_in_buffer; /* # of byte spaces remaining in buffer */
1598 next_output_byte and free_in_buffer. free_in_buffer must be
1602 This is called whenever the buffer has filled (free_in_buffer
1605 ignore the current state of next_output_byte and free_in_buffer).
1608 free_in_buffer must be set to a positive value when TRUE is
1616 free_in_buffer to determine how much data is in the buffer.
1750 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/jpeg/
Djpegmodule.cpp624 dest.free_in_buffer = dest_buf_length; in JpegEncode()
671 dest.next_output_byte = *dest_buf + dest_buf_length - dest.free_in_buffer; in JpegEncode()
673 dest.free_in_buffer += kJpegBlockSize; in JpegEncode()
679 *dest_size = dest_buf_length - static_cast<size_t>(dest.free_in_buffer); in JpegEncode()
/external/libjpeg-turbo/simd/arm/
Djchuff.h34 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
/external/pdfium/third_party/libtiff/
Dtif_jpeg.c453 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_init_destination()
472 if ( sp->dest.free_in_buffer >= 0 ) { in std_empty_output_buffer()
473 tif->tif_rawcc = tif->tif_rawdatasize - sp->dest.free_in_buffer; in std_empty_output_buffer()
479 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_empty_output_buffer()
492 tif->tif_rawdatasize - (tmsize_t) sp->dest.free_in_buffer; in std_term_destination()
517 sp->dest.free_in_buffer = (size_t) sp->jpegtables_length; in tables_init_destination()
532 sp->dest.free_in_buffer = (size_t) 1000; in tables_empty_output_buffer()
544 sp->jpegtables_length -= (uint32) sp->dest.free_in_buffer; in tables_term_destination()
/external/ImageMagick/coders/
Djpeg.c1757 destination->manager.free_in_buffer=(size_t) WriteBlob(destination->image, in EmptyOutputBuffer()
1759 if (destination->manager.free_in_buffer != MagickMinBufferExtent) in EmptyOutputBuffer()
1968 destination->manager.free_in_buffer=MagickMinBufferExtent; in InitializeDestination()
1977 if ((MagickMinBufferExtent-(int) destination->manager.free_in_buffer) > 0) in TerminateDestination()
1983 destination->manager.free_in_buffer,destination->buffer); in TerminateDestination()
1985 (MagickMinBufferExtent-destination->manager.free_in_buffer)) in TerminateDestination()
/external/libjpeg-turbo/simd/x86_64/
Djchuff-sse2.asm25 .free_in_buffer: resp 1 ; # of byte spaces remaining in buffer label
/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()
/external/libjpeg-turbo/simd/i386/
Djchuff-sse2.asm25 .free_in_buffer: resp 1 ; # of byte spaces remaining in buffer label