Home
last modified time | relevance | path

Searched refs:stream_index (Results 1 – 25 of 33) sorted by relevance

12

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Darith_routines_hist.c32 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncHistMulti()
73 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); in WebRtcIsac_EncHistMulti()
101 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_DecHistBisectMulti()
107 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */ in WebRtcIsac_DecHistBisectMulti()
174 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); in WebRtcIsac_DecHistBisectMulti()
181 return streamdata->stream_index - 2; in WebRtcIsac_DecHistBisectMulti()
183 return streamdata->stream_index - 1; in WebRtcIsac_DecHistBisectMulti()
208 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_DecHistOneStepMulti()
214 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */ in WebRtcIsac_DecHistOneStepMulti()
281 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); in WebRtcIsac_DecHistOneStepMulti()
[all …]
Dencode.c176 bit_stream->stream_index = 0; in WebRtcIsac_ResetBitstream()
331 transcodingParam.stream_index = ISACencLB_obj->bitstr_obj.stream_index; in WebRtcIsac_EncodeLb()
334 ISACencLB_obj->bitstr_obj.stream[ISACencLB_obj->bitstr_obj.stream_index - in WebRtcIsac_EncodeLb()
337 ISACencLB_obj->bitstr_obj.stream[ISACencLB_obj->bitstr_obj.stream_index - in WebRtcIsac_EncodeLb()
340 ISACencLB_obj->bitstr_obj.stream[ISACencLB_obj->bitstr_obj.stream_index]; in WebRtcIsac_EncodeLb()
368 bytesLeftSpecCoding = payloadLimitBytes - transcodingParam.stream_index; in WebRtcIsac_EncodeLb()
409 while ((ISACencLB_obj->bitstr_obj.stream_index > payloadLimitBytes) || in WebRtcIsac_EncodeLb()
439 bytesSpecCoderUsed = ISACencLB_obj->bitstr_obj.stream_index - in WebRtcIsac_EncodeLb()
440 transcodingParam.stream_index; in WebRtcIsac_EncodeLb()
472 ISACencLB_obj->bitstr_obj.stream_index = transcodingParam.stream_index; in WebRtcIsac_EncodeLb()
[all …]
Darith_routines_logist.c96 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncLogisticMulti2()
163 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); in WebRtcIsac_EncLogisticMulti2()
188 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_DecLogisticMulti2()
190 if (streamdata->stream_index == 0) /* first time decoder is called for this stream */ in WebRtcIsac_DecLogisticMulti2()
285 streamdata->stream_index = (int)(stream_ptr - streamdata->stream); in WebRtcIsac_DecLogisticMulti2()
291 return streamdata->stream_index - 2; in WebRtcIsac_DecLogisticMulti2()
293 return streamdata->stream_index - 1; in WebRtcIsac_DecLogisticMulti2()
Darith_routines.c25 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncTerminate()
37 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncTerminate()
51 stream_ptr = streamdata->stream + streamdata->stream_index; in WebRtcIsac_EncTerminate()
Dstructs.h31 WebRtc_UWord32 stream_index; member
428 WebRtc_UWord32 stream_index; member
/external/chromium_org/net/disk_cache/simple/
Dsimple_entry_impl.cc328 int32 SimpleEntryImpl::GetDataSize(int stream_index) const { in GetDataSize()
330 DCHECK_LE(0, data_size_[stream_index]); in GetDataSize()
331 return data_size_[stream_index]; in GetDataSize()
334 int SimpleEntryImpl::ReadData(int stream_index, in ReadData() argument
343 CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, in ReadData()
347 if (stream_index < 0 || stream_index >= kSimpleEntryStreamCount || in ReadData()
357 if (pending_operations_.empty() && (offset >= GetDataSize(stream_index) || in ReadData()
375 this, stream_index, offset, buf_len, buf, callback, alone_in_queue)); in ReadData()
380 int SimpleEntryImpl::WriteData(int stream_index, in WriteData() argument
391 CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, in WriteData()
[all …]
Dsimple_entry_impl.h80 virtual int ReadData(int stream_index,
85 virtual int WriteData(int stream_index,
231 void ReadOperationComplete(int stream_index,
239 void WriteOperationComplete(int stream_index,
267 int stream_index,
298 int stream_index);
Dsimple_synchronous_entry.h44 int stream_index) const;
45 int GetEOFOffsetInFile(const std::string& key, int stream_index) const;
56 int32 data_size(int stream_index) const { return data_size_[stream_index]; } in data_size() argument
57 void set_data_size(int stream_index, int data_size) { in set_data_size() argument
58 data_size_[stream_index] = data_size; in set_data_size()
Dsimple_synchronous_entry.cc150 int stream_index) const { in GetOffsetInFile()
153 stream_index == 0 ? data_size_[1] + sizeof(SimpleFileEOF) : 0; in GetOffsetInFile()
158 int stream_index) const { in GetEOFOffsetInFile()
159 return GetOffsetInFile(key, data_size_[stream_index], stream_index); in GetEOFOffsetInFile()
163 int stream_index) const { in GetLastEOFOffsetInFile()
164 const int file_index = GetFileIndexFromStreamIndex(stream_index); in GetLastEOFOffsetInFile()
168 return GetOffsetInFile(key, eof_data_offset, stream_index); in GetLastEOFOffsetInFile()
654 const int stream_index = it->index; in Close() local
655 const int file_index = GetFileIndexFromStreamIndex(stream_index); in Close()
660 eof_record.stream_size = entry_stat.data_size(stream_index); in Close()
[all …]
Dsimple_util.cc107 int GetFileIndexFromStreamIndex(int stream_index) { in GetFileIndexFromStreamIndex() argument
108 return (stream_index == 2) ? 1 : 0; in GetFileIndexFromStreamIndex()
Dsimple_util.h66 NET_EXPORT_PRIVATE int GetFileIndexFromStreamIndex(int stream_index);
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Darith_routines_hist.c55 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncHistMulti()
122 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_EncHistMulti()
166 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_DecHistBisectMulti()
175 if (streamData->stream_index == 0) in WebRtcIsacfix_DecHistBisectMulti()
253 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_DecHistBisectMulti()
258 return (streamData->stream_index*2 - 3 + !streamData->full); in WebRtcIsacfix_DecHistBisectMulti()
260 return (streamData->stream_index*2 - 2 + !streamData->full); in WebRtcIsacfix_DecHistBisectMulti()
302 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_DecHistOneStepMulti()
310 if (streamData->stream_index == 0) in WebRtcIsacfix_DecHistOneStepMulti()
394 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_DecHistOneStepMulti()
[all …]
Darith_routines_logist.c118 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncLogisticMulti2()
207 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_EncLogisticMulti2()
254 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_DecLogisticMulti2()
258 if (streamData->stream_index == 0) in WebRtcIsacfix_DecLogisticMulti2()
395 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_DecLogisticMulti2()
401 return (streamData->stream_index*2 - 3 + !streamData->full); in WebRtcIsacfix_DecLogisticMulti2()
403 return (streamData->stream_index*2 - 2 + !streamData->full); in WebRtcIsacfix_DecLogisticMulti2()
Darith_routines.c39 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncTerminate()
71 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncTerminate()
110 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncTerminate()
Dencode.c101 ISACenc_obj->bitstr_obj.stream_index = 0; in WebRtcIsacfix_EncodeImpl()
220 …arithLenBeforeEncodingDFT = (ISACenc_obj->bitstr_obj.stream_index << 1) + (1-ISACenc_obj->bitstr_o… in WebRtcIsacfix_EncodeImpl()
276 while((((ISACenc_obj->bitstr_obj.stream_index) << 1) > payloadLimitBytes) || in WebRtcIsacfix_EncodeImpl()
324 …arithLenDFTByte = (ISACenc_obj->bitstr_obj.stream_index << 1) + (1-ISACenc_obj->bitstr_obj.full) -… in WebRtcIsacfix_EncodeImpl()
374 ISACenc_obj->bitstr_obj.stream_index = transcodingParam.stream_index; in WebRtcIsacfix_EncodeImpl()
377 … ISACenc_obj->bitstr_obj.stream[transcodingParam.stream_index-1] = transcodingParam.beforeLastWord; in WebRtcIsacfix_EncodeImpl()
378 ISACenc_obj->bitstr_obj.stream[transcodingParam.stream_index] = transcodingParam.lastWord; in WebRtcIsacfix_EncodeImpl()
383 …arithLenBeforeEncodingDFT = (ISACenc_obj->bitstr_obj.stream_index << 1) + (1-ISACenc_obj->bitstr_o… in WebRtcIsacfix_EncodeImpl()
519 ISACenc_obj->bitstr_obj.stream_index = 0; in WebRtcIsacfix_EncodeStoredData()
Dstructs.h32 WebRtc_UWord16 stream_index; /* Index to the current position in bytestream */ member
44 WebRtc_UWord16 stream_index; /* Index to the current position in bytestream */ member
372 WebRtc_UWord16 stream_index; /* Index to the current position in bytestream */ member
/external/chromium_org/content/child/npapi/
Dplugin_instance.cc107 std::vector<scoped_refptr<PluginStream> >::iterator stream_index; in RemoveStream() local
108 for (stream_index = open_streams_.begin(); in RemoveStream()
109 stream_index != open_streams_.end(); ++stream_index) { in RemoveStream()
110 if (stream_index->get() == stream) { in RemoveStream()
111 open_streams_.erase(stream_index); in RemoveStream()
118 std::vector<scoped_refptr<PluginStream> >::iterator stream_index; in IsValidStream() local
119 for (stream_index = open_streams_.begin(); in IsValidStream()
120 stream_index != open_streams_.end(); ++stream_index) { in IsValidStream()
121 if ((*stream_index)->stream() == stream) in IsValidStream()
551 std::vector<scoped_refptr<PluginStream> >::iterator stream_index; in RequestRead() local
[all …]
/external/chromium_org/media/video/capture/win/
Dcapability_list_win.h22 : stream_index(index), in VideoCaptureCapabilityWin()
25 int stream_index; member
Dvideo_capture_device_mf_win.cc139 DWORD stream_index = 0; in FillCapabilities() local
143 MF_SOURCE_READER_FIRST_VIDEO_STREAM, stream_index, type.Receive()))) { in FillCapabilities()
144 VideoCaptureCapabilityWin capability(stream_index++); in FillCapabilities()
205 STDMETHOD(OnReadSample)(HRESULT status, DWORD stream_index, in STDMETHOD()
230 STDMETHOD(OnFlush)(DWORD stream_index) { in STDMETHOD()
238 STDMETHOD(OnEvent)(DWORD stream_index, IMFMediaEvent* event) { in STDMETHOD()
362 MF_SOURCE_READER_FIRST_VIDEO_STREAM, found_capability.stream_index, in AllocateAndStart()
/external/chromium_org/media/filters/
Dffmpeg_h264_to_annex_b_bitstream_converter.cc68 dest_packet.stream_index = packet->stream_index; in ConvertPacket()
Dffmpeg_demuxer.cc819 DCHECK_GE(packet->stream_index, 0); in OnReadFrameDone()
820 DCHECK_LT(packet->stream_index, static_cast<int>(streams_.size())); in OnReadFrameDone()
823 if (packet->stream_index >= 0 && in OnReadFrameDone()
824 packet->stream_index < static_cast<int>(streams_.size()) && in OnReadFrameDone()
825 streams_[packet->stream_index] && in OnReadFrameDone()
827 streams_[packet->stream_index]->type() != DemuxerStream::AUDIO)) { in OnReadFrameDone()
843 new_packet->stream_index = packet->stream_index; in OnReadFrameDone()
854 glue_->format_context()->streams[packet->stream_index]->codec; in OnReadFrameDone()
861 FFmpegDemuxerStream* demuxer_stream = streams_[packet->stream_index]; in OnReadFrameDone()
/external/chromium_org/net/disk_cache/flash/
Dlog_store_entry.cc129 bool LogStoreEntry::InvalidStream(int stream_index) const { in InvalidStream()
130 return stream_index < 0 || stream_index >= kFlashLogStoreEntryNumStreams; in InvalidStream()
Dlog_store_entry.h49 bool InvalidStream(int stream_index) const;
/external/chromium_org/media/ffmpeg/
Dffmpeg_unittest.cc190 int stream_index = static_cast<int>(packet->stream_index); in ReadUntil() local
192 if (stream_index == audio_stream_index_) { in ReadUntil()
197 } else if (stream_index == video_stream_index_) { in ReadUntil()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Dmediastreamsignaling_unittest.cc190 size_t stream_index = 0; in VerifyMediaOptions() local
194 ASSERT_GE(options.streams.size(), stream_index + audio_tracks.size()); in VerifyMediaOptions()
197 EXPECT_EQ(options.streams[stream_index].sync_label, stream->label()); in VerifyMediaOptions()
198 EXPECT_EQ(options.streams[stream_index++].id, audio->id()); in VerifyMediaOptions()
202 ASSERT_GE(options.streams.size(), stream_index + video_tracks.size()); in VerifyMediaOptions()
205 EXPECT_EQ(options.streams[stream_index].sync_label, stream->label()); in VerifyMediaOptions()
206 EXPECT_EQ(options.streams[stream_index++].id, video->id()); in VerifyMediaOptions()

12