/external/skqp/src/codec/ |
D | SkJpegUtility.cpp | 34 src->bytes_in_buffer = 0; in sk_init_buffered_source() 48 src->bytes_in_buffer = 0; in sk_fill_buffered_input_buffer() 53 src->bytes_in_buffer = bytes; in sk_fill_buffered_input_buffer() 64 if (bytes > src->bytes_in_buffer) { in sk_skip_buffered_input_data() 65 size_t bytesToSkip = bytes - src->bytes_in_buffer; in sk_skip_buffered_input_data() 73 src->bytes_in_buffer = 0; in sk_skip_buffered_input_data() 76 src->bytes_in_buffer -= numBytes; in sk_skip_buffered_input_data() 103 if(bytes > src->bytes_in_buffer) { in sk_skip_mem_input_data() 105 src->bytes_in_buffer = 0; in sk_skip_mem_input_data() 108 src->bytes_in_buffer -= bytes; in sk_skip_mem_input_data() [all …]
|
/external/skia/src/codec/ |
D | SkJpegUtility.cpp | 34 src->bytes_in_buffer = 0; in sk_init_buffered_source() 48 src->bytes_in_buffer = 0; in sk_fill_buffered_input_buffer() 53 src->bytes_in_buffer = bytes; in sk_fill_buffered_input_buffer() 64 if (bytes > src->bytes_in_buffer) { in sk_skip_buffered_input_data() 65 size_t bytesToSkip = bytes - src->bytes_in_buffer; in sk_skip_buffered_input_data() 73 src->bytes_in_buffer = 0; in sk_skip_buffered_input_data() 76 src->bytes_in_buffer -= numBytes; in sk_skip_buffered_input_data() 103 if(bytes > src->bytes_in_buffer) { in sk_skip_mem_input_data() 105 src->bytes_in_buffer = 0; in sk_skip_mem_input_data() 108 src->bytes_in_buffer -= bytes; in sk_skip_mem_input_data() [all …]
|
/external/tensorflow/tensorflow/core/lib/jpeg/ |
D | jpeg_handle.cc | 113 src->pub.bytes_in_buffer = src->datasize; in MemInitSource() 122 if (src->pub.bytes_in_buffer == 0 && src->pub.next_input_byte == src->data) { in MemFillInputBuffer() 126 } else if (src->pub.bytes_in_buffer) { in MemFillInputBuffer() 134 src->pub.bytes_in_buffer = 2; in MemFillInputBuffer() 153 if (jump > src->pub.bytes_in_buffer) { in MemSkipInputData() 154 src->pub.bytes_in_buffer = 0; in MemSkipInputData() 157 src->pub.bytes_in_buffer -= jump; in MemSkipInputData() 179 src->pub.bytes_in_buffer = 0; in SetSrc()
|
/external/libjpeg-turbo/ |
D | jdatasrc.c | 120 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer() 143 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer() 172 while (num_bytes > (long) src->bytes_in_buffer) { in skip_input_data() 173 num_bytes -= (long) src->bytes_in_buffer; in skip_input_data() 180 src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data() 251 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_stdio_src() 292 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src()
|
D | jdatasrc-tj.c | 88 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer() 116 while (num_bytes > (long) src->bytes_in_buffer) { in skip_input_data() 117 num_bytes -= (long) src->bytes_in_buffer; in skip_input_data() 124 src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data() 189 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src_tj()
|
D | jdhuff.c | 306 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local 318 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer() 322 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer() 324 bytes_in_buffer--; in jpeg_fill_bit_buffer() 335 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer() 339 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer() 341 bytes_in_buffer--; in jpeg_fill_bit_buffer() 391 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer() 730 br_state.bytes_in_buffer -= (buffer - br_state.next_input_byte); in decode_mcu_fast() 769 if (cinfo->src->bytes_in_buffer < BUFSIZE * (size_t)cinfo->blocks_in_MCU in decode_mcu()
|
D | jdhuff.h | 105 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member 124 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \ 130 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
|
D | jdmarker.c | 125 size_t bytes_in_buffer = datasrc->bytes_in_buffer 130 datasrc->bytes_in_buffer = bytes_in_buffer ) 135 bytes_in_buffer = datasrc->bytes_in_buffer ) 142 if (bytes_in_buffer == 0) { \ 153 bytes_in_buffer--; \ 161 bytes_in_buffer--; \ 164 bytes_in_buffer--; \ 811 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker() 813 bytes_in_buffer--; in save_marker()
|
D | djpeg.c | 427 if (datasrc->bytes_in_buffer == 0) { in jpeg_getc() 431 datasrc->bytes_in_buffer--; in jpeg_getc()
|
D | jdarith.c | 76 if (src->bytes_in_buffer == 0) in get_byte() 79 src->bytes_in_buffer--; in get_byte()
|
D | jpeglib.h | 804 size_t bytes_in_buffer; /* # of bytes remaining in buffer */ member
|
D | libjpeg.txt | 1615 size_t bytes_in_buffer; /* # of bytes remaining in buffer */ 1627 bytes_in_buffer set to 0 (in which case a fill_input_buffer() call 1631 This is called whenever bytes_in_buffer has reached zero and more 1634 bytes_in_buffer), reset the pointer & count to the start of the 1637 least one more byte. bytes_in_buffer MUST be set to a positive value 1648 skips are uncommon. bytes_in_buffer may be zero on return. 1781 called, next_input_byte/bytes_in_buffer point to the current restart point, 1793 decompressor; it can decrement bytes_in_buffer to zero, but no more. If the 1795 buffer, then skip_input_data() must set bytes_in_buffer to zero and record the
|
/external/pdfium/core/fxcodec/codec/ |
D | fx_codec_jpeg.cpp | 72 if (num > (long)cinfo->src->bytes_in_buffer) { in _src_skip_data() 76 cinfo->src->bytes_in_buffer -= num; in _src_skip_data() 146 src.bytes_in_buffer = src_size; in JpegLoadInfo() 228 src.bytes_in_buffer = m_SrcSize; in InitDecode() 334 return (uint32_t)(m_SrcSize - src.bytes_in_buffer); in GetSrcOffset() 374 if (cinfo->src->bytes_in_buffer < static_cast<size_t>(num)) { in _src_skip_data1() 376 pContext->m_SkipSize = (unsigned int)(num - cinfo->src->bytes_in_buffer); in _src_skip_data1() 377 cinfo->src->bytes_in_buffer = 0; in _src_skip_data1() 380 cinfo->src->bytes_in_buffer -= num; in _src_skip_data1() 437 ctx->m_SrcMgr.bytes_in_buffer = 0; in Input() [all …]
|
/external/dng_sdk/source/ |
D | dng_jpeg_memory_source.cpp | 38 if (num_bytes_as_size_t <= source_manager->bytes_in_buffer) { in SkipInputData() 39 source_manager->bytes_in_buffer -= num_bytes_as_size_t; in SkipInputData() 64 source.bytes_in_buffer = size; in CreateJpegMemorySource()
|
/external/libvpx/libvpx/ |
D | vpxdec.c | 247 size_t *bytes_in_buffer, size_t *buffer_size) { in read_frame() argument 251 return webm_read_frame(input->webm_ctx, buf, bytes_in_buffer); in read_frame() 254 return raw_read_frame(input->vpx_input_ctx->file, buf, bytes_in_buffer, in read_frame() 257 return ivf_read_frame(input->vpx_input_ctx->file, buf, bytes_in_buffer, in read_frame() 501 size_t bytes_in_buffer = 0, buffer_size = 0; in main_loop() local 769 if (read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) break; in main_loop() 800 if (!read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) { in main_loop() 806 if (vpx_codec_decode(&decoder, buf, (unsigned int)bytes_in_buffer, NULL, in main_loop() 823 fprintf(framestats_file, "%d,%d\n", (int)bytes_in_buffer, qp); in main_loop()
|
/external/libvncserver/libvncclient/ |
D | tight.c | 633 client->jpegSrcManager->bytes_in_buffer = client->jpegBufferLen; in JpegFillInputBuffer() 643 if (num_bytes < 0 || num_bytes > client->jpegSrcManager->bytes_in_buffer) { in JpegSkipInputData() 645 client->jpegSrcManager->bytes_in_buffer = client->jpegBufferLen; in JpegSkipInputData() 649 client->jpegSrcManager->bytes_in_buffer -= (size_t) num_bytes; in JpegSkipInputData() 676 client->jpegSrcManager->bytes_in_buffer = client->jpegBufferLen; in JpegSetSrcManager()
|
/external/pdfium/third_party/libtiff/ |
D | tif_jpeg.c | 537 sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; in std_init_source() 556 if( sp->src.bytes_in_buffer > 0 ) { in std_fill_input_buffer() 572 sp->src.bytes_in_buffer = 2; in std_fill_input_buffer() 582 if ((size_t)num_bytes > sp->src.bytes_in_buffer) { in std_skip_input_data() 587 sp->src.bytes_in_buffer -= (size_t) num_bytes; in std_skip_input_data() 609 sp->src.bytes_in_buffer = 0; /* for safety */ in TIFFjpeg_data_src() 624 sp->src.bytes_in_buffer = (size_t) sp->jpegtables_length; in tables_init_source() 1049 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGPreDecode() 1206 sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; in JPEGDecode() 1241 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGDecode() [all …]
|
D | tif_ojpeg.c | 1184 sp->libjpeg_jpeg_source_mgr.bytes_in_buffer=0; in OJPEGWriteHeaderInfo() 2526 sp->libjpeg_jpeg_source_mgr.bytes_in_buffer=len; in OJPEGLibjpegJpegSourceMgrFillInputBuffer()
|
/external/libvncserver/common/ |
D | turbojpeg.c | 638 dinfo->src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data() 704 this->jsrc.bytes_in_buffer=jpegSize; in tjDecompressHeader2() 776 this->jsrc.bytes_in_buffer=jpegSize; in tjDecompress2()
|
/external/ImageMagick/coders/ |
D | jpeg.c | 252 source->manager.bytes_in_buffer=(size_t) ReadBlob(source->image, in FillInputBuffer() 254 if (source->manager.bytes_in_buffer == 0) in FillInputBuffer() 261 source->manager.bytes_in_buffer=2; in FillInputBuffer() 270 if (jpeg_info->src->bytes_in_buffer == 0) in GetCharacter() 272 jpeg_info->src->bytes_in_buffer--; in GetCharacter() 760 while (number_bytes > (long) source->manager.bytes_in_buffer) in SkipInputData() 762 number_bytes-=(long) source->manager.bytes_in_buffer; in SkipInputData() 766 source->manager.bytes_in_buffer-=number_bytes; in SkipInputData() 790 source->manager.bytes_in_buffer=0; in JPEGSourceManager()
|
/external/libyuv/files/source/ |
D | mjpeg_decoder.cc | 424 cinfo->src->bytes_in_buffer = buf_vec->buffers[buf_vec->pos].len; in fill_input_buffer()
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | mjpeg_decoder.cc | 428 cinfo->src->bytes_in_buffer = buf_vec->buffers[buf_vec->pos].len; in fill_input_buffer()
|