/third_party/flutter/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 …]
|
/third_party/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 …]
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
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 | 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 | 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()
|
/third_party/skia/third_party/externals/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 | 91 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer() 119 while (num_bytes > (long)src->bytes_in_buffer) { in skip_input_data() 120 num_bytes -= (long)src->bytes_in_buffer; in skip_input_data() 127 src->bytes_in_buffer -= (size_t)num_bytes; in skip_input_data() 192 src->bytes_in_buffer = (size_t)insize; in jpeg_mem_src_tj()
|
D | jdhuff.c | 292 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local 304 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer() 308 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer() 310 bytes_in_buffer--; in jpeg_fill_bit_buffer() 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() 377 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer() 733 br_state.bytes_in_buffer -= (buffer - br_state.next_input_byte); in decode_mcu_fast() 772 if (cinfo->src->bytes_in_buffer < BUFSIZE * (size_t)cinfo->blocks_in_MCU || in decode_mcu()
|
D | jdhuff.h | 110 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member 129 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \ 135 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--; \ 808 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker() 810 bytes_in_buffer--; in save_marker()
|
/third_party/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 | 91 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer() 119 while (num_bytes > (long)src->bytes_in_buffer) { in skip_input_data() 120 num_bytes -= (long)src->bytes_in_buffer; in skip_input_data() 127 src->bytes_in_buffer -= (size_t)num_bytes; in skip_input_data() 192 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() 740 br_state.bytes_in_buffer -= (buffer - br_state.next_input_byte); in decode_mcu_fast() 779 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()
|
/third_party/boost/boost/gil/extension/io/jpeg/detail/ |
D | reader_backend.hpp | 109 _src._jsrc.bytes_in_buffer = 0; in reader_backend() 250 src->_jsrc.bytes_in_buffer = 0; in init_device() 268 src->_jsrc.bytes_in_buffer = count; in fill_buffer() 279 while( num_bytes > long( src->_jsrc.bytes_in_buffer )) in skip_input_data() 281 num_bytes -= (long) src->_jsrc.bytes_in_buffer; in skip_input_data() 286 src->_jsrc.bytes_in_buffer -= num_bytes; in skip_input_data()
|
/third_party/skia/third_party/externals/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()
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | jpegdec.c | 223 ctx->pub.bytes_in_buffer = ctx->data_size; in ContextInit() 235 if (jump > ctx->pub.bytes_in_buffer) { // Don't overflow the buffer. in ContextSkip() 236 jump = ctx->pub.bytes_in_buffer; in ContextSkip() 238 ctx->pub.bytes_in_buffer -= jump; in ContextSkip() 254 ctx->pub.bytes_in_buffer = 0; in ContextSetup()
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
D | jpegdec.c | 223 ctx->pub.bytes_in_buffer = ctx->data_size; in ContextInit() 235 if (jump > ctx->pub.bytes_in_buffer) { // Don't overflow the buffer. in ContextSkip() 236 jump = ctx->pub.bytes_in_buffer; in ContextSkip() 238 ctx->pub.bytes_in_buffer -= jump; in ContextSkip() 254 ctx->pub.bytes_in_buffer = 0; in ContextSetup()
|
/third_party/FreeBSD/sys/dev/usb/net/ |
D | usb_ethernet.c | 217 UINT32 bytes_in_buffer; in ue_recv() local 237 bytes_in_buffer = m->len; in ue_recv() 238 bytes_in_buffer -= buffer_pos; in ue_recv() 242 if (bytes_needed_list < bytes_in_buffer) { in ue_recv() 255 (UINT8 *)&hw_rxbuf[buffer_pos], bytes_in_buffer); in ue_recv() 261 bytes_in_list += bytes_in_buffer; in ue_recv()
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/ |
D | lite_image_utils.cc | 42 if (cinfo->src->bytes_in_buffer == 0) { in JpegFillInputBuffer() 61 if (static_cast<size_t>(jump) > cinfo->src->bytes_in_buffer) { in JpegSkipInputData() 62 cinfo->src->bytes_in_buffer = 0; in JpegSkipInputData() 65 cinfo->src->bytes_in_buffer -= jump; in JpegSkipInputData() 83 cinfo->src->bytes_in_buffer = datasize; in JpegSetSource()
|
/third_party/gstreamer/gstplugins_good/ext/jpeg/ |
D | gstjpegdec.c | 213 if (num_bytes > 0 && cinfo->src->bytes_in_buffer >= num_bytes) { in gst_jpeg_dec_skip_input_data() 215 cinfo->src->bytes_in_buffer -= (size_t) num_bytes; in gst_jpeg_dec_skip_input_data() 1377 dec->cinfo.src->bytes_in_buffer = dec->current_frame_map.size; in gst_jpeg_dec_handle_frame() 1460 while (dec->jsrc.pub.bytes_in_buffer > 2 && in gst_jpeg_dec_handle_frame() 1462 --dec->jsrc.pub.bytes_in_buffer; in gst_jpeg_dec_handle_frame()
|