Home
last modified time | relevance | path

Searched refs:front (Results 1 – 16 of 16) sorted by relevance

/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c67 int32_t front) in audio_utils_fifo_diff() argument
69 int32_t diff = rear - front; in audio_utils_fifo_diff()
72 int32_t genDiff = (rear & mask) - (front & mask); in audio_utils_fifo_diff()
85 int32_t front = android_atomic_acquire_load(&fifo->mFront); in audio_utils_fifo_write() local
87 size_t availToWrite = fifo->mFrameCount - audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_write()
113 int32_t front = fifo->mFront; in audio_utils_fifo_read() local
114 size_t availToRead = audio_utils_fifo_diff(fifo, rear, front); in audio_utils_fifo_read()
118 front &= fifo->mFrameCountP2 - 1; in audio_utils_fifo_read()
119 size_t part1 = fifo->mFrameCount - front; in audio_utils_fifo_read()
124 memcpy(buffer, (char *) fifo->mBuffer + (front * fifo->mFrameSize), in audio_utils_fifo_read()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DPipeShort.java97 int front = mFront & (mMaxValues - 1); in read() local
98 int red = mMaxValues - front; in read()
103 System.arraycopy(mBuffer, front, buffer, offset, red); in read()
105 if (front + red == mMaxValues) { in read()
106 if ((count -= red) > front) { in read()
107 count = front; in read()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DLayerInfo.java32 LayerInfo(int front, int back) { in LayerInfo() argument
33 frontDepth = front; in LayerInfo()
DBlurStack.java198 int front = layerInfo[n].frontDepth; in toString() local
200 s += "\nlayer " + n + " num of disparities " + (front - back + 1) + "\n"; in toString()
202 for (int d = front; d >= back; --d) { in toString()
Dlayered_filter_fast_f32.rs534 void SetTargetLayer(int front, int back) {
535 g_target_layer.front_depth = front;
548 void InitializeF32(int width, int height, int margin, int front, int back) {
550 g_focal_layer.front_depth = front;
563 InitializeVisibilityProbability(&g_visibility_probability, front, back);
Dlayer_info.rsh4 // An object that contains the front and back depths values of a layer
Dlayered_filter_fast_d1new.rs784 void SetTargetLayer(int front, int back) {
785 g_target_layer_i2.s0 = front;
798 void InitializeFast(int width, int height, int margin, int front, int back) {
805 g_focal_layer_i2.s0 = front;
824 InitializeVisibilityProbability(&g_visibility_probability, front, back);
Dlayer_info_fast.rsh4 // An object that contains the front and back depths values of a layer
Dpixel_format_f32.rsh20 // 4. After each layer is processed from front-most layer to focal depth layer,
Dluts_for_speedup_f32.rsh41 // For a depth value within the focal layer, only depth values in front
Dlayered_filter_f32_helper.rsh90 // bleeding from layers in front of this layer. Doing visibility test in a
151 // front-most to the focus depth.
Dlayered_filter_d1new_helper.rsh150 // bleeding from layers in front of this layer. Doing visibility test in a
212 // front most layer to focus layer.
/cts/suite/audio_quality/test/
DTaskCaseTest.cpp63 ASSERT_TRUE(((list->front().second.get() == buffer1.get()) && in TEST_F()
65 ((list->front().second.get() == buffer2.get()) && in TEST_F()
104 ASSERT_TRUE(((list->front().second == val2) && (list->back().second == val3)) || in TEST_F()
105 ((list->front().second == val3) && (list->back().second == val4))); in TEST_F()
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp151 AMediaFormat* format = mFormats.front(); in ~CallbackData()
168 id = mInputBufferIds.front(); in getInputBufferId()
193 id = mOutputBufferIds.front(); in getOutput()
197 *bufferInfo = mOutputBufferInfos.front(); in getOutput()
200 *format = mFormats.front(); in getOutput()
/cts/tests/tests/media/libaudiojni/
Daudio-record-native.cpp331 auto b = mReadyQueue.front(); in read()
402 auto b = mDeliveredQueue.front(); in bufferQueueCallback()
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp235 std::string dir = dirs.front(); in check_path()