Searched refs:stream (Results 1 - 25 of 2435) sorted by last modified time

1234567891011>>

/external/zlib/src/as400/
H A Dzlib.inc11 * the package version string and the stream control structure.
90 * The GZIP encode/decode stream support structure.
280 D strm like(z_stream) Compression stream
286 D strm like(z_stream) Compression stream
290 D strm like(z_stream) Compression stream
293 D strm like(z_stream) Expansion stream
298 D strm like(z_stream) Expansion stream
302 D strm like(z_stream) Expansion stream
309 D strm like(z_stream) Compression stream
320 D strm like(z_stream) Compression stream
[all...]
/external/zlib/src/
H A Dcompress.c29 z_stream stream; local
32 stream.next_in = (z_const Bytef *)source;
33 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
38 stream.next_out = dest;
39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
42 stream.zalloc = (alloc_func)0;
43 stream.zfree = (free_func)0;
44 stream
[all...]
H A Duncompr.c30 z_stream stream; local
33 stream.next_in = (z_const Bytef *)source;
34 stream.avail_in = (uInt)sourceLen;
36 if ((uLong)stream.avail_in != sourceLen) return Z_BUF_ERROR;
38 stream.next_out = dest;
39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
42 stream.zalloc = (alloc_func)0;
43 stream.zfree = (free_func)0;
45 err = inflateInit(&stream);
[all...]
/external/zlib/src/contrib/delphi/
H A DZLib.pas59 stores the compressed data to another stream.
62 stream will raise an exception. Using Seek to move the stream pointer
65 Output data is cached internally, written to the output stream only when
67 when the stream is destroyed.
70 data that have been written to the stream so far.
78 written to the output stream. This is useful for updating a progress
80 stream in a single call.}
100 Compressed data comes from a separate source stream. TDecompressionStream
101 is read-only and unidirectional; you can seek forward in the stream, bu
[all...]
/external/zlib/src/contrib/minizip/
H A Dioapi.c20 #define FTELLO_FUNC(stream) ftello(stream)
21 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin)
24 #define FTELLO_FUNC(stream) ftello64(stream)
25 #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
88 static uLong ZCALLBACK fread_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size));
89 static uLong ZCALLBACK fwrite_file_func OF((voidpf opaque, voidpf stream, cons
132 fread_file_func(voidpf opaque, voidpf stream, void* buf, uLong size) argument
139 fwrite_file_func(voidpf opaque, voidpf stream, const void* buf, uLong size) argument
146 ftell_file_func(voidpf opaque, voidpf stream) argument
154 ftell64_file_func(voidpf opaque, voidpf stream) argument
161 fseek_file_func(voidpf opaque, voidpf stream, uLong offset, int origin) argument
184 fseek64_file_func(voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) argument
210 fclose_file_func(voidpf opaque, voidpf stream) argument
217 ferror_file_func(voidpf opaque, voidpf stream) argument
[all...]
H A Dioapi.h136 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
137 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
138 typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream));
139 typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream));
141 typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream));
142 typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin));
158 typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream));
159 typedef long (ZCALLBACK *seek64_file_func) OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin));
H A Diowin32.c36 uLong ZCALLBACK win32_read_file_func OF((voidpf opaque, voidpf stream, void* buf, uLong size));
37 uLong ZCALLBACK win32_write_file_func OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
38 ZPOS64_T ZCALLBACK win32_tell64_file_func OF((voidpf opaque, voidpf stream));
39 long ZCALLBACK win32_seek64_file_func OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin));
40 int ZCALLBACK win32_close_file_func OF((voidpf opaque, voidpf stream));
41 int ZCALLBACK win32_error_file_func OF((voidpf opaque, voidpf stream));
197 uLong ZCALLBACK win32_read_file_func (voidpf opaque, voidpf stream, void* buf,uLong size) argument
201 if (stream!=NULL)
202 hFile = ((WIN32FILE_IOWIN*)stream) -> hf;
211 ((WIN32FILE_IOWIN*)stream)
219 win32_write_file_func(voidpf opaque,voidpf stream,const void* buf,uLong size) argument
260 win32_tell_file_func(voidpf opaque,voidpf stream) argument
283 win32_tell64_file_func(voidpf opaque, voidpf stream) argument
308 win32_seek_file_func(voidpf opaque,voidpf stream,uLong offset,int origin) argument
346 win32_seek64_file_func(voidpf opaque, voidpf stream,ZPOS64_T offset,int origin) argument
385 win32_close_file_func(voidpf opaque, voidpf stream) argument
403 win32_error_file_func(voidpf opaque,voidpf stream) argument
[all...]
H A Dminiunz.c33 #define FTELLO_FUNC(stream) ftello(stream)
34 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin)
37 #define FTELLO_FUNC(stream) ftello64(stream)
38 #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
H A Dminizip.c34 #define FTELLO_FUNC(stream) ftello(stream)
35 #define FSEEKO_FUNC(stream, offset, origin) fseeko(stream, offset, origin)
38 #define FTELLO_FUNC(stream) ftello64(stream)
39 #define FSEEKO_FUNC(stream, offset, origin) fseeko64(stream, offset, origin)
H A Dunzip.c137 z_stream stream; /* zLib stream structure for inflate */ member in struct:__anon34343
140 bz_stream bstream; /* bzLib stream structure for bziped */
144 uLong stream_initialised; /* flag set if stream structure is initialised*/
203 IN assertion: the stream s has been sucessfully opened for reading.
1548 pfile_in_zip_read_info->stream.total_out = 0;
1558 pfile_in_zip_read_info->stream.zalloc = (alloc_func)0;
1559 pfile_in_zip_read_info->stream.zfree = (free_func)0;
1560 pfile_in_zip_read_info->stream.opaque = (voidpf)0;
1561 pfile_in_zip_read_info->stream
[all...]
H A Dzip.c132 z_stream stream; /* zLib stream structure for inflate */ member in struct:__anon34345
134 bz_stream bstream; /* bzLib stream structure for bziped */
137 int stream_initialised; /* 1 is stream is initialised */
1199 zi->ci.stream.avail_in = (uInt)0;
1200 zi->ci.stream.avail_out = (uInt)Z_BUFSIZE;
1201 zi->ci.stream.next_out = zi->ci.buffered_data;
1202 zi->ci.stream.total_in = 0;
1203 zi->ci.stream.total_out = 0;
1204 zi->ci.stream
[all...]
/external/zlib/src/contrib/pascal/
H A Dexample.pas185 var c_stream: z_stream; (* compression stream *)
210 (* Finish the stream, still forcing small buffers: *)
232 d_stream: z_stream; (* decompression stream *)
274 var c_stream: z_stream; (* compression stream *)
327 d_stream: z_stream; (* decompression stream *)
369 var c_stream: z_stream; (* compression stream *)
410 d_stream: z_stream; (* decompression stream *)
451 var c_stream: z_stream; (* compression stream *)
487 d_stream: z_stream; (* decompression stream *)
/external/zlib/src/contrib/testzlib/
H A Dtestzlib.c121 FILE* stream; local
124 stream=fopen(filename, "rb");
125 if (stream==NULL)
128 fseek(stream,0,SEEK_END);
130 *plFileSize=ftell(stream);
131 fseek(stream,0,SEEK_SET);
137 if (fread(ptr, 1, *plFileSize,stream) != (*plFileSize))
140 fclose(stream);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
H A Darith_routines.c26 * terminates and return byte stream.
31 * Return value : number of bytes in the stream
38 /* point to the right place in the stream buffer */
39 streamPtr = streamData->stream + streamData->stream_index;
65 * stream if that byte is 0xFFFF we need to propagate the carry
66 * furhter back in the stream */
71 streamPtr = streamData->stream + streamData->stream_index;
110 streamPtr = streamData->stream + streamData->stream_index;
122 /* calculate stream length in bytes */
123 return (((streamPtr - streamData->stream)<<
[all...]
H A Darith_routines_hist.c53 /* point to beginning of stream buffer
55 streamPtr = streamData->stream + streamData->stream_index;
56 maxStreamPtr = streamData->stream + STREAM_MAXW16_60MS - 1;
122 streamData->stream_index = streamPtr - streamData->stream;
145 * Return value : number of bytes in the stream
166 streamPtr = streamData->stream + streamData->stream_index;
174 /* first time decoder is called for this stream */
232 /* read next byte from stream */
253 streamData->stream_index = streamPtr - streamData->stream;
282 * Return value : number of bytes in original stream
[all...]
H A Darith_routines_logist.c116 /* point to beginning of stream buffer
118 streamPtr = streamData->stream + streamData->stream_index;
119 maxStreamPtr = streamData->stream + STREAM_MAXW16_60MS - 1;
207 streamData->stream_index = streamPtr - streamData->stream;
228 * Return value : number of bytes in the stream so far
253 /* point to beginning of stream buffer */
254 streamPtr = streamData->stream + streamData->stream_index;
257 /* Check if it is first time decoder is called for this stream */
302 * Input dither value collected from io-stream */
380 /* read next byte from stream */
[all...]
H A Dencode.c343 // we are here because the bit-stream did not fit into the buffer, in this case, the stream_index is not
372 // reset the bit-stream object to the state which it had before encoding LPC Gains
377 ISACenc_obj->bitstr_obj.stream[transcodingParam.stream_index-1] = transcodingParam.beforeLastWord;
378 ISACenc_obj->bitstr_obj.stream[transcodingParam.stream_index] = transcodingParam.lastWord;
455 ISACenc_obj->bitstr_obj.stream[ WEBRTC_SPL_RSHIFT_W16(stream_length, 1) ] |= (WebRtc_UWord16)(ISACenc_obj->bitstr_seed & 0xFF);
458 ISACenc_obj->bitstr_obj.stream[ WEBRTC_SPL_RSHIFT_W16(stream_length, 1) ] = WEBRTC_SPL_LSHIFT_U16(ISACenc_obj->bitstr_seed, 8);
465 ISACenc_obj->bitstr_obj.stream[usefulstr_len>>1] &= 0xFF00;
466 ISACenc_obj->bitstr_obj.stream[usefulstr_len>>1] += (MinBytes - usefulstr_len) & 0x00FF;
469 ISACenc_obj->bitstr_obj.stream[usefulstr_len>>1] &= 0x00FF;
470 ISACenc_obj->bitstr_obj.stream[usefulstr_le
[all...]
H A Dentropy_coding.c424 * returns the total number of bytes in the stream
1177 transcodingParam->beforeLastWord = streamdata->stream[streamdata->stream_index-1];
1178 transcodingParam->lastWord = streamdata->stream[streamdata->stream_index];
H A Disacfix.c259 ISAC_inst->ISACenc_obj.bitstr_obj.stream[k] = 0;
338 encoded[k] = (WebRtc_Word16)( ( (WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8 )
339 | (((ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] & 0x00FF) << 8));
343 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1);
428 encoded[k] = (WebRtc_Word16)(((WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8)
429 | (((ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] & 0x00FF) << 8));
433 WEBRTC_SPL_MEMCPY_W16(encoded, (ISAC_inst->ISACenc_obj.bitstr_obj).stream, (stream_len + 1)>>1);
447 * stream. It should always return a complete packet, i.e. only called once
493 encoded[k] = (WebRtc_Word16)( ( (WebRtc_UWord16)(ISAC_inst->ISACenc_obj.bitstr_obj).stream[k] >> 8 )
494 | (((ISAC_inst->ISACenc_obj.bitstr_obj).stream[
[all...]
H A Dstructs.h29 WebRtc_UWord16 *stream; /* Pointer to bytestream to decode */ member in struct:Bitstreamstruct_dec
41 WebRtc_UWord16 stream[STREAM_MAXW16_60MS]; /* Vector for adding encoded bytestream */ member in struct:Bitstreamstruct_enc
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
H A Darith_routines.c16 * terminate and return byte stream;
17 * returns the number of bytes in the stream
24 /* point to the right place in the stream buffer */
25 stream_ptr = streamdata->stream + streamdata->stream_index;
37 stream_ptr = streamdata->stream + streamdata->stream_index;
51 stream_ptr = streamdata->stream + streamdata->stream_index;
58 /* calculate stream length */
59 return (int)(stream_ptr - streamdata->stream);
H A Darith_routines_hist.c31 /* point to beginning of stream buffer */
32 stream_ptr = streamdata->stream + streamdata->stream_index;
73 streamdata->stream_index = (int)(stream_ptr - streamdata->stream);
101 stream_ptr = streamdata->stream + streamdata->stream_index;
107 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */
162 /* read next byte from stream */
174 streamdata->stream_index = (int)(stream_ptr - streamdata->stream);
179 /* find number of bytes in original stream (determined by current interval width) */
208 stream_ptr = streamdata->stream + streamdata->stream_index;
214 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */
[all...]
H A Darith_routines_logist.c95 /* point to beginning of stream buffer */
96 stream_ptr = streamdata->stream + streamdata->stream_index;
99 maxStreamPtr = streamdata->stream + STREAM_SIZE_MAX_60 - 1;
163 streamdata->stream_index = (int)(stream_ptr - streamdata->stream);
188 stream_ptr = streamdata->stream + streamdata->stream_index;
190 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */
279 /* read next byte from stream */
285 streamdata->stream_index = (int)(stream_ptr - streamdata->stream);
289 /* find number of bytes in original stream (determined by current interval width) */
H A Dencode.c333 transcodingParam.stream[0] =
334 ISACencLB_obj->bitstr_obj.stream[ISACencLB_obj->bitstr_obj.stream_index -
336 transcodingParam.stream[1] =
337 ISACencLB_obj->bitstr_obj.stream[ISACencLB_obj->bitstr_obj.stream_index -
339 transcodingParam.stream[2] =
340 ISACencLB_obj->bitstr_obj.stream[ISACencLB_obj->bitstr_obj.stream_index];
474 ISACencLB_obj->bitstr_obj.stream[transcodingParam.stream_index - 2] =
475 transcodingParam.stream[0];
476 ISACencLB_obj->bitstr_obj.stream[transcodingParam.stream_index - 1] =
477 transcodingParam.stream[
[all...]
H A Disac.c53 * leaving some room for the upper-band bit-stream. That is why an update
67 * there is no upper-band bit-stream. */
70 /* At 8 kHz there is no upper-band bit-stream,
175 * BWE should be once per packet. As the BWE info is inserted into bit-stream
177 * generate a bit-stream. That is when lower-band buffer has already 20ms
185 * lower-band bit-stream, indicating the
189 * bit-stream.
336 /* Init stream vector to zero */
338 instLB->ISACencLB_obj.bitstr_obj.stream[k] = 0;
377 /* Init stream vecto
[all...]

Completed in 5035 milliseconds

1234567891011>>