Home
last modified time | relevance | path

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

/cts/tests/tests/media/libmediandkjni/
Dcodec-utils-jni.cpp216 for (size_t ix = 0; ix < img->numPlanes; ++ix) { in getNativeImage() local
218 env, env->GetObjectArrayElement(planesArray.get(), (jsize)ix)); in getNativeImage()
219 img->plane[ix].colInc = env->CallIntMethod(plane.get(), gFields.methodPixelStride); in getNativeImage()
220 img->plane[ix].rowInc = env->CallIntMethod(plane.get(), gFields.methodRowStride); in getNativeImage()
224 img->plane[ix].buffer = (const uint8_t *)env->GetDirectBufferAddress(buffer.get()); in getNativeImage()
225 img->plane[ix].size = env->GetDirectBufferCapacity(buffer.get()); in getNativeImage()
227 img->plane[ix].cropOffs = in getNativeImage()
228 (img->crop.left >> xDecim) * img->plane[ix].colInc in getNativeImage()
229 + (img->crop.top >> yDecim) * img->plane[ix].rowInc; in getNativeImage()
230 img->plane[ix].cropHeight = in getNativeImage()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java468 for (int i = NUM_FRAMES, ix = 0; i > 0; i--, ix++) { in addTests()
470 final int mediaIx = ix % c.mediaList.length; in addTests()
543 for (int i = NUM_FRAMES, ix = 0; i >= MIN_FRAMES_BEFORE_DRC; i--, ix++) { in addTests()
544 final int mediaIx = ix % c.mediaList.length; in addTests()
696 for (int i = 2, ix = 0; i <= NUM_FRAMES; i++, ix++) {
697 final int mediaIx = ix % c.mediaList.length;
939 int ix = mCodec.dequeueOutputBuffer(info, kTimeOutUs);
940 if (ix == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) {
944 } else if (ix == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) {
950 } else if (ix < 0) {
[all …]
DVideoEncoderTest.java100 public void onOutputBufferAvailable(MediaCodec codec, int ix, BufferInfo info) { in play()
101 codec.releaseOutputBuffer(ix, info.size > 0); in play()
108 public void onInputBufferAvailable(MediaCodec codec, int ix) { in play()
113 codec.getInputBuffer(ix).put(el.first); in play()
117 + codec.getInputBuffer(ix).remaining() in play()
124 ix, 0, info.size, info.presentationTimeUs, info.flags); in play()
328 protected boolean fillDecoderInputBuffer(int ix) { in fillDecoderInputBuffer() argument
329 if (DEBUG) Log.v(TAG, "decoder received input #" + ix); in fillDecoderInputBuffer()
341 ix, 0, 0, 0, MediaCodec.BUFFER_FLAG_END_OF_STREAM); in fillDecoderInputBuffer()
350 mDecoder.getInputBuffer(ix).put(mBuffer); in fillDecoderInputBuffer()
[all …]
DMediaCodecListTest.java258 int ix = 0; in testRegularMediaCodecListIsASubsetOfAll() local
260 if (ix == mRegularInfos.length) { in testRegularMediaCodecListIsASubsetOfAll()
263 if (!mRegularInfos[ix].getName().equals(info.getName())) { in testRegularMediaCodecListIsASubsetOfAll()
268 assertSuperset(info, mRegularInfos[ix]); in testRegularMediaCodecListIsASubsetOfAll()
269 ++ix; in testRegularMediaCodecListIsASubsetOfAll()
272 "some regular codecs are not listed in all codecs", ix, mRegularInfos.length); in testRegularMediaCodecListIsASubsetOfAll()
DMediaCodecCapabilitiesTest.java621 int ix = codec.dequeueInputBuffer(TIMEOUT_US); in testAllNonTunneledVideoCodecsSupportFlexibleYUV() local
623 info.getName() + " encoder has non-flexYUV input buffer #" + ix, in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
624 codec.getInputImage(ix)); in testAllNonTunneledVideoCodecsSupportFlexibleYUV()
DVideoDecoderPerfTest.java302 private void perf(int[] resources, boolean isGoog, int ix) throws Exception { in perf() argument
309 } else if (ix >= decoders.length) { in perf()
314 String decoderName = decoders[ix]; in perf()
/cts/tests/tests/telecom/src/android/telecom/cts/
DSelfManagedConnectionServiceTest.java479 for (int ix = 0; ix < 10; ix++) { in testCallLimit()
480 Uri address = Uri.fromParts("sip", "test" + ix + "@test.com", null); in testCallLimit()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java842 int ix = 0; // index in the result in movingAverageOverSum() local
843 while (ix < samples) { in movingAverageOverSum()
856 avgs[ix++] = sum / num; in movingAverageOverSum()
859 avgs[ix++] = mData[bi - 1]; in movingAverageOverSum()
863 avgs[ix++] = mData[ei]; in movingAverageOverSum()
878 return new Stats(Arrays.copyOf(avgs, ix)); in movingAverageOverSum()
/cts/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java176 private void perf(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { in perf() argument
177 doTest(mimeType, w, h, true /* isPerf */, isGoog, ix); in perf()
181 private void qual(String mimeType, int w, int h, boolean isGoog, int ix) throws Exception { in qual() argument
182 doTest(mimeType, w, h, false /* isPerf */, isGoog, ix); in qual()
186 private void qual(String mimeType, int w, int h, boolean isGoog, int ix, double margin) in qual() argument
189 doTest(mimeType, w, h, false /* isPerf */, isGoog, ix); in qual()
658 private void doTest(String mimeType, int w, int h, boolean isPerf, boolean isGoog, int ix) in doTest() argument
666 } else if (encoderNames.length <= ix) { in doTest()
675 String encoderName = encoderNames[ix]; in doTest()
/cts/tests/tests/media/assets/
Dsegment000000.ts676 …$[q������D[Qt���G�������`6@ਆȸ��'���XT�8,ɗ *x�Ȭ��h��C/�#��B�b��ix����/v���%� `�]�w�@�…
1850 …c���l xG���<�^=�ʈm��u���u��,� 6��A�x����CJg�q�r�� �^�c�6h�%z����ix�)��!���1�t6�@05…
2362 …Y��dG�40d��<���@�v9$�ix �û�1�_���!4�G��B\_�gA�P2�i)~��3�E��C�_���q�}��C�$�,U�� ��=, …
2925 …�v�������~`u�{b�/ ���0���������(�8'�>Z�4�f%, j�@�T�C�&�n>�.f�����:�ix� �]�vn/Ԭ2����� P/=v…
2950 �a��������⾵���4q|^{m�e��H-�CQ��!Pa��������}q`6LJix���J�����`{��٨����#�Z�c���G�70bN�…
2972 �>�\x/��i����H��5OtP�uO��~�~�}ɪ5����yR�<� 3Ԁ�ix��p�L� �_�a,�ׂ�Ӵ�$�|l~!���|V��� p��_-�h�…
Dsegment000001.ts2933 �|!@G�5`��0ix�I�Z�� lEH̠n�����%�����[�v 쇈�X��/WpIZ��8�= Ȏ)mT