Home
last modified time | relevance | path

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

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerMultiTest.java180 Resolution resolution = testResolutions[index]; in getAllVideoCodecParameters() local
181 long pixels = (long) resolution.mWidth * resolution.mHeight; in getAllVideoCodecParameters()
196 Resolution resolution = testResolutions[index]; in getAllVideoCodecParameters() local
197 long pixels = (long) resolution.mWidth * resolution.mHeight; in getAllVideoCodecParameters()
203 if (videoCap.isSizeSupported(resolution.mWidth, resolution.mHeight)) { in getAllVideoCodecParameters()
206 resolution.mWidth, resolution.mHeight)); in getAllVideoCodecParameters()
DResourceManagerRecorderActivity.java156 long resolution = (long) size.width * size.height; in setSupportedResolution() local
157 if (!mHighResolution && (resolution < curMinResolution)) { in setSupportedResolution()
158 curMinResolution = resolution; in setSupportedResolution()
161 } else if (mHighResolution && (resolution > curMaxResolution)) { in setSupportedResolution()
162 curMaxResolution = resolution; in setSupportedResolution()
/cts/tests/tests/mediaediting/
DREADME.md7 | VideoResolutionTest | Transform resolution of input videos and validate output resolution |
10 …| Test transform aspects ratio of input videos and validate the output resolution according to the…
50 Test transform resolution of input videos and validate the output resolution.
59 Test transform aspects ratio of input videos and validate the output resolution according to the re…
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
DHingeAngleVerification.java46 float resolution = environment.getSensor().getResolution(); in verify() local
80 float remainder = event.values[0] == 0.0f ? 0 : Math.abs(event.values[0] % resolution); in verify()
81 if (remainder > 0.001 && resolution - remainder > 0.001) { in verify()
84 " resolution=%s %s", event.timestamp, event.values[0], resolution, in verify()
/cts/tests/mediapc/requirements/
Drequirements.txtpb64 …er sessions (AVC or HEVC) in any codec combination running concurrently at 720p resolution@30 fps."
71 …, VP9* or later) in any codec combination running concurrently at 720p resolution@30 fps. *Only 2 …
78 …HEVC, VP9, AV1 or later) in any codec combination running concurrently at 1080p resolution@30 fps."
85 …ions at 1080p resolution@30 fps and 3 sessions at 4k resolution@30fps, unless AV1. AV1 codecs are …
92resolution@30 fps and 3 sessions at 4k resolution@30fps, unless AV1. For all sessions, there MUST …
142 …er sessions (AVC or HEVC) in any codec combination running concurrently at 720p resolution@30 fps."
149 …, VP9* or later) in any codec combination running concurrently at 720p resolution@30 fps. *Only 2 …
156 … HEVC, VP9, AV1 or later) in any codec combination running concurrently at 1080p resolution@30fps."
163 …ions at 1080p resolution@30 fps and 2 sessions at 4k resolution@30fps, unless AV1. AV1 codecs are …
170resolution@30 fps and 2 sessions at 4k resolution@30fps, unless AV1. For all sessions, there MUST …
[all …]
/cts/tests/mediapc/common/src/android/mediapc/cts/common/
DPerformanceClassEvaluator.java222 String mimeType2, int resolution) { in getReqMinConcurrentInstances() argument
230 return resolution >= 1080 ? REQUIRED_MIN_CONCURRENT_INSTANCES : 0; in getReqMinConcurrentInstances()
232 if (resolution >= 1080) { in getReqMinConcurrentInstances()
247 if (resolution >= 1080) { in getReqMinConcurrentInstances()
262 String mimeType2, int resolution) { in getReqMinConcurrentFps() argument
264 mimeType2, resolution); in getReqMinConcurrentFps()
348 String mimeType2, int resolution) { in createR5_1__H_1_1_720p() argument
354 Build.VERSION_CODES.R, mimeType1, mimeType2, resolution)) in createR5_1__H_1_1_720p()
357 Build.VERSION_CODES.S, mimeType1, mimeType2, resolution)) in createR5_1__H_1_1_720p()
402 String mimeType2, int resolution) { in createR5_1__H_1_2_720p() argument
[all …]
DCameraRequirement.java599 public void setResolution(long resolution) { in setResolution() argument
601 resolution); in setResolution()
/cts/libs/input/src/com/android/cts/input/
DUinputRegisterCommand.kt65 val resolution: Int, constant in com.android.cts.input.AbsInfo
73 "resolution": $resolution in toString()
/cts/tests/tests/display/src/android/display/cts/
DDefaultDisplayModeTest.java294 Point resolution = findNonDefaultResolution(mDefaultDisplay); in testSetUserPreferredResolutionForSpecificDisplay() local
296 resolution.x != -1 && resolution.y != -1); in testSetUserPreferredResolutionForSpecificDisplay()
299 new Display.Mode.Builder().setResolution(resolution.x, resolution.y).build()); in testSetUserPreferredResolutionForSpecificDisplay()
301 assertEquals(resolution.x, in testSetUserPreferredResolutionForSpecificDisplay()
303 assertEquals(resolution.y, in testSetUserPreferredResolutionForSpecificDisplay()
/cts/tests/tests/print/src/android/print/cts/
DCustomPrintOptionsTest.java233 final Integer colorMode, final Integer duplexMode, final Resolution resolution) in testCase() argument
266 if (resolution != null) { in testCase()
267 additionalAttributesBuilder.setResolution(resolution); in testCase()
268 newAttributesBuilder.setResolution(resolution); in testCase()
292 || resolution != null) { in testCase()
DPrintAttributesTest.java103 Resolution resolution) { in createAttributes() argument
104 if (mediaSize == null && colorMode == 0 && duplexMode == 0 && resolution == null) { in createAttributes()
122 if (resolution != null) { in createAttributes()
123 builder.setResolution(resolution); in createAttributes()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0007/
Dpoc.cpp38 hwSensor.resolution = 1.f; in getTestSensorT()
/cts/tools/cts-media-preparer-app/src/android/mediastress/cts/preconditions/app/
DMediaPreparerAppTest.java72 private Resolution(String resolution) { in Resolution() argument
74 Matcher matcher = pattern.matcher(resolution); in Resolution()
/cts/apps/CameraITS/tests/scene4/
Dtest_30_60fps_preview_fov_match.py108 def _do_preview_recording(cam, resolution, stabilize, fps): argument
125 resolution, _RECORDING_DURATION, stabilize=stabilize,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/fov/
DPhotoCaptureActivity.java185 SelectableResolution resolution = mSupportedResolutions.get(position); in onCreate()
186 switchToCamera(resolution, false); in onCreate()
190 mReportedFovPrePictureTaken = getCameraFov(resolution.cameraId); in onCreate()
532 private void switchToCamera(SelectableResolution resolution, boolean startPreview) { in switchToCamera() argument
538 mSelectedResolution = resolution; in switchToCamera()
/cts/apps/CameraITS/tests/scene6/
Dtest_preview_video_zoom_match.py74 def _do_preview_recording(cam, resolution, zoom_ratio): argument
90 resolution, _RECORDING_DURATION, False, zoom_ratio=zoom_ratio)