/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/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/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 | 309 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local 321 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer() 325 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer() 327 bytes_in_buffer--; in jpeg_fill_bit_buffer() 338 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer() 342 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer() 344 bytes_in_buffer--; in jpeg_fill_bit_buffer() 394 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer() 736 br_state.bytes_in_buffer -= (buffer - br_state.next_input_byte); in decode_mcu_fast() 775 if (cinfo->src->bytes_in_buffer < BUFSIZE * (size_t)cinfo->blocks_in_MCU || in decode_mcu()
|
D | jdhuff.h | 104 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member 123 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \ 129 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 | 442 if (datasrc->bytes_in_buffer == 0) { in jpeg_getc() 446 datasrc->bytes_in_buffer--; in jpeg_getc()
|
D | jdarith.c | 79 if (src->bytes_in_buffer == 0) in get_byte() 82 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 | 1617 size_t bytes_in_buffer; /* # of bytes remaining in buffer */ 1629 bytes_in_buffer set to 0 (in which case a fill_input_buffer() call 1633 This is called whenever bytes_in_buffer has reached zero and more 1636 bytes_in_buffer), reset the pointer & count to the start of the 1639 least one more byte. bytes_in_buffer MUST be set to a positive value 1650 skips are uncommon. bytes_in_buffer may be zero on return. 1783 called, next_input_byte/bytes_in_buffer point to the current restart point, 1795 decompressor; it can decrement bytes_in_buffer to zero, but no more. If the 1797 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/libaom/libaom/examples/ |
D | scalable_decoder.c | 100 size_t bytes_in_buffer = 0; in main() local 151 while (!obudec_read_temporal_unit(&obu_ctx, &buf, &bytes_in_buffer, in main() 155 if (aom_codec_decode(&codec, buf, bytes_in_buffer, NULL)) in main()
|
/external/ltp/testcases/kernel/sched/eas/ |
D | trace_parse.c | 379 int bytes_in_buffer; in refill_buffer() local 384 bytes_in_buffer = TRACE_BUFFER_SIZE - (idx - buffer) - 1; in refill_buffer() 385 bytes_to_read = TRACE_BUFFER_SIZE - bytes_in_buffer - 1; in refill_buffer() 396 memmove(buffer, idx, bytes_in_buffer); in refill_buffer() 397 idx = buffer + bytes_in_buffer; in refill_buffer()
|
/external/libaom/libaom/apps/ |
D | aomdec.c | 230 size_t *bytes_in_buffer, size_t *buffer_size) { in read_frame() argument 234 return webm_read_frame(input->webm_ctx, buf, bytes_in_buffer, in read_frame() 238 return raw_read_frame(input->aom_input_ctx->file, buf, bytes_in_buffer, in read_frame() 241 return ivf_read_frame(input->aom_input_ctx->file, buf, bytes_in_buffer, in read_frame() 244 return obudec_read_temporal_unit(input->obu_ctx, buf, bytes_in_buffer, in read_frame() 436 size_t bytes_in_buffer = 0, buffer_size = 0; in main_loop() local 714 if (read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) break; in main_loop() 745 if (!read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) { in main_loop() 751 if (aom_codec_decode(&decoder, buf, bytes_in_buffer, NULL)) { in main_loop() 767 fprintf(framestats_file, "%d,%d\r\n", (int)bytes_in_buffer, qp); in main_loop()
|
/external/libvpx/libvpx/ |
D | vpxdec.c | 269 size_t *bytes_in_buffer, size_t *buffer_size) { in read_frame() argument 273 return webm_read_frame(input->webm_ctx, buf, bytes_in_buffer); in read_frame() 276 return raw_read_frame(input->vpx_input_ctx->file, buf, bytes_in_buffer, in read_frame() 279 return ivf_read_frame(input->vpx_input_ctx->file, buf, bytes_in_buffer, in read_frame() 523 size_t bytes_in_buffer = 0, buffer_size = 0; in main_loop() local 809 if (read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) break; in main_loop() 840 if (!read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) { in main_loop() 846 if (vpx_codec_decode(&decoder, buf, (unsigned int)bytes_in_buffer, NULL, in main_loop() 863 fprintf(framestats_file, "%d,%d\n", (int)bytes_in_buffer, qp); in main_loop()
|
/external/libchrome/ipc/ |
D | sync_socket_unittest.cc | 290 size_t bytes_in_buffer = pair[1].Peek(); in TEST_F() local 291 EXPECT_NE(bytes_in_buffer, 0U); in TEST_F() 296 EXPECT_EQ(bytes_in_buffer, pair[1].Peek()); in TEST_F()
|
/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/ImageMagick/coders/ |
D | jpeg.c | 261 source->manager.bytes_in_buffer=(size_t) ReadBlob(source->image, in FillInputBuffer() 263 if (source->manager.bytes_in_buffer == 0) in FillInputBuffer() 270 source->manager.bytes_in_buffer=2; in FillInputBuffer() 279 if (jpeg_info->src->bytes_in_buffer == 0) in GetCharacter() 281 jpeg_info->src->bytes_in_buffer--; in GetCharacter() 831 while (number_bytes > (long) source->manager.bytes_in_buffer) in SkipInputData() 833 number_bytes-=(long) source->manager.bytes_in_buffer; in SkipInputData() 837 source->manager.bytes_in_buffer-=number_bytes; in SkipInputData() 861 source->manager.bytes_in_buffer=0; in JPEGSourceManager()
|
/external/libaom/libaom/third_party/libyuv/source/ |
D | mjpeg_decoder.cc | 427 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 | 424 cinfo->src->bytes_in_buffer = buf_vec->buffers[buf_vec->pos].len; in fill_input_buffer()
|
/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()
|