Home
last modified time | relevance | path

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

123

/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/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/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.py44 fmt = largest_yuv
47 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
58 cap_auto = cam.do_capture(req, fmt)
71 cap_man1 = cam.do_capture(req, fmt)
85 cap_man2 = cam.do_capture(req, fmt)
Dtest_burst_sameness_manual.py45 _, fmt = its.objects.get_fastest_manual_capture_settings(props)
48 w,h = fmt["width"], fmt["height"]
58 caps = cam.do_capture([req]*BURST_LEN, [fmt])
Dtest_tonemap_sequence.py42 fmt = largest_yuv
45 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
54 cap = cam.do_capture(req, fmt)
63 cap = cam.do_capture(req, fmt)
Dtest_black_white.py41 fmt = largest_yuv
44 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
54 cap = cam.do_capture(req, fmt)
69 cap = cam.do_capture(req, fmt)
Dtest_param_sensitivity.py45 fmt = largest_yuv
48 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
57 cap = cam.do_capture(req, fmt)
Dtest_param_exposure_time.py43 fmt = largest_yuv
46 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
51 cap = cam.do_capture(req, fmt)
Dtest_param_flash_mode.py47 fmt = largest_yuv
50 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
58 cap = cam.do_capture(req, fmt)
Dtest_param_color_correction.py48 fmt = largest_yuv
51 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
82 cap = cam.do_capture(req, fmt)
Dtest_ev_compensation_advanced.py48 fmt = largest_yuv
51 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
82 caps = cam.do_capture([req]*THREASH_CONVERGE_FOR_EV, fmt)
/cts/apps/CameraITS/tests/scene0/
Dtest_unified_timestamps.py32 req, fmt = its.objects.get_fastest_manual_capture_settings(props)
34 req, fmt = its.objects.get_fastest_auto_capture_settings(props)
35 cap = cam.do_capture(req, fmt)
53 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)
Dtest_read_write.py39 fmt = largest_yuv
42 fmt = its.objects.get_smallest_yuv_format(props, match_ar=match_ar)
70 caps = cam.do_capture(reqs, fmt)
Dtest_param_sensitivity_burst.py41 _, fmt = its.objects.get_fastest_manual_capture_settings(props)
43 caps = cam.do_capture(reqs, fmt)
/cts/hostsidetests/security/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/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/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/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/security/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/hostsidetests/security/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.py39 def test_flip_mirror(cam, props, fmt, chart): argument
64 cap = cam.do_capture(req, fmt)
133 fmt = {'format': 'yuv', 'width': VGA_WIDTH, 'height': VGA_HEIGHT}
136 test_flip_mirror(cam, props, fmt, chart)

123