Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djcphuff.c37 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
203 if (--(entropy)->free_in_buffer == 0) \
217 entropy->free_in_buffer = dest->free_in_buffer; in dump_buffer()
390 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_first()
443 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_first()
476 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_AC_first()
549 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_AC_first()
581 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_refine()
598 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_refine()
633 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()
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()
Djchuff.c124 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
315 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) \
457 state->free_in_buffer -= (buffer - state->next_output_byte); \
653 state.free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_huff()
693 cinfo->dest->free_in_buffer = state.free_in_buffer; in encode_mcu_huff()
[all …]
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()
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.h792 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
Djcarith.c125 if (--dest->free_in_buffer == 0) in emit_byte()
Dlibjpeg.txt1565 size_t free_in_buffer; /* # of byte spaces remaining in buffer */
1577 next_output_byte and free_in_buffer. free_in_buffer must be
1581 This is called whenever the buffer has filled (free_in_buffer
1584 ignore the current state of next_output_byte and free_in_buffer).
1587 free_in_buffer must be set to a positive value when TRUE is
1595 free_in_buffer to determine how much data is in the buffer.
1729 next_output_byte/free_in_buffer. The data beyond that point will be
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jcphuff.c34 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
200 if (--(entropy)->free_in_buffer == 0) \
214 entropy->free_in_buffer = dest->free_in_buffer; in dump_buffer()
389 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_first()
442 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_first()
475 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_AC_first()
548 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_AC_first()
580 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_DC_refine()
597 cinfo->dest->free_in_buffer = entropy->free_in_buffer; in encode_mcu_DC_refine()
632 entropy->free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_AC_refine()
[all …]
Dfpdfapi_jchuff.c81 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
271 if (--(state)->free_in_buffer == 0) \
286 state->free_in_buffer = dest->free_in_buffer; in dump_buffer()
484 state.free_in_buffer = cinfo->dest->free_in_buffer; in encode_mcu_huff()
510 cinfo->dest->free_in_buffer = state.free_in_buffer; in encode_mcu_huff()
539 state.free_in_buffer = cinfo->dest->free_in_buffer; in finish_pass_huff()
549 cinfo->dest->free_in_buffer = state.free_in_buffer; in finish_pass_huff()
Dfpdfapi_jcmarker.c114 if (--dest->free_in_buffer == 0) { in emit_byte()
Djpeglib.h817 size_t free_in_buffer; /* # of byte spaces remaining in buffer */ member
/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/pdfium/core/fxcodec/codec/
Dfx_codec_jpeg.cpp528 dest.free_in_buffer = dest_buf_length;
574 dest.next_output_byte = *dest_buf + dest_buf_length - dest.free_in_buffer;
576 dest.free_in_buffer += JPEG_BLOCK_SIZE;
582 *dest_size = dest_buf_length - (FX_STRSIZE)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/libvncserver/common/
Dturbojpeg.c586 this->jdst.free_in_buffer=tjBufSize(width, height, jpegSubsamp); in tjCompress2()
603 -(unsigned long)(this->jdst.free_in_buffer); in tjCompress2()
/external/ImageMagick/coders/
Djpeg.c1675 destination->manager.free_in_buffer=(size_t) WriteBlob(destination->image, in EmptyOutputBuffer()
1677 if (destination->manager.free_in_buffer != MaxBufferExtent) in EmptyOutputBuffer()
1889 destination->manager.free_in_buffer=MaxBufferExtent; in InitializeDestination()
1898 if ((MaxBufferExtent-(int) destination->manager.free_in_buffer) > 0) in TerminateDestination()
1904 destination->manager.free_in_buffer,destination->buffer); in TerminateDestination()
1906 (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()