Home
last modified time | relevance | path

Searched refs:streamIndex (Results 1 - 14 of 14) sorted by relevance

/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
H A DOboeAudioStream.java27 int streamIndex = INVALID_STREAM_INDEX; field in OboeAudioStream
76 streamIndex = INVALID_STREAM_INDEX; in open()
79 streamIndex = result; in open()
117 if (streamIndex >= 0) { in close()
118 close(streamIndex); in close()
119 streamIndex = INVALID_STREAM_INDEX; in close()
122 public native void close(int streamIndex); in close() argument
126 return getBufferCapacityInFrames(streamIndex); in getBufferCapacityInFrames()
128 private native int getBufferCapacityInFrames(int streamIndex); in getBufferCapacityInFrames() argument
132 return getBufferSizeInFrames(streamIndex); in getBufferSizeInFrames()
134 getBufferSizeInFrames(int streamIndex) getBufferSizeInFrames() argument
145 setBufferSizeInFrames(int streamIndex, int thresholdFrames) setBufferSizeInFrames() argument
150 getNativeApi(int streamIndex) getNativeApi() argument
156 getFramesPerBurst(int streamIndex) getFramesPerBurst() argument
161 getSharingMode(int streamIndex) getSharingMode() argument
166 getPerformanceMode(int streamIndex) getPerformanceMode() argument
171 getInputPreset(int streamIndex) getInputPreset() argument
176 getSampleRate(int streamIndex) getSampleRate() argument
181 getFormat(int streamIndex) getFormat() argument
186 getChannelCount(int streamIndex) getChannelCount() argument
191 getDeviceId(int streamIndex) getDeviceId() argument
196 getSessionId(int streamIndex) getSessionId() argument
201 isMMap(int streamIndex) isMMap() argument
207 getCallbackCount(int streamIndex) getCallbackCount() argument
213 getFramesWritten(int streamIndex) getFramesWritten() argument
219 getFramesRead(int streamIndex) getFramesRead() argument
225 getXRunCount(int streamIndex) getXRunCount() argument
231 getLatency(int streamIndex) getLatency() argument
237 getCpuLoad(int streamIndex) getCpuLoad() argument
246 getState(int streamIndex) getState() argument
[all...]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/cpp/
H A Djni-bridge.cpp175 Java_com_google_sample_oboe_manualtest_OboeAudioStream_close(JNIEnv *env, jobject, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_close() argument
176 engine.getCurrentActivity()->close(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_close()
181 JNIEnv *env, jobject, jint streamIndex, jint threshold) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames()
182 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames()
194 JNIEnv *env, jobject, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames()
196 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames()
205 JNIEnv *env, jobject, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames()
207 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames()
229 JNIEnv *env, jobject, jint streamIndex) { in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi()
231 oboe::AudioStream *oboeStream = engine.getCurrentActivity()->getStream(streamIndex); in Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi()
180 Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames( JNIEnv *env, jobject, jint streamIndex, jint threshold) Java_com_google_sample_oboe_manualtest_OboeAudioStream_setBufferSizeInFrames() argument
193 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferSizeInFrames() argument
204 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getBufferCapacityInFrames() argument
228 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getNativeApi() argument
241 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSampleRate( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSampleRate() argument
252 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSharingMode( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSharingMode() argument
263 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getPerformanceMode( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getPerformanceMode() argument
274 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getInputPreset( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getInputPreset() argument
285 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesPerBurst( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesPerBurst() argument
296 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getChannelCount( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getChannelCount() argument
307 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFormat(JNIEnv *env, jobject instance, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFormat() argument
317 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getDeviceId( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getDeviceId() argument
328 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSessionId( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getSessionId() argument
339 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesWritten( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesWritten() argument
350 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesRead( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getFramesRead() argument
361 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getXRunCount( JNIEnv *env, jobject, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getXRunCount() argument
383 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getLatency(JNIEnv *env, jobject instance, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getLatency() argument
393 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getCpuLoad(JNIEnv *env, jobject instance, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getCpuLoad() argument
404 Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState(JNIEnv *env, jobject instance, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_getState() argument
454 Java_com_google_sample_oboe_manualtest_OboeAudioStream_isMMap(JNIEnv *env, jobject instance, jint streamIndex) Java_com_google_sample_oboe_manualtest_OboeAudioStream_isMMap() argument
[all...]
H A DNativeAudioContext.cpp82 void ActivityContext::freeStreamIndex(int32_t streamIndex) { in freeStreamIndex() argument
83 mOboeStreams[streamIndex].reset(); in freeStreamIndex()
84 mOboeStreams.erase(streamIndex); in freeStreamIndex()
91 void ActivityContext::close(int32_t streamIndex) { in close() argument
93 oboe::AudioStream *oboeStream = getStream(streamIndex); in close()
96 LOGD("ActivityContext::%s() delete stream %d ", __func__, streamIndex); in close()
97 freeStreamIndex(streamIndex); in close()
101 bool ActivityContext::isMMapUsed(int32_t streamIndex) { in isMMapUsed() argument
102 oboe::AudioStream *oboeStream = getStream(streamIndex); in isMMapUsed()
165 int32_t streamIndex in open() local
286 close(int32_t streamIndex) close() argument
594 close(int32_t streamIndex) close() argument
[all...]
H A DNativeAudioContext.h197 oboe::AudioStream *getStream(int32_t streamIndex) { in getStream() argument
198 auto it = mOboeStreams.find(streamIndex); in getStream()
225 virtual void close(int32_t streamIndex);
277 bool isMMapUsed(int32_t streamIndex);
306 void freeStreamIndex(int32_t streamIndex);
411 void close(int32_t streamIndex) override;
616 void close(int32_t streamIndex) override;
/third_party/lzma/CPP/7zip/Archive/Common/
H A DCoderMixer2.h128 bool IsStream_in_PackStreams(UInt32 streamIndex) const
130 return FindStream_in_PackStreams(streamIndex) >= 0;
133 int FindStream_in_PackStreams(UInt32 streamIndex) const
136 if (PackStreams[i] == streamIndex)
146 UInt32 streamIndex = 0;
148 streamIndex += Coders[i].NumStreams;
149 return streamIndex;
171 void GetCoder_for_Stream(UInt32 streamIndex, UInt32 &coderIndex, UInt32 &coderStreamIndex) const
173 coderIndex = Stream_to_Coder[streamIndex];
174 coderStreamIndex = streamIndex
[all...]
H A DCoderMixer2.cpp265 bool CMixer::Is_PackSize_Correct_for_Stream(UInt32 streamIndex) in Is_PackSize_Correct_for_Stream() argument
267 if (_bi.IsStream_in_PackStreams(streamIndex)) in Is_PackSize_Correct_for_Stream()
270 const int bond = _bi.FindBond_for_PackStream(streamIndex); in Is_PackSize_Correct_for_Stream()
595 HRESULT CMixerST::FinishStream(UInt32 streamIndex) in FinishStream() argument
601 if (_bi.UnpackCoder == streamIndex) in FinishStream()
605 index = _bi.FindStream_in_PackStreams(streamIndex); in FinishStream()
613 streamIndex); in FinishStream()
/third_party/lzma/CPP/7zip/Common/
H A DMultiOutStream.cpp312 HRESULT CMultiOutStream::CreateStreams_If_Required(unsigned streamIndex) in CreateStreams_If_Required() argument
318 if (streamIndex < numStreamsBefore) in CreateStreams_If_Required()
321 if (streamIndex == numStreamsBefore) in CreateStreams_If_Required()
339 if (streamIndex != numStreamsBefore) in CreateStreams_If_Required()
359 HRESULT CMultiOutStream::ReOpenStream(unsigned streamIndex) in ReOpenStream() argument
361 PRF(printf("\n====== %u, ReOpenStream \n", streamIndex)); in ReOpenStream()
363 CVolStream &s = Streams[streamIndex]; in ReOpenStream()
365 FString path = GetFilePath(streamIndex); in ReOpenStream()
387 InsertToLinkedList(streamIndex); in ReOpenStream()
H A DMultiOutStream.h135 HRESULT CreateStreams_If_Required(unsigned streamIndex);
136 HRESULT ReOpenStream(unsigned streamIndex);
/third_party/lzma/CPP/7zip/Compress/
H A DBcj2Coder.cpp76 Z7_COM7F_IMF(CEncoder::SetOutBufSize(UInt32 streamIndex, UInt32 size)) in SetOutBufSize() argument
77 { _bufsSizes_New[streamIndex] = size; return S_OK; } in SetOutBufSize()
432 Z7_COM7F_IMF(CDecoder::SetInBufSize(UInt32 streamIndex, UInt32 size)) in SetInBufSize() argument
433 { _bufsSizes_New[streamIndex] = size; return S_OK; } in SetInBufSize()
664 Z7_COM7F_IMF(CDecoder::GetInStreamProcessedSize2(UInt32 streamIndex, UInt64 *value)) in GetInStreamProcessedSize2() argument
666 *value = GetProcessedSize_ForInStream(streamIndex); in GetInStreamProcessedSize2()
673 Z7_COM7F_IMF(CDecoder::SetInStream2(UInt32 streamIndex, ISequentialInStream *inStream)) in SetInStream2() argument
675 _inStreams[streamIndex] = inStream; in SetInStream2()
679 Z7_COM7F_IMF(CDecoder::ReleaseInStream2(UInt32 streamIndex)) in ReleaseInStream2() argument
681 _inStreams[streamIndex] in ReleaseInStream2()
[all...]
/third_party/lzma/CPP/7zip/
H A DICoder.h215 x(GetInStreamProcessedSize2(UInt32 streamIndex, UInt64 *value))
279 x(SetInBufSize(UInt32 streamIndex, UInt32 size)) \
280 x(SetOutBufSize(UInt32 streamIndex, UInt32 size))
291 x(SetInStream2(UInt32 streamIndex, ISequentialInStream *inStream)) \
292 x(ReleaseInStream2(UInt32 streamIndex))
297 x(SetOutStream2(UInt32 streamIndex, ISequentialOutStream *outStream))
298 x(ReleaseOutStream2(UInt32 streamIndex))
302 x(SetInStreamSize2(UInt32 streamIndex, const UInt64 *inSize))
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/cpp/audio/
H A DFFMpegExtractor.cpp109 int streamIndex = av_find_best_stream(avFormatContext, AVMEDIA_TYPE_AUDIO, -1, -1, nullptr, 0); in getBestAudioStream() local
111 if (streamIndex < 0){ in getBestAudioStream()
115 return avFormatContext->streams[streamIndex]; in getBestAudioStream()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DSwapChain9.cpp316 for (UINT streamIndex = 0; streamIndex < gl::MAX_VERTEX_ATTRIBS; streamIndex++) in swapRect()
318 device->SetStreamSourceFreq(streamIndex, 1); in swapRect()
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zIn.h289 UInt64 GetFolderPackStreamSize(CNum folderIndex, unsigned streamIndex) const in GetFolderPackStreamSize()
291 size_t i = FoStartPackStreamIndex[folderIndex] + streamIndex; in GetFolderPackStreamSize()
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_tgsi_vgpu10.c7183 unsigned streamIndex = find_stream_index(emit, &inst->Src[0]); in emit_endprim() local
7185 if (emit->info.num_stream_output_components[streamIndex] == 0) { in emit_endprim()
7194 emit_stream_register(emit, streamIndex); in emit_endprim()
11455 unsigned streamIndex = find_stream_index(emit, &inst->Src[0]); in emit_vertex() local
11463 if (streamIndex == 0) { in emit_vertex()
11476 if (emit->info.num_stream_output_components[streamIndex] == 0) { in emit_vertex()
11484 emit_stream_register(emit, streamIndex); in emit_vertex()

Completed in 27 milliseconds