Home
last modified time | relevance | path

Searched refs:frames (Results 1 – 8 of 8) sorted by relevance

/cts/hostsidetests/incident/apps/graphicsstatsapp/src/com/android/server/cts/device/graphicsstats/
DSimpleDrawFrameTests.java60 int[] frames = new int[50];
63 frames[indx] = DrawFramesActivity.FRAME_JANK_RECORD_DRAW;
64 frames[indx + 1] = DrawFramesActivity.FRAME_JANK_ANIMATION;
65 frames[indx + 2] = DrawFramesActivity.FRAME_JANK_LAYOUT;
66 frames[indx + 3] = DrawFramesActivity.FRAME_JANK_MISS_VSYNC;
68 activity.drawFrames(frames);
80 int[] frames = new int[40];
83 frames[indx] = DrawFramesActivity.FRAME_JANK_DAVEY;
84 frames[indx + 2] = DrawFramesActivity.FRAME_JANK_DAVEY_JR;
86 activity.drawFrames(frames);
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py132 events, frames = collect_data(fps, w, h, test_length)
134 events, frames, _, h = load_data()
165 cam_rots = get_cam_rotations(frames, events["facing"], h)
315 def get_cam_rotations(frames, facing, h): argument
330 for frame in frames:
367 frame = frames[i]
406 frames = []
410 frames.append(numpy.array(img).reshape(h, w, 3) / 255.0)
411 return events, frames, w, h
488 frames = []
[all …]
/cts/apps/CameraITS/tests/scene1/
Dtest_burst_sameness_manual.py84 frames = range(FRAMES)
86 pylab.plot(frames, r_means, "-ro")
87 pylab.plot(frames, g_means, "-go")
88 pylab.plot(frames, b_means, "-bo")
/cts/apps/CameraITS/tests/rolling_shutter_skew/
Dtest_rolling_shutter_skew.py130 frames = [its.image.convert_capture_to_rgb_image(c) for c in raw_caps]
133 frames, reported_skew = load_data(args.read_dir)
136 (frame_h, _, _) = frames[0].shape
143 for i, img in enumerate(frames):
149 frames, args.led_time, debug_dir)
227 frames = []
229 frames.append(its.image.load_rgb_image(frame_file))
232 return frames, reported_skew
235 def find_average_shutter_skew(frames, led_time, debug_dir=None): argument
255 for i, frame in enumerate(frames):
/cts/tests/tests/view/src/android/view/cts/
DGLProducerThread.java54 int frames, int delayMs, Semaphore semaphore) { in GLProducerThread() argument
56 mFrames = frames; in GLProducerThread()
63 GLProducerThread(SurfaceTexture surfaceTexture, GLRenderer renderer, int frames, int delayMs, in GLProducerThread() argument
65 this(surfaceTexture, renderer, null, frames, delayMs, semaphore); in GLProducerThread()
/cts/tests/tests/media/src/android/media/cts/
DAdaptivePlaybackTest.java605 int frames = mDecoder.queueInputBufferRange( in addTests()
612 if (lastSequence && frames >= 0) { in addTests()
613 warn("did not receive EOS, received " + frames + " frames"); in addTests()
614 } else if (!lastSequence && frames < 0) { in addTests()
615 warn("received EOS, received " + (-frames) + " frames"); in addTests()
620 mDecodedFrames += Math.abs(frames); in addTests()
759 int frames = mDecoder.queueInputBufferRange(
766 if (lastSequence && frames >= 0) {
767 warn("did not receive EOS, received " + frames + " frames");
768 } else if (!lastSequence && frames < 0) {
[all …]
DAudioHelper.java297 final long frames = ts.framePosition; in add() local
303 final long deltaFrames = frames - mLastFrames; in add()
312 Log.d(mTag, "frames(" + frames in add()
341 mLastFrames = frames; in add()
DVpxCodecTestBase.java1808 int frames = 0; in computeEncodingStatistics() local
1831 frames++; in computeEncodingStatistics()
1874 Log.d(TAG, " Frames: " + frames + ". Duration: " + duration + in computeEncodingStatistics()
1966 int frames = 0; in computeDecodingStatistics() local
2013 minimumPSNRFrameIndex = frames; in computeDecodingStatistics()
2017 frames, curYPSNR, curUPSNR, curVPSNR); in computeDecodingStatistics()
2020 frames++; in computeDecodingStatistics()
2023 averageYPSNR /= frames; in computeDecodingStatistics()
2024 averageUPSNR /= frames; in computeDecodingStatistics()
2025 averageVPSNR /= frames; in computeDecodingStatistics()
[all …]