Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/python/kernel_tests/signal/
Ddct_ops_test.py51 dct = np.zeros_like(signals)
54 dct[..., k] = 2 * np.sum(signals[..., 1:-1] * phi, axis=-1) + (
56 return dct
63 dct = np.zeros_like(signals)
66 dct[..., k] = np.sum(signals * phi, axis=-1)
72 dct[..., 0] *= np.sqrt(1.0 / dct_size)
73 dct[..., 1:] *= np.sqrt(2.0 / dct_size)
75 dct *= 2.0
76 return dct
90 dct = np.zeros_like(signals)
[all …]
/external/libjpeg-turbo/
Dtjexampletest.in38 …runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.…
39 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x2 -outfile $OUTDIR/${basename}_420_fast_cjpeg.…
40 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x1 -outfile $OUTDIR/${basename}_422_fast_cjpeg.…
41 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 1x1 -outfile $OUTDIR/${basename}_444_fast_cjpeg.…
42 …runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjp…
43 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x2 -outfile $OUTDIR/${basename}_420_accurate_cjp…
44 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x1 -outfile $OUTDIR/${basename}_422_accurate_cjp…
45 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 1x1 -outfile $OUTDIR/${basename}_444_accurate_cjp…
48 …runme $EXEDIR/djpeg -dct fast -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.bmp $OUTDI…
49 …runme $EXEDIR/djpeg -dct int -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.bmp $OU…
[all …]
Dtjexampletest.java.in40 …runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.…
41 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x2 -outfile $OUTDIR/${basename}_420_fast_cjpeg.…
42 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x1 -outfile $OUTDIR/${basename}_422_fast_cjpeg.…
43 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 1x1 -outfile $OUTDIR/${basename}_444_fast_cjpeg.…
44 …runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjp…
45 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x2 -outfile $OUTDIR/${basename}_420_accurate_cjp…
46 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x1 -outfile $OUTDIR/${basename}_422_accurate_cjp…
47 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 1x1 -outfile $OUTDIR/${basename}_444_accurate_cjp…
50 …runme $EXEDIR/djpeg -dct fast -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.bmp $OUTDI…
51 …runme $EXEDIR/djpeg -dct int -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.bmp $OU…
[all …]
Dtjbenchtest.in82 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -grayscale -outfile $OUTDIR/${basename}_GRAY_fa…
83 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -sample 2x2 -outfile $OUTDIR/${basename}_420_fa…
84 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -sample 2x1 -outfile $OUTDIR/${basename}_422_fa…
85 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -sample 1x1 -outfile $OUTDIR/${basename}_444_fa…
86 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -grayscale -outfile $OUTDIR/${basename}_GRAY_acc…
87 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -sample 2x2 -outfile $OUTDIR/${basename}_420_acc…
88 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -sample 2x1 -outfile $OUTDIR/${basename}_422_acc…
89 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -sample 1x1 -outfile $OUTDIR/${basename}_444_acc…
92 …runme $EXEDIR/djpeg -dct fast -rgb $NSARG $BMPARG -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.…
93 …runme $EXEDIR/djpeg -dct int -rgb $NSARG $BMPARG -outfile $OUTDIR/${basename}_${samp}_accurate_djp…
[all …]
Dtjbenchtest.java.in76 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -grayscale -outfile $OUTDIR/${basename}_GRAY_fa…
77 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -sample 2x2 -outfile $OUTDIR/${basename}_420_fa…
78 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -sample 2x1 -outfile $OUTDIR/${basename}_422_fa…
79 …runme $EXEDIR/cjpeg -quality 95 -dct fast $PROGARG -sample 1x1 -outfile $OUTDIR/${basename}_444_fa…
80 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -grayscale -outfile $OUTDIR/${basename}_GRAY_acc…
81 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -sample 2x2 -outfile $OUTDIR/${basename}_420_acc…
82 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -sample 2x1 -outfile $OUTDIR/${basename}_422_acc…
83 …runme $EXEDIR/cjpeg -quality 95 -dct int $PROGARG -sample 1x1 -outfile $OUTDIR/${basename}_444_acc…
86 …runme $EXEDIR/djpeg -dct fast -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.bmp $OUTDI…
87 …runme $EXEDIR/djpeg -dct int -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.bmp $OU…
[all …]
DCMakeLists.txt991 add_bittest(cjpeg rgb-islow "-rgb;-dct;int;-icc;${TESTIMAGES}/test1.icc"
996 add_bittest(djpeg rgb-islow "-dct;int;-ppm;-icc;testout_rgb_islow.icc"
1010 add_bittest(djpeg rgb-islow-565 "-dct;int;-rgb565;-dither;none;-bmp"
1015 add_bittest(djpeg rgb-islow-565D "-dct;int;-rgb565;-bmp"
1021 add_bittest(cjpeg 422-ifast-opt "-sample;2x1;-dct;fast;-opt"
1026 add_bittest(djpeg 422-ifast "-dct;fast"
1031 add_bittest(djpeg 422m-ifast "-dct;fast;-nosmooth"
1038 "-dct;int;-nosmooth;-rgb565;-dither;none;-bmp"
1043 add_bittest(djpeg 422m-ifast-565D "-dct;int;-nosmooth;-rgb565;-bmp"
1050 "-sample;2x2;-quality;100;-dct;fast;-prog"
[all …]
/external/python/cpython2/Lib/test/
Dtest_compiler.py82 dct = {}
83 exec c in dct
84 self.assertEqual(dct.get('e'), 1)
85 self.assertEqual(dct.get('f'), 1)
134 dct = {}
135 exec c in dct
136 self.assertEqual(dct.get('result'), 3)
184 dct = {'TrivialContext': TrivialContext}
185 exec c in dct
186 self.assertEqual(dct.get('result'), 1)
[all …]
/external/scapy/scapy/
Dbase_classes.py159 def __new__(cls, name, bases, dct): argument
160 if "fields_desc" in dct: # perform resolution of references to other packets
161 current_fld = dct["fields_desc"]
179 if f.name in dct:
181 f.default = dct[f.name]
182 del(dct[f.name])
185 dct["fields_desc"] = final_fld
187 if "__slots__" not in dct:
188 dct["__slots__"] = []
191 dct["_%s" % attr] = dct.pop(attr)
[all …]
Dasn1packet.py16 def __new__(cls, name, bases, dct): argument
17 if dct["ASN1_root"] is not None:
18 dct["fields_desc"] = dct["ASN1_root"].get_fields_list()
19 return super(ASN1Packet_metaclass, cls).__new__(cls, name, bases, dct)
Ddata.py122 dct = DADict(_name=filename)
135 dct[lt[0]] = int(lt[1])
140 return dct
144 dct = DADict(_name=filename)
158 dct[lt[0]] = int(lt[1], 16)
164 return dct
/external/scapy/scapy/layers/tls/crypto/
Dh_mac.py33 def __new__(cls, hmac_name, bases, dct): argument
36 dct["name"] = "HMAC-%s" % hash_name
37 dct["hash_alg"] = _tls_hash_algs[hash_name]
38 dct["hmac_len"] = _tls_hash_algs[hash_name].hash_len
39 dct["key_len"] = dct["hmac_len"]
41 bases, dct)
43 _tls_hmac_algs[dct["name"]] = the_class
Dcompression.py24 def __new__(cls, name, bases, dct): argument
26 bases, dct)
27 comp_name = dct.get("name")
28 val = dct.get("val")
Dsuites.py85 def __new__(cls, cs_name, bases, dct): argument
86 cs_val = dct.get("val")
92 dct["usable"] = False
94 dct["usable"] = True
95 dct["name"] = cs_name
96 dct["kx_alg"] = kx
97 dct["cipher_alg"] = c
98 dct["hmac_alg"] = hm
99 dct["hash_alg"] = h
115 dct["_key_block_len_v1_0"] = kb_len_v1_0
[all …]
Dhash.py22 def __new__(cls, hash_name, bases, dct): argument
24 dct["name"] = hash_name[5:] # remove leading "Hash_"
26 bases, dct)
Dkx_algs.py29 def __new__(cls, kx_name, bases, dct): argument
31 dct["name"] = kx_name[3:] # remove leading "KX_"
33 bases, dct)
/external/protobuf/python/google/protobuf/internal/
D_parameterized.py354 def __new__(mcs, class_name, bases, dct): argument
355 dct['_id_suffix'] = id_suffix = {}
356 for name, obj in dct.items():
360 dct.pop(name)
361 _UpdateClassDictForParamTestCase(dct, id_suffix, name, iterator)
363 return type.__new__(mcs, class_name, bases, dct)
366 def _UpdateClassDictForParamTestCase(dct, id_suffix, name, iterator): argument
382 assert new_name not in dct, (
384 dct[new_name] = func
/external/python/cpython2/Lib/json/tests/
Dtest_check_circular.py9 dct = {}
10 dct['a'] = dct
11 self.assertRaises(ValueError, self.dumps, dct)
/external/python/cpython3/Modules/clinic/
D_weakref.c.h43 _weakref__remove_dead_weakref_impl(PyObject *module, PyObject *dct,
50 PyObject *dct; in _weakref__remove_dead_weakref() local
54 &PyDict_Type, &dct, &key)) { in _weakref__remove_dead_weakref()
57 return_value = _weakref__remove_dead_weakref_impl(module, dct, key); in _weakref__remove_dead_weakref()
/external/python/apitools/apitools/base/protorpclite/
Dmessages.py185 def __init__(cls, name, bases, dct): argument
187 type.__init__(cls, name, bases, dct)
299 def __init__(cls, name, bases, dct): argument
311 for attribute, value in dct.items():
350 _DefinitionClass.__init__(cls, name, bases, dct)
537 def def_enum(dct, name): argument
544 return type(name, (Enum,), dct)
611 def __new__(cls, name, bases, dct): argument
632 for key, field in dct.items():
668 dct['__enums__'] = sorted(enums)
[all …]
/external/python/cpython3/Lib/test/crashers/
Dunderlying_dict.py11 dct = r[0] variable
13 dct = r[1] variable
18 dct["f"] = lambda self: 2
/external/python/cpython3/Lib/
D_threading_local.py182 dct = local.dicts.pop(idt)
194 dct = impl.get_dict()
196 dct = impl.create_dict()
200 object.__setattr__(self, '__dict__', dct)
/external/tensorflow/tensorflow/core/kernels/
Dmfcc_dct_test.cc27 MfccDct dct; in TEST() local
30 ASSERT_TRUE(dct.Initialize(input.size(), kCoefficientCount)); in TEST()
32 dct.Compute(input, &output); in TEST()
/external/python/cpython3/Lib/json/
Dencoder.py333 def _iterencode_dict(dct, _current_indent_level): argument
334 if not dct:
338 markerid = id(dct)
341 markers[markerid] = dct
353 items = sorted(dct.items(), key=lambda kv: kv[0])
355 items = dct.items()
/external/autotest/contrib/
Dalways_failing_tests.py70 dct = reduce(only_failures, tests, {})
71 print "OF: %d -- len=%d" % (time.time()-now, len(dct))
73 all_fail = filter(lambda x: x.test in dct and not dct[x.test], tests)
/external/python/cpython3/Modules/
D_testmultiphase.c262 PyObject *dct, *ns, *three; in createfunc_nonmodule() local
269 dct = PyDict_New(); in createfunc_nonmodule()
270 if (dct == NULL) in createfunc_nonmodule()
275 Py_DECREF(dct); in createfunc_nonmodule()
278 PyDict_SetItemString(dct, "three", three); in createfunc_nonmodule()
281 ns = _PyNamespace_New(dct); in createfunc_nonmodule()
282 Py_DECREF(dct); in createfunc_nonmodule()

1234