Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 69) sorted by relevance

123

/cts/apps/CameraITS/pymodules/its/
Dobjects.py159 def get_available_output_sizes(fmt, props, max_size=None, match_ar_size=None): argument
180 fmt_configs = [cfg for cfg in configs if cfg['format'] == fmt_codes[fmt]]
261 fmt = "yuv"
262 size = get_available_output_sizes(fmt, props)[-1]
263 out_spec = {"format":fmt, "width":size[0], "height":size[1]}
283 fmt = "yuv"
284 size = get_available_output_sizes(fmt, props)[-1]
285 out_spec = {"format":fmt, "width":size[0], "height":size[1]}
304 fmt = {"format":"yuv", "width":size[0], "height":size[1]}
306 return fmt
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DAudioStringsHelper.java42 static private String encodingToString(int fmt) { in encodingToString() argument
43 return fmt < formatStrings.length ? formatStrings[fmt] : ("" + fmt + " Unknown Format "); in encodingToString()
46 static private String encodingToShortString(int fmt) { in encodingToShortString() argument
47 return fmt < shortFormatStrings.length in encodingToShortString()
48 ? shortFormatStrings[fmt] in encodingToShortString()
49 : ("" + fmt + " Unknown Format "); in encodingToShortString()
/cts/apps/CameraITS/tests/scene4/
Dtest_multi_camera_alignment.py294 for i, fmt in enumerate(fmts):
296 {'format': fmt, 'physicalCamera': physical_ids[0]},
297 {'format': fmt, 'physicalCamera': physical_ids[1]}]
305 if fmt == 'raw':
311 _, caps[(fmt, physical_ids[0])], caps[(fmt, physical_ids[1])] = cam.do_capture(
314 for j, fmt in enumerate(fmts):
323 print '\nFormat:', fmt
327 caps[(fmt, i)], props=props_physical[i])
328 size[i] = (caps[fmt, i]['width'], caps[fmt, i]['height'])
332 its.image.write_image(img, '%s_%s_%s.jpg' % (NAME, fmt, i))
[all …]
/cts/apps/CameraITS/tests/scene0/
Dtest_read_write.py59 for fmt in valid_formats:
60 print 'format: %s' % fmt
61 size = its.objects.get_available_output_sizes(fmt, props)[-1]
62 out_surface = {'width': size[0], 'height': size[1], 'format': fmt}
70 index_list.append((fmt, exp, sens))
80 data[index_list[i]] = (fmt, e_read, s_read)
Dtest_unified_timestamps.py35 req, fmt = its.objects.get_fastest_manual_capture_settings(props)
37 req, fmt = its.objects.get_fastest_auto_capture_settings(props)
38 cap = cam.do_capture(req, fmt)
56 cap = cam.do_capture(req, fmt)
Dtest_capture_result_dump.py32 req,fmt = its.objects.get_fastest_manual_capture_settings(props)
33 cap = cam.do_capture(req, fmt)
/cts/apps/CameraITS/tests/scene1/
Dtest_ae_precapture_trigger.py41 _,fmt = its.objects.get_fastest_manual_capture_settings(props)
55 caps = cam.do_capture(manual_reqs, fmt)
62 cap = cam.do_capture(auto_req, fmt)
69 cap = cam.do_capture(auto_req, fmt)
77 caps = cam.do_capture([auto_req] * AE_FRAMES_PER_ITERATION, fmt)
Dtest_auto_vs_manual.py46 fmt = largest_yuv
49 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
60 cap_auto = cam.do_capture(req, fmt)
73 cap_man1 = cam.do_capture(req, fmt)
87 cap_man2 = cam.do_capture(req, fmt)
Dtest_tonemap_sequence.py44 fmt = largest_yuv
47 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
57 cap = cam.do_capture(req, fmt)
66 cap = cam.do_capture(req, fmt)
Dtest_burst_sameness_manual.py50 _, fmt = its.objects.get_fastest_manual_capture_settings(props)
53 w, h = fmt["width"], fmt["height"]
63 caps = cam.do_capture([req]*BURST_LEN, [fmt])
Dtest_black_white.py42 fmt = largest_yuv
45 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
53 cap = its.device.do_capture_with_latency(cam, req, sync_latency, fmt)
72 cap = its.device.do_capture_with_latency(cam, req, sync_latency, fmt)
Dtest_channel_saturation.py40 fmt = largest_yuv
43 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
50 cap = its.device.do_capture_with_latency(cam, req, sync_latency, fmt)
Dtest_param_flash_mode.py48 fmt = largest_yuv
51 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
60 cam, req, sync_latency, fmt)
Dtest_param_exposure_time.py45 fmt = largest_yuv
48 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
55 cam, req, sync_latency, fmt)
Dtest_param_sensitivity.py46 fmt = largest_yuv
49 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
60 cam, req, sync_latency, fmt)
/cts/suite/audio_quality/lib/src/
DFileUtil.cpp110 bool FileUtil::doVprintf(bool fileOnly, int logLevel, const char *fmt, va_list ap) in doVprintf() argument
122 size = vsnprintf(mBuffer + start, mBufferSize - start - 2, fmt, ap); // 2 for \n\0 in doVprintf()
154 bool FileUtil::doPrintf(const char* fmt, ...) in doPrintf() argument
157 va_start(ap, fmt); in doPrintf()
158 bool result = doVprintf(false, -1, fmt, ap); in doPrintf()
DLog.cpp41 void Log::printf(LogLevel level, const char* fmt, ...) in printf() argument
44 va_start(ap, fmt); in printf()
45 FileUtil::doVprintf(level < mLogLevel, level, fmt, ap); in printf()
DReport.cpp66 void Report::printf(const char* fmt, ...) in printf() argument
69 va_start(ap, fmt); in printf()
70 FileUtil::doVprintf(false, -1, fmt, ap); in printf()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8431/
Dpoc.c25 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument
26 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno)) argument
/cts/apps/CameraITS/tests/inprog/
Dtest_burst_sameness_auto.py45 _, fmt = its.objects.get_fastest_manual_capture_settings(props)
46 w,h = fmt["width"], fmt["height"]
65 caps = cam.do_capture([req]*BURST_LEN, [fmt])
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8432/
Dpoc.c29 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument
30 #define ERR(fmt, ...) printf(fmt " %d %s\n", ##__VA_ARGS__, errno, strerror(errno)) argument
/cts/suite/audio_quality/lib/include/
DFileUtil.h49 virtual bool doPrintf(const char* fmt, ...);
52 virtual bool doVprintf(bool fileOnly, int loglevel, const char *fmt, va_list ap);
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8482/
Dpoc.c36 #define LOG(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument
37 #define ERR(fmt, ...) printf(fmt ": %d(%d)\n", ##__VA_ARGS__, errno, errno) argument
/cts/apps/CameraITS/tests/scene3/
Dtest_flip_mirror.py34 def test_flip_mirror(cam, props, fmt, chart): argument
59 cap = cam.do_capture(req, fmt)
126 fmt = {'format': 'yuv', 'width': VGA_WIDTH, 'height': VGA_HEIGHT}
129 test_flip_mirror(cam, props, fmt, chart)
/cts/tests/camera/src/android/hardware/camera2/cts/
DBurstCaptureTest.java67 private void testBurst(int fmt, int burstSize, boolean checkFrameRate) throws Exception { in testBurst() argument
89 burstTestByCamera(id, fmt, burstSize, checkFrameRate); in testBurst()
97 private void burstTestByCamera(String cameraId, int fmt, int burstSize, in burstTestByCamera() argument
109 cameraId, mCameraManager, fmt, /*bound*/null).get(0); in burstTestByCamera()
121 config.getOutputMinFrameDuration(fmt, stillSize); in burstTestByCamera()
137 int burstTemplate = (fmt == ImageFormat.JPEG) ? in burstTestByCamera()
160 fmt, resultListener, in burstTestByCamera()

123