Home
last modified time | relevance | path

Searched refs:ix (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/common/jni/
Dcodec-utils-jni.cpp229 for (size_t ix = 0; ix < img->numPlanes; ++ix) { in getNativeImage() local
231 env, env->GetObjectArrayElement(planesArray.get(), (jsize)ix)); in getNativeImage()
232 img->plane[ix].colInc = env->CallIntMethod(plane.get(), gFields.methodPixelStride); in getNativeImage()
233 img->plane[ix].rowInc = env->CallIntMethod(plane.get(), gFields.methodRowStride); in getNativeImage()
237 img->plane[ix].buffer = (const uint8_t *)env->GetDirectBufferAddress(buffer.get()); in getNativeImage()
238 img->plane[ix].size = env->GetDirectBufferCapacity(buffer.get()); in getNativeImage()
240 img->plane[ix].cropOffs = in getNativeImage()
241 (img->crop.left >> xDecim) * img->plane[ix].colInc in getNativeImage()
242 + (img->crop.top >> yDecim) * img->plane[ix].rowInc; in getNativeImage()
243 img->plane[ix].cropHeight = in getNativeImage()
[all …]
/cts/tests/tests/media/encoder/src/android/media/encoder/cts/
DVideoEncoderTest.java157 public void onOutputBufferAvailable(MediaCodec codec, int ix, BufferInfo info) { in play()
161 codec.releaseOutputBuffer(ix, info.size > 0); in play()
168 public void onInputBufferAvailable(MediaCodec codec, int ix) { in play()
174 codec.getInputBuffer(ix).put(el.first); in play()
178 + codec.getInputBuffer(ix).remaining() in play()
191 ix, 0, info.size, info.presentationTimeUs, info.flags); in play()
194 + codec.getName() + "," + ix in play()
417 protected boolean fillDecoderInputBuffer(int ix) { in fillDecoderInputBuffer() argument
418 if (DEBUG) Log.v(TAG, "decoder received input #" + ix); in fillDecoderInputBuffer()
430 ix, 0, 0, 0, MediaCodec.BUFFER_FLAG_END_OF_STREAM); in fillDecoderInputBuffer()
[all …]
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DAdaptivePlaybackTest.java543 for (int i = NUM_FRAMES, ix = 0; i > 0; i--, ix++) { in addTests()
545 final int mediaIx = ix % c.mediaList.length; in addTests()
618 for (int i = NUM_FRAMES, ix = 0; i >= MIN_FRAMES_BEFORE_DRC; i--, ix++) { in addTests()
619 final int mediaIx = ix % c.mediaList.length; in addTests()
775 for (int i = 2, ix = 0; i <= NUM_FRAMES; i++, ix++) {
776 final int mediaIx = ix % c.mediaList.length;
1047 int ix = mCodec.dequeueOutputBuffer(info, kTimeOutUs);
1048 if (ix == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
1052 } else if (ix == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
1060 } else if (ix < 0) {
[all …]
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaCodecListTest.java278 int ix = 0; in testRegularMediaCodecListIsASubsetOfAll() local
280 if (ix == mRegularInfos.length) { in testRegularMediaCodecListIsASubsetOfAll()
283 if (!mRegularInfos[ix].getName().equals(info.getName())) { in testRegularMediaCodecListIsASubsetOfAll()
288 assertSuperset(info, mRegularInfos[ix]); in testRegularMediaCodecListIsASubsetOfAll()
289 ++ix; in testRegularMediaCodecListIsASubsetOfAll()
292 "some regular codecs are not listed in all codecs", ix, mRegularInfos.length); in testRegularMediaCodecListIsASubsetOfAll()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java1042 int ix = 0; // index in the result in movingAverageOverSum() local
1043 while (ix < samples) { in movingAverageOverSum()
1056 avgs[ix++] = sum / num; in movingAverageOverSum()
1059 avgs[ix++] = mData[bi - 1]; in movingAverageOverSum()
1063 avgs[ix++] = mData[ei]; in movingAverageOverSum()
1078 return new Stats(Arrays.copyOf(avgs, ix)); in movingAverageOverSum()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecCapabilitiesTest.java746 int ix = codec.dequeueInputBuffer(TIMEOUT_US); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local
748 info.getName() + " encoder has non-flexYUV input buffer #" + ix, in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
749 codec.getInputImage(ix)); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
/cts/tests/tests/telecom/src/android/telecom/cts/
DSelfManagedConnectionServiceTest.java1204 for (int ix = 0; ix < 10; ix++) { in testCallLimit()
1205 Uri address = Uri.fromParts("sip", "test" + ix + "@test.com", null); in testCallLimit()
/cts/tests/tests/security/res/raw/
Dcve_2018_13925.ts808 …�F���&�Nb������0��4�*��=6�( �&��t��G�1�J�(: �!��pi4��2;��I�qҮ� �=SE�ix��0�2U -��@�j҅vі�ˢY…
7263 �6ƽ*5�73tڭ�@0ix}=��Є��1�+I������r����F�
Dcve_2019_2244.ts807 …�F���&�Nb������0��4�*��=6�( �&��t��G�1�J�(: �!��pi4��2;��I�qҮ� �=SE�ix��0�2U -��@�j҅vі�ˢY…
7266 �6ƽ*5�73tڭ�@0ix}=��Є��1�+I������r����F�
Dcve_2019_2245.ts807 …�F���&�Nb������0��4�*��=6�( �&��t��G�1�J�(: �!��pi4��2;��I�qҮ� �=SE�ix��0�2U -��@�j҅vі�ˢY…