Home
last modified time | relevance | path

Searched refs:in_buffer (Results 1 – 21 of 21) sorted by relevance

/third_party/ffmpeg/libavformat/
Dmmst.c221 mmst->header_packet_id= AV_RL32(mms->in_buffer + 40 + 7); in handle_packet_stream_changing_type()
239 memset(mms->in_buffer + mms->remaining_in_len, 0, padding_size); in pad_media_packet()
251 read_result = ffurl_read_complete(mms->mms_hd, mms->in_buffer, 8); in get_tcp_server_response()
267 if(AV_RL32(mms->in_buffer + 4)==0xb00bface) { in get_tcp_server_response()
270 mmst->incoming_flags= mms->in_buffer[3]; in get_tcp_server_response()
271 read_result= ffurl_read_complete(mms->mms_hd, mms->in_buffer+8, 4); in get_tcp_server_response()
281 length_remaining= AV_RL32(mms->in_buffer+8) + 4; in get_tcp_server_response()
285 || length_remaining > sizeof(mms->in_buffer) - 12) { in get_tcp_server_response()
288 length_remaining, sizeof(mms->in_buffer) - 12); in get_tcp_server_response()
291 read_result = ffurl_read_complete(mms->mms_hd, mms->in_buffer + 12, in get_tcp_server_response()
[all …]
Dmmsh.c119 if (len > sizeof(mms->in_buffer)) { in read_data_packet()
122 len, sizeof(mms->in_buffer)); in read_data_packet()
125 res = ffurl_read_complete(mms->mms_hd, mms->in_buffer, len); in read_data_packet()
136 memset(mms->in_buffer + len, 0, mms->asf_packet_len - len); // padding in read_data_packet()
138 mms->read_in_ptr = mms->in_buffer; in read_data_packet()
194 if (len > sizeof(mms->in_buffer)) { in get_http_header_data()
197 len, sizeof(mms->in_buffer)); in get_http_header_data()
200 res = ffurl_read_complete(mms->mms_hd, mms->in_buffer, len); in get_http_header_data()
Dmms.h42 uint8_t in_buffer[65536]; ///< Buffer for incoming packets. member
Dmms.c89 if (mms->asf_packet_len <= 0 || mms->asf_packet_len > sizeof(mms->in_buffer)) { in ff_mms_asf_header_parser()
/third_party/ffmpeg/libswresample/
Dswresample.c123 free_temp(&s->in_buffer); in clear_context()
331 s->in_buffer= s->in; in swr_init()
362 s->in_buffer.ch_count= s->used_ch_count; in swr_init()
367 s->in_buffer.ch_count = s->out.ch_count; in swr_init()
375 set_audiodata_fmt(&s->in_buffer, s->int_sample_fmt); in swr_init()
494 av_assert1(s->in_buffer.ch_count == in_param->ch_count); in resample()
495 av_assert1(s->in_buffer.planar == in_param->planar); in resample()
496 av_assert1(s->in_buffer.fmt == in_param->fmt); in resample()
501 border = s->resampler->invert_initial_buffer(s->resample, &s->in_buffer, in resample()
516 buf_set(&tmp, &s->in_buffer, s->in_buffer_index); in resample()
[all …]
Dswresample_internal.h153 …AudioData in_buffer; ///< cached audio data (convert and resample purpo… member
Dresample.c548 AudioData *a= &s->in_buffer; in resample_flush()
/third_party/curl/lib/
Dkrb5.c565 if(conn->in_buffer.eof_flag) { in sec_recv()
566 conn->in_buffer.eof_flag = 0; in sec_recv()
570 bytes_read = buffer_read(&conn->in_buffer, buffer, len); in sec_recv()
576 if(read_data(data, sockindex, &conn->in_buffer)) in sec_recv()
578 if(conn->in_buffer.size == 0) { in sec_recv()
580 conn->in_buffer.eof_flag = 1; in sec_recv()
583 bytes_read = buffer_read(&conn->in_buffer, buffer, len); in sec_recv()
890 if(conn->in_buffer.data) { in Curl_sec_end()
891 free(conn->in_buffer.data); in Curl_sec_end()
892 conn->in_buffer.data = NULL; in Curl_sec_end()
[all …]
Durldata.h967 struct krb5buffer in_buffer; member
/third_party/ffmpeg/libavresample/
Dutils.c177 avr->in_buffer = ff_audio_data_alloc(FFMAX(avr->in_channels, avr->out_channels), in avresample_open()
180 if (!avr->in_buffer) { in avresample_open()
264 ff_audio_data_free(&avr->in_buffer); in avresample_close()
342 if (avr->in_buffer) { in avresample_convert()
343 avr->in_buffer->nb_samples = 0; in avresample_convert()
344 ff_audio_data_set_channels(avr->in_buffer, in avresample_convert()
345 avr->in_buffer->allocated_channels); in avresample_convert()
406 ret = ff_audio_data_realloc(avr->in_buffer, in avresample_convert()
411 ret = ff_audio_convert(avr->ac_in, avr->in_buffer, in avresample_convert()
417 ret = ff_audio_data_copy(avr->in_buffer, current_buffer, in avresample_convert()
[all …]
Dinternal.h88 AudioData *in_buffer; /**< buffer for converted input */ member
/third_party/pulseaudio/src/modules/
Dmodule-null-sink.c196 size_t rewind_nbytes, in_buffer; in process_rewind() local
212 in_buffer = pa_usec_to_bytes(delay, &u->sink->sample_spec); in process_rewind()
214 if (in_buffer <= 0) in process_rewind()
217 if (rewind_nbytes > in_buffer) in process_rewind()
218 rewind_nbytes = in_buffer; in process_rewind()
/third_party/python/Lib/test/
Dtest_poplib.py59 self.in_buffer = []
65 self.in_buffer.append(data)
68 line = b''.join(self.in_buffer)
70 self.in_buffer = []
173 self.in_buffer = []
403 self.in_buffer = []
Dtest_ftplib.py102 self.in_buffer = []
118 self.in_buffer.append(data)
121 line = b''.join(self.in_buffer).decode(self.encoding)
122 self.in_buffer = []
Dtest_os.py3217 self.in_buffer = []
3225 self.in_buffer.append(data)
3228 return b''.join(self.in_buffer)
/third_party/libsnd/src/G72x/
Dg72x.c606 { unsigned int in_buffer = 0 ; in unpack_bytes() local
614 in_buffer |= (in_byte << in_bits) ; in unpack_bytes()
617 samples [k] = in_buffer & ((1 << bits) - 1) ; in unpack_bytes()
618 in_buffer >>= bits ; in unpack_bytes()
/third_party/alsa-utils/aplay/
Daplay.c2355 size_t nextblock, in_buffer; in voc_play() local
2361 #define COUNT(x) nextblock -= x; in_buffer -= x; data += x in voc_play()
2362 #define COUNT1(x) in_buffer -= x; data += x in voc_play()
2392 in_buffer = nextblock = 0; in voc_play()
2395 if (in_buffer < 32) { in voc_play()
2397 if (in_buffer) in voc_play()
2398 memcpy(buf, data, in_buffer); in voc_play()
2400 if ((l = safe_read(fd, buf + in_buffer, chunk_bytes - in_buffer)) > 0) in voc_play()
2401 in_buffer += l; in voc_play()
2402 else if (!in_buffer) { in voc_play()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dkshelpers.c152 gpointer in_buffer, gulong in_buffer_size, gpointer out_buffer, in ks_sync_device_io_control() argument
160 success = DeviceIoControl (device, io_control_code, in_buffer, in ks_sync_device_io_control()
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvdec.c1663 GstBuffer *in_buffer; in gst_nvdec_handle_frame() local
1670 in_buffer = gst_nvdec_process_input (nvdec, frame->input_buffer); in gst_nvdec_handle_frame()
1672 if (!gst_buffer_map (in_buffer, &map_info, GST_MAP_READ)) { in gst_nvdec_handle_frame()
1674 gst_buffer_unref (in_buffer); in gst_nvdec_handle_frame()
1693 gst_buffer_unmap (in_buffer, &map_info); in gst_nvdec_handle_frame()
1694 gst_buffer_unref (in_buffer); in gst_nvdec_handle_frame()
/third_party/gstreamer/gstplugins_base/ext/gl/
Dgstglimagesink.c1647 GstBuffer *in_buffer, *next_buffer, *old_buffer; in prepare_next_buffer() local
1665 in_buffer = gst_buffer_ref (glimage_sink->input_buffer); in prepare_next_buffer()
1679 GST_BUFFER_IS_DISCONT (in_buffer), in_buffer) != GST_FLOW_OK) { in prepare_next_buffer()
1708 next_buffer = in_buffer; in prepare_next_buffer()
/third_party/python/Modules/
D_pickle.c1363 Py_ssize_t in_buffer = self->input_len - self->next_read_idx; in _Unpickler_ReadInto() local
1364 if (in_buffer > 0) { in _Unpickler_ReadInto()
1365 Py_ssize_t to_read = Py_MIN(in_buffer, n); in _Unpickler_ReadInto()