/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
D | dual_stream_unittest.cc | 248 bool DualStreamTest::EqualTimestamp(int stream_index, int position) { in EqualTimestamp() argument 249 if (timestamp_dual_[stream_index][position] in EqualTimestamp() 250 != timestamp_ref_[stream_index][position]) { in EqualTimestamp() 256 int DualStreamTest::EqualPayloadLength(int stream_index, int position) { in EqualPayloadLength() argument 258 payload_len_dual_[stream_index][position] in EqualPayloadLength() 259 - payload_len_ref_[stream_index][position]); in EqualPayloadLength() 262 bool DualStreamTest::EqualPayloadData(int stream_index, int position) { in EqualPayloadData() argument 264 payload_len_dual_[stream_index][position] in EqualPayloadData() 265 == payload_len_ref_[stream_index][position]); in EqualPayloadData() 267 for (int n = 0; n < payload_len_dual_[stream_index][position]; n++) { in EqualPayloadData() [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | arith_routines_hist.c | 32 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 …]
|
D | encode.c | 176 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 …]
|
D | arith_routines_logist.c | 96 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()
|
D | arith_routines.c | 25 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()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | arith_routines_hist.c | 32 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 …]
|
D | encode.c | 176 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 …]
|
D | arith_routines_logist.c | 96 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()
|
D | arith_routines.c | 25 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()
|
/external/chromium_org/net/disk_cache/simple/ |
D | simple_entry_impl.cc | 337 int32 SimpleEntryImpl::GetDataSize(int stream_index) const { in GetDataSize() 339 DCHECK_LE(0, data_size_[stream_index]); in GetDataSize() 340 return data_size_[stream_index]; in GetDataSize() 343 int SimpleEntryImpl::ReadData(int stream_index, in ReadData() argument 352 CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, in ReadData() 356 if (stream_index < 0 || stream_index >= kSimpleEntryStreamCount || in ReadData() 366 if (pending_operations_.empty() && (offset >= GetDataSize(stream_index) || in ReadData() 384 this, stream_index, offset, buf_len, buf, callback, alone_in_queue)); in ReadData() 389 int SimpleEntryImpl::WriteData(int stream_index, in WriteData() argument 400 CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, in WriteData() [all …]
|
D | simple_entry_impl.h | 89 virtual int ReadData(int stream_index, 94 virtual int WriteData(int stream_index, 236 void ReadOperationComplete(int stream_index, 244 void WriteOperationComplete(int stream_index, 272 int stream_index, 303 int stream_index);
|
D | simple_synchronous_entry.h | 44 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()
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | arith_routines_hist.c | 55 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 …]
|
D | arith_routines_logist.c | 118 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()
|
D | arith_routines.c | 39 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()
|
D | encode.c | 101 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()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | arith_routines_hist.c | 55 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 …]
|
D | arith_routines_logist.c | 117 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_EncLogisticMulti2() 206 streamData->stream_index = streamPtr - streamData->stream; in WebRtcIsacfix_EncLogisticMulti2() 253 streamPtr = streamData->stream + streamData->stream_index; in WebRtcIsacfix_DecLogisticMulti2() 257 if (streamData->stream_index == 0) in WebRtcIsacfix_DecLogisticMulti2() 407 streamData->stream_index = streamPtr + offset - streamData->stream; in WebRtcIsacfix_DecLogisticMulti2() 413 return (streamData->stream_index*2 - 3 + !streamData->full); in WebRtcIsacfix_DecLogisticMulti2() 415 return (streamData->stream_index*2 - 2 + !streamData->full); in WebRtcIsacfix_DecLogisticMulti2()
|
D | arith_routines.c | 39 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()
|
D | encode.c | 104 ISACenc_obj->bitstr_obj.stream_index = 0; in WebRtcIsacfix_EncodeImpl() 223 …arithLenBeforeEncodingDFT = (ISACenc_obj->bitstr_obj.stream_index << 1) + (1-ISACenc_obj->bitstr_o… in WebRtcIsacfix_EncodeImpl() 279 while((((ISACenc_obj->bitstr_obj.stream_index) << 1) > payloadLimitBytes) || in WebRtcIsacfix_EncodeImpl() 327 …arithLenDFTByte = (ISACenc_obj->bitstr_obj.stream_index << 1) + (1-ISACenc_obj->bitstr_obj.full) -… in WebRtcIsacfix_EncodeImpl() 377 ISACenc_obj->bitstr_obj.stream_index = transcodingParam.stream_index; in WebRtcIsacfix_EncodeImpl() 380 … ISACenc_obj->bitstr_obj.stream[transcodingParam.stream_index-1] = transcodingParam.beforeLastWord; in WebRtcIsacfix_EncodeImpl() 381 ISACenc_obj->bitstr_obj.stream[transcodingParam.stream_index] = transcodingParam.lastWord; in WebRtcIsacfix_EncodeImpl() 386 …arithLenBeforeEncodingDFT = (ISACenc_obj->bitstr_obj.stream_index << 1) + (1-ISACenc_obj->bitstr_o… in WebRtcIsacfix_EncodeImpl() 525 ISACenc_obj->bitstr_obj.stream_index = 0; in WebRtcIsacfix_EncodeStoredData()
|
/external/chromium_org/content/child/npapi/ |
D | plugin_instance.cc | 109 std::vector<scoped_refptr<PluginStream> >::iterator stream_index; in RemoveStream() local 110 for (stream_index = open_streams_.begin(); in RemoveStream() 111 stream_index != open_streams_.end(); ++stream_index) { in RemoveStream() 112 if (stream_index->get() == stream) { in RemoveStream() 113 open_streams_.erase(stream_index); in RemoveStream() 120 std::vector<scoped_refptr<PluginStream> >::iterator stream_index; in IsValidStream() local 121 for (stream_index = open_streams_.begin(); in IsValidStream() 122 stream_index != open_streams_.end(); ++stream_index) { in IsValidStream() 123 if ((*stream_index)->stream() == stream) in IsValidStream() 554 std::vector<scoped_refptr<PluginStream> >::iterator stream_index; in RequestRead() local [all …]
|
/external/chromium_org/net/disk_cache/ |
D | entry_unittest.cc | 44 void ReleaseBuffer(int stream_index); 47 void GetTimes(int stream_index); 48 void GrowData(int stream_index); 49 void TruncateData(int stream_index); 50 void ZeroLengthIO(int stream_index); 53 void SizeChanges(int stream_index); 54 void ReuseEntry(int size, int stream_index); 55 void InvalidData(int stream_index); 56 void ReadWriteDestroyBuffer(int stream_index); 59 void DoomedEntry(int stream_index); [all …]
|
/external/chromium_org/media/video/capture/win/ |
D | video_capture_device_mf_win.cc | 71 DWORD stream_index = 0; in FillCapabilities() local 74 for (hr = source->GetNativeMediaType(kFirstVideoStream, stream_index, in FillCapabilities() 77 hr = source->GetNativeMediaType(kFirstVideoStream, stream_index, in FillCapabilities() 79 VideoCaptureCapabilityWin capability(stream_index++); in FillCapabilities() 122 STDMETHOD(OnReadSample)(HRESULT status, DWORD stream_index, in STDMETHOD() 147 STDMETHOD(OnFlush)(DWORD stream_index) { in STDMETHOD() 155 STDMETHOD(OnEvent)(DWORD stream_index, IMFMediaEvent* event) { in STDMETHOD() 262 kFirstVideoStream, found_capability.stream_index, type.Receive()); in AllocateAndStart()
|
D | capability_list_win.h | 22 : stream_index(index), in VideoCaptureCapabilityWin() 25 int stream_index; member
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
D | video_sender.cc | 379 int32_t VideoSender::IntraFrameRequest(int stream_index) { in IntraFrameRequest() argument 381 if (stream_index < 0 || in IntraFrameRequest() 382 static_cast<unsigned int>(stream_index) >= _nextFrameTypes.size()) { in IntraFrameRequest() 385 _nextFrameTypes[stream_index] = kVideoFrameKey; in IntraFrameRequest() 390 _nextFrameTypes[stream_index] = kVideoFrameDelta; in IntraFrameRequest()
|