Home
last modified time | relevance | path

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

/external/webrtc/modules/video_capture/linux/
Dvideo_capture_v4l2.cc119 unsigned int fmts[nFormats]; in StartCapture() local
121 fmts[0] = V4L2_PIX_FMT_MJPEG; in StartCapture()
122 fmts[1] = V4L2_PIX_FMT_YUV420; in StartCapture()
123 fmts[2] = V4L2_PIX_FMT_YUYV; in StartCapture()
124 fmts[3] = V4L2_PIX_FMT_UYVY; in StartCapture()
125 fmts[4] = V4L2_PIX_FMT_NV12; in StartCapture()
126 fmts[5] = V4L2_PIX_FMT_JPEG; in StartCapture()
128 fmts[0] = V4L2_PIX_FMT_YUV420; in StartCapture()
129 fmts[1] = V4L2_PIX_FMT_YUYV; in StartCapture()
130 fmts[2] = V4L2_PIX_FMT_UYVY; in StartCapture()
[all …]
Ddevice_info_v4l2.cc242 for (int fmts = 0; fmts < totalFmts; fmts++) { in FillCapabilities() local
244 video_fmt.fmt.pix.pixelformat = videoFormats[fmts]; in FillCapabilities()
254 if (videoFormats[fmts] == V4L2_PIX_FMT_YUYV) { in FillCapabilities()
256 } else if (videoFormats[fmts] == V4L2_PIX_FMT_YUV420) { in FillCapabilities()
258 } else if (videoFormats[fmts] == V4L2_PIX_FMT_MJPEG) { in FillCapabilities()
260 } else if (videoFormats[fmts] == V4L2_PIX_FMT_UYVY) { in FillCapabilities()
262 } else if (videoFormats[fmts] == V4L2_PIX_FMT_NV12) { in FillCapabilities()
/external/bazelbuild-rules_android/src/tools/ak/res/respipe/
Derrors_test.go28 fmts string
34 fmts: "Hello world",
39 fmts: "Hello world: %d",
45 fmts: "Hello world: %d",
51 got := Errorf(tc.ctx, tc.fmts, tc.args...)
53 t.Errorf("Errorf(%v, %v, %v): %v wanted %v", tc.ctx, tc.fmts, tc.args, got, tc.want)
Derrors.go29 func Errorf(ctx context.Context, fmts string, a ...interface{}) error {
31 return fmt.Errorf(strings.Join([]string{s, fmts}, ""), a...)
33 return fmt.Errorf(fmts, a...)
/external/bazelbuild-rules_android/src/tools/ak/bucketize/
Dpipe_test.go27 fmts string
33 fmts: "Hello world",
38 fmts: "Hello world: %d",
44 fmts: "Hello world: %d",
50 got := errorf(tc.ctx, tc.fmts, tc.args...)
52 t.Errorf("Errorf(%v, %v, %v): %v wanted %v", tc.ctx, tc.fmts, tc.args, got, tc.want)
Dpipe.go33 func errorf(ctx context.Context, fmts string, a ...interface{}) error {
35 return fmt.Errorf(strings.Join([]string{s, fmts}, ""), a...)
37 return fmt.Errorf(fmts, a...)
/external/libcups/locale/
Dcheckpo.c28 static void free_formats(cups_array_t *fmts);
351 cups_array_t *fmts; /* Array of format strings */ in collect_formats() local
356 fmts = cupsArrayNew(NULL, NULL); in collect_formats()
382 cupsArrayAdd(fmts, strdup(buf)); in collect_formats()
385 return (fmts); in collect_formats()
394 free_formats(cups_array_t *fmts) /* I - Array of format strings */ in free_formats() argument
399 for (s = (char *)cupsArrayFirst(fmts); s; s = (char *)cupsArrayNext(fmts)) in free_formats()
402 cupsArrayDelete(fmts); in free_formats()
/external/bc/scripts/
Drandmath.py203 s = fmts[op].format(scale, num(op, True, True, True), num(op, True, True, True))
205 s = fmts[op].format(scale, num(op, True, True, True), num(op, True, True, False))
207 s = fmts[op].format(scale, num(op, True, True, True, 7 / 8), num(op, True, False, True, 6 / 8))
209 s = fmts[op].format(scale, num(op, True, False, True), num(op, True, False, True),
215 s = fmts[op].format(scale, s)
226 s = fmts[op].format(scale, first)
228 s = fmts[op].format(scale, first, 6 / 8)
319 fmts = [ "scale = {}; {} + {}", "scale = {}; {} - {}", "scale = {}; {} * {}", variable
/external/deqp/external/openglcts/modules/common/
DglcPixelStorageModesTests.cpp2121 for (int fmts = 0; fmts < DE_LENGTH_OF_ARRAY(internalFmts); fmts++) in init() local
2124 internalFmts[fmts].name, in init()
2151 internalFmts[fmts].internalFmt, in init()
2168 for (int fmts = 0; fmts < DE_LENGTH_OF_ARRAY(internalFmts); fmts++) in init() local
2171 internalFmts[fmts].name, in init()
2207 internalFmts[fmts].internalFmt, in init()
2231 for (int fmts = 0; fmts < DE_LENGTH_OF_ARRAY(internalFmts_compressed); fmts++) in init() local
2235 internalFmts_compressed[fmts].name, in init()
2238 int bw = internalFmts_compressed[fmts].bw; in init()
2239 int bh = internalFmts_compressed[fmts].bh; in init()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DBigNumberFormatTest.java302 NumberFormat fmt = null, fmts[] = null; in expect() local
306 fmts = (NumberFormat[]) fmto; in expect()
321 if (fmts != null) { in expect()
322 n = Math.max(n, fmts.length); in expect()
331 expect(fmts == null ? fmt : fmts[i], in expect()
DTestMessageFormat.java941 Format[] fmts = new Format[] { in TestSetGetFormats() local
946 msg.setFormatsByArgumentIndex(fmts); in TestSetGetFormats()
1088 Format fmts[] = {new DecimalFormat()}; in testNumericOnlyMethods() local
1089 msg.setFormatsByArgumentIndex(fmts); in testNumericOnlyMethods()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DBigNumberFormatTest.java299 NumberFormat fmt = null, fmts[] = null; in expect() local
303 fmts = (NumberFormat[]) fmto; in expect()
318 if (fmts != null) { in expect()
319 n = Math.max(n, fmts.length); in expect()
328 expect(fmts == null ? fmt : fmts[i], in expect()
DTestMessageFormat.java938 Format[] fmts = new Format[] { in TestSetGetFormats() local
943 msg.setFormatsByArgumentIndex(fmts); in TestSetGetFormats()
1085 Format fmts[] = {new DecimalFormat()}; in testNumericOnlyMethods() local
1086 msg.setFormatsByArgumentIndex(fmts); in testNumericOnlyMethods()
/external/libaom/test/
Dcoding_path_sync.cc60 const aom_img_fmt_t fmts[] = { in CompressedSource() local
66 format_ = fmts[rnd_.PseudoUniform(NELEMENTS(fmts))]; in CompressedSource()
/external/rust/crates/libz-sys/src/zlib-ng/arch/s390/
Ddfltcc_inflate.c47 …return is_bit_set(dfltcc_state->af.fns, DFLTCC_XPND) && is_bit_set(dfltcc_state->af.fmts, DFLTCC_F… in PREFIX()
Ddfltcc_detail.h105 char fmts[2]; member
Ddfltcc_deflate.c71 !is_bit_set(dfltcc_state->common.af.fmts, DFLTCC_FMT0)) in dfltcc_can_deflate_with_params()
/external/icu/icu4c/source/test/intltest/
Dtchcfmt.cpp473 UnicodeString fmts[] = { in TestClosures() local
476 ChoiceFormat fmt1(limits, closures, fmts, 6); in TestClosures()
Ddtfmttst.cpp3787 DateFormat* fmts = DateFormat::createDateTimeInstance(DateFormat::SHORT, DateFormat::FULL, loc); in Test6726() local
3788 if (fmtf == NULL || fmtl == NULL || fmtm == NULL || fmts == NULL) { in Test6726()
3794 delete fmts; in Test6726()
3801 strs = fmts->format(dt, strs); in Test6726()
3816 delete fmts; in Test6726()
/external/cronet/third_party/icu/source/test/intltest/
Dtchcfmt.cpp473 UnicodeString fmts[] = { in TestClosures() local
476 ChoiceFormat fmt1(limits, closures, fmts, 6); in TestClosures()
Ddtfmttst.cpp3787 DateFormat* fmts = DateFormat::createDateTimeInstance(DateFormat::SHORT, DateFormat::FULL, loc); in Test6726() local
3788 if (fmtf == NULL || fmtl == NULL || fmtm == NULL || fmts == NULL) { in Test6726()
3794 delete fmts; in Test6726()
3801 strs = fmts->format(dt, strs); in Test6726()
3816 delete fmts; in Test6726()
/external/libkmsxx/utils/
Dkmsprint.cpp114 …string fmts = join<PixelFormat>(p.get_formats(), " ", [](PixelFormat fmt) { return PixelFormatToFo… in format_plane() local
116 str += fmt::format(" ({})", fmts); in format_plane()
/external/python/dateutil/dateutil/test/
Dtest_isoparser.py35 fmts = ['{:+03d}:{:02d}', '{:+03d}{:02d}']
36 out += [_mkoffset(hm, fmt) for hm in hm_out for fmt in fmts]
/external/webrtc/pc/
Dwebrtc_sdp.cc2562 void MaybeCreateStaticPayloadAudioCodecs(const std::vector<int>& fmts, in MaybeCreateStaticPayloadAudioCodecs() argument
2568 for (int payload_type : fmts) { in MaybeCreateStaticPayloadAudioCodecs()
/external/python/cpython3/Lib/test/
Dtest_logging.py3973 fmts = ['%(custom)s %(message)s', '{custom} {message}', '$custom $message']
3975 for fmt, style in zip(fmts, styles):