Home
last modified time | relevance | path

Searched refs:bytes_in_buffer (Results 1 – 25 of 38) sorted by relevance

12

/external/srtp/crypto/cipher/
Daes_icm.c193 c->bytes_in_buffer = 0; in aes_icm_context_init()
237 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_set_octet()
245 c->bytes_in_buffer = sizeof(v128_t) - tail_num; in aes_icm_set_octet()
250 c->bytes_in_buffer = 0; in aes_icm_set_octet()
274 c->bytes_in_buffer = 0; in aes_icm_set_iv()
293 c->bytes_in_buffer = sizeof(v128_t); in aes_icm_advance_ismacryp()
345 if (bytes_to_encr <= (unsigned int)c->bytes_in_buffer) { in aes_icm_encrypt_ismacryp()
348 for (i = (sizeof(v128_t) - c->bytes_in_buffer); in aes_icm_encrypt_ismacryp()
349 i < (sizeof(v128_t) - c->bytes_in_buffer + bytes_to_encr); i++) in aes_icm_encrypt_ismacryp()
354 c->bytes_in_buffer -= bytes_to_encr; in aes_icm_encrypt_ismacryp()
[all …]
/external/skia/src/codec/
DSkJpegUtility_codec.cpp17 src->bytes_in_buffer = 0; in sk_init_source()
33 src->bytes_in_buffer = bytes; in sk_fill_input_buffer()
44 if (bytes > src->bytes_in_buffer) { in sk_skip_input_data()
45 size_t bytesToSkip = bytes - src->bytes_in_buffer; in sk_skip_input_data()
53 src->bytes_in_buffer = 0; in sk_skip_input_data()
56 src->bytes_in_buffer -= numBytes; in sk_skip_input_data()
/external/libjpeg-turbo/
Djdatasrc-tj.c87 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer()
115 while (num_bytes > (long) src->bytes_in_buffer) { in skip_input_data()
116 num_bytes -= (long) src->bytes_in_buffer; in skip_input_data()
123 src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
183 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src_tj()
Djdatasrc.c119 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
142 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer()
171 while (num_bytes > (long) src->bytes_in_buffer) { in skip_input_data()
172 num_bytes -= (long) src->bytes_in_buffer; in skip_input_data()
179 src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
244 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_stdio_src()
280 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src()
Djdhuff.c305 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local
317 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
321 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
323 bytes_in_buffer--; in jpeg_fill_bit_buffer()
334 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
338 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
340 bytes_in_buffer--; in jpeg_fill_bit_buffer()
390 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer()
729 br_state.bytes_in_buffer -= (buffer - br_state.next_input_byte); in decode_mcu_fast()
768 if (cinfo->src->bytes_in_buffer < BUFSIZE * (size_t)cinfo->blocks_in_MCU in decode_mcu()
Djdhuff.h102 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member
121 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
127 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
Djdmarker.c124 size_t bytes_in_buffer = datasrc->bytes_in_buffer
129 datasrc->bytes_in_buffer = bytes_in_buffer )
134 bytes_in_buffer = datasrc->bytes_in_buffer )
141 if (bytes_in_buffer == 0) { \
152 bytes_in_buffer--; \
160 bytes_in_buffer--; \
163 bytes_in_buffer--; \
810 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
812 bytes_in_buffer--; in save_marker()
/external/opencv3/3rdparty/libjpeg/
Djdatasrc.c115 src->pub.bytes_in_buffer = nbytes; in fill_input_buffer()
137 cinfo->src->bytes_in_buffer = 2; in fill_mem_input_buffer()
165 while (num_bytes > (long) src->bytes_in_buffer) { in skip_input_data()
166 num_bytes -= (long) src->bytes_in_buffer; in skip_input_data()
173 src->bytes_in_buffer -= (size_t) num_bytes; in skip_input_data()
238 src->pub.bytes_in_buffer = 0; /* forces fill_input_buffer on first read */ in jpeg_stdio_src()
273 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src()
Djdhuff.c88 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member
107 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
113 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
472 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local
484 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
488 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
490 bytes_in_buffer--; in jpeg_fill_bit_buffer()
501 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
505 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
507 bytes_in_buffer--; in jpeg_fill_bit_buffer()
[all …]
Djdmarker.c124 size_t bytes_in_buffer = datasrc->bytes_in_buffer
129 datasrc->bytes_in_buffer = bytes_in_buffer )
134 bytes_in_buffer = datasrc->bytes_in_buffer )
141 if (bytes_in_buffer == 0) { \
152 bytes_in_buffer--; \
160 bytes_in_buffer--; \
163 bytes_in_buffer--; \
925 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
927 bytes_in_buffer--; in save_marker()
/external/skia/src/images/
DSkJpegUtility.cpp15 src->bytes_in_buffer = 0; in sk_init_source()
43 src->bytes_in_buffer = 0; in sk_seek_input_data()
64 src->bytes_in_buffer = bytes; in sk_fill_input_buffer()
71 if (num_bytes > (long)src->bytes_in_buffer) { in sk_skip_input_data()
72 size_t bytesToSkip = num_bytes - src->bytes_in_buffer; in sk_skip_input_data()
86 src->bytes_in_buffer = 0; in sk_skip_input_data()
89 src->bytes_in_buffer -= num_bytes; in sk_skip_input_data()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdhuff.c302 register size_t bytes_in_buffer = state->bytes_in_buffer; in jpeg_fill_bit_buffer() local
314 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
318 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
320 bytes_in_buffer--; in jpeg_fill_bit_buffer()
331 if (bytes_in_buffer == 0) { in jpeg_fill_bit_buffer()
335 bytes_in_buffer = cinfo->src->bytes_in_buffer; in jpeg_fill_bit_buffer()
337 bytes_in_buffer--; in jpeg_fill_bit_buffer()
387 state->bytes_in_buffer = bytes_in_buffer; in jpeg_fill_bit_buffer()
Djdhuff.h91 size_t bytes_in_buffer; /* # of bytes remaining in source buffer */ member
110 br_state.bytes_in_buffer = cinfop->src->bytes_in_buffer; \
116 cinfop->src->bytes_in_buffer = br_state.bytes_in_buffer; \
Dfpdfapi_jdmarker.c122 size_t bytes_in_buffer = datasrc->bytes_in_buffer
127 datasrc->bytes_in_buffer = bytes_in_buffer )
132 bytes_in_buffer = datasrc->bytes_in_buffer )
139 if (bytes_in_buffer == 0) { \
150 bytes_in_buffer--; \
158 bytes_in_buffer--; \
161 bytes_in_buffer--; \
827 while (bytes_read < data_length && bytes_in_buffer > 0) { in save_marker()
829 bytes_in_buffer--; in save_marker()
/external/pdfium/core/src/fxcodec/codec/
Dfx_codec_jpeg.cpp51 if (num > (long)cinfo->src->bytes_in_buffer) { in _src_skip_data()
55 cinfo->src->bytes_in_buffer -= num; in _src_skip_data()
279 src.bytes_in_buffer = src_size; in _JpegLoadInfo()
372 src.bytes_in_buffer = m_SrcSize; in InitDecode()
510 return (FX_DWORD)(m_SrcSize - src.bytes_in_buffer); in GetSrcOffset()
571 if (cinfo->src->bytes_in_buffer < (size_t)num) { in _src_skip_data1()
573 (unsigned int)(num - cinfo->src->bytes_in_buffer); in _src_skip_data1()
574 cinfo->src->bytes_in_buffer = 0; in _src_skip_data1()
577 cinfo->src->bytes_in_buffer -= num; in _src_skip_data1()
622 p->m_SrcMgr.bytes_in_buffer = 0; in Input()
[all …]
/external/dng_sdk/source/
Ddng_jpeg_memory_source.cpp38 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/
Dwebmdec.cc125 size_t *bytes_in_buffer, in webm_read_frame() argument
150 *bytes_in_buffer = 0; in webm_read_frame()
193 *bytes_in_buffer = frame.len; in webm_read_frame()
206 size_t bytes_in_buffer = 0; in webm_guess_framerate() local
209 if (webm_read_frame(webm_ctx, &buffer, &bytes_in_buffer, &buffer_size)) { in webm_guess_framerate()
Dvpxdec.c256 size_t *bytes_in_buffer, size_t *buffer_size) { in read_frame() argument
261 buf, bytes_in_buffer, buffer_size); in read_frame()
265 buf, bytes_in_buffer, buffer_size); in read_frame()
268 buf, bytes_in_buffer, buffer_size); in read_frame()
545 size_t bytes_in_buffer = 0, buffer_size = 0; in main_loop() local
858 if (read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) in main_loop()
888 if (!read_frame(&input, &buf, &bytes_in_buffer, &buffer_size)) { in main_loop()
894 if (vpx_codec_decode(&decoder, buf, (unsigned int)bytes_in_buffer, in main_loop()
Dwebmdec.h60 size_t *bytes_in_buffer,
/external/opencv3/modules/imgcodecs/src/
Dgrfmt_jpeg.cpp127 if( num_bytes > (long)source->pub.bytes_in_buffer ) in skip_input_data()
131 source->skip = (int)(num_bytes - source->pub.bytes_in_buffer); in skip_input_data()
132 source->pub.next_input_byte += source->pub.bytes_in_buffer; in skip_input_data()
133 source->pub.bytes_in_buffer = 0; in skip_input_data()
138 source->pub.bytes_in_buffer -= num_bytes; in skip_input_data()
155 source->pub.bytes_in_buffer = 0; // forces fill_input_buffer on first read in jpeg_buffer_src()
232 state->source.pub.bytes_in_buffer = m_buf.cols*m_buf.rows*m_buf.elemSize(); in readHeader()
/external/srtp/crypto/include/
Daes_icm.h22 int bytes_in_buffer; /* number of unused bytes in buffer */ member
/external/libvncserver/libvncclient/
Dtight.c633 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/
Dtif_jpeg.c537 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()
1047 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGPreDecode()
1204 sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; in JPEGDecode()
1239 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGDecode()
[all …]
/external/opencv3/3rdparty/libtiff/
Dtif_jpeg.c523 sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; in std_init_source()
542 if( sp->src.bytes_in_buffer > 0 ) { in std_fill_input_buffer()
558 sp->src.bytes_in_buffer = 2; in std_fill_input_buffer()
568 if ((size_t)num_bytes > sp->src.bytes_in_buffer) { in std_skip_input_data()
573 sp->src.bytes_in_buffer -= (size_t) num_bytes; in std_skip_input_data()
595 sp->src.bytes_in_buffer = 0; /* for safety */ in TIFFjpeg_data_src()
610 sp->src.bytes_in_buffer = (size_t) sp->jpegtables_length; in tables_init_source()
1027 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGPreDecode()
1180 sp->src.bytes_in_buffer = (size_t) tif->tif_rawcc; in JPEGDecode()
1275 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGDecode()
/external/libvncserver/common/
Dturbojpeg.c638 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()

12