Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/kernel_tests/
Ddct_ops_test.py49 dct = np.zeros_like(signals)
52 dct[..., k] = np.sum(signals * phi, axis=-1)
58 dct[..., 0] *= np.sqrt(1.0 / dct_size)
59 dct[..., 1:] *= np.sqrt(2.0 / dct_size)
61 dct *= 2.0
62 return dct
67 tf_dct = spectral_ops.dct(signals, type=2, norm=norm).eval()
70 scipy_dct = fftpack.dct(signals, type=2, norm=norm)
86 spectral_ops.dct(signals, type=3)
89 spectral_ops.dct(signals, norm="bad")
[all …]
/external/libjpeg-turbo/
Dtjexampletest.in39 …runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.…
40 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x2 -outfile $OUTDIR/${basename}_420_fast_cjpeg.…
41 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x1 -outfile $OUTDIR/${basename}_422_fast_cjpeg.…
42 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 1x1 -outfile $OUTDIR/${basename}_444_fast_cjpeg.…
43 …runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjp…
44 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x2 -outfile $OUTDIR/${basename}_420_accurate_cjp…
45 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x1 -outfile $OUTDIR/${basename}_422_accurate_cjp…
46 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 1x1 -outfile $OUTDIR/${basename}_444_accurate_cjp…
49 …runme $EXEDIR/djpeg -dct fast -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.bmp $OUTDI…
50 …runme $EXEDIR/djpeg -dct int -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.bmp $OU…
[all …]
DMakefile.am388 ./cjpeg -rgb -dct int -outfile testout_rgb_islow.jpg $(srcdir)/testimages/testorig.ppm
391 ./djpeg -dct int -ppm -outfile testout_rgb_islow.ppm testout_rgb_islow.jpg
398 ./djpeg -dct int -rgb565 -dither none -bmp -outfile testout_rgb_islow_565.bmp testout_rgb_islow.jpg
402 ./djpeg -dct int -rgb565 -bmp -outfile testout_rgb_islow_565D.bmp testout_rgb_islow.jpg
408 …./cjpeg -sample 2x1 -dct fast -opt -outfile testout_422_ifast_opt.jpg $(srcdir)/testimages/testori…
411 ./djpeg -dct fast -outfile testout_422_ifast.ppm testout_422_ifast_opt.jpg
415 ./djpeg -dct fast -nosmooth -outfile testout_422m_ifast.ppm testout_422_ifast_opt.jpg
422 …./djpeg -dct int -nosmooth -rgb565 -dither none -bmp -outfile testout_422m_ifast_565.bmp testout_4…
426 …./djpeg -dct int -nosmooth -rgb565 -bmp -outfile testout_422m_ifast_565D.bmp testout_422_ifast_opt…
432 …./cjpeg -sample 2x2 -quality 100 -dct fast -prog -outfile testout_420_q100_ifast_prog.jpg $(srcdir…
[all …]
Dtjbenchtest.in78 …runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.…
79 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x2 -outfile $OUTDIR/${basename}_420_fast_cjpeg.…
80 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x1 -outfile $OUTDIR/${basename}_422_fast_cjpeg.…
81 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 1x1 -outfile $OUTDIR/${basename}_444_fast_cjpeg.…
82 …runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjp…
83 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x2 -outfile $OUTDIR/${basename}_420_accurate_cjp…
84 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x1 -outfile $OUTDIR/${basename}_422_accurate_cjp…
85 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 1x1 -outfile $OUTDIR/${basename}_444_accurate_cjp…
88 …runme $EXEDIR/djpeg -dct fast -rgb $NSARG $BMPARG -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.…
89 …runme $EXEDIR/djpeg -dct int -rgb $NSARG $BMPARG -outfile $OUTDIR/${basename}_${samp}_accurate_djp…
[all …]
Dtjbenchtest.java.in68 …runme $EXEDIR/cjpeg -quality 95 -dct fast -grayscale -outfile $OUTDIR/${basename}_GRAY_fast_cjpeg.…
69 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x2 -outfile $OUTDIR/${basename}_420_fast_cjpeg.…
70 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 2x1 -outfile $OUTDIR/${basename}_422_fast_cjpeg.…
71 …runme $EXEDIR/cjpeg -quality 95 -dct fast -sample 1x1 -outfile $OUTDIR/${basename}_444_fast_cjpeg.…
72 …runme $EXEDIR/cjpeg -quality 95 -dct int -grayscale -outfile $OUTDIR/${basename}_GRAY_accurate_cjp…
73 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x2 -outfile $OUTDIR/${basename}_420_accurate_cjp…
74 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 2x1 -outfile $OUTDIR/${basename}_422_accurate_cjp…
75 …runme $EXEDIR/cjpeg -quality 95 -dct int -sample 1x1 -outfile $OUTDIR/${basename}_444_accurate_cjp…
78 …runme $EXEDIR/djpeg -dct fast -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.bmp $OUTDI…
79 …runme $EXEDIR/djpeg -dct int -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.bmp $OU…
[all …]
DCMakeLists.txt532 ${dir}cjpeg${suffix} -rgb -dct int
539 ${dir}djpeg${suffix} -dct int -ppm
547 ${dir}djpeg${suffix} -dct int -rgb565 -dither none -bmp
554 ${dir}djpeg${suffix} -dct int -rgb565 -bmp
562 ${dir}cjpeg${suffix} -sample 2x1 -dct fast -opt
569 ${dir}djpeg${suffix} -dct fast
576 ${dir}djpeg${suffix} -dct fast -nosmooth
584 ${dir}djpeg${suffix} -dct int -nosmooth -rgb565 -dither none -bmp
591 ${dir}djpeg${suffix} -dct int -nosmooth -rgb565 -bmp
599 ${dir}cjpeg${suffix} -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/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/cpython2/Lib/json/tests/
Dtest_check_circular.py9 dct = {}
10 dct['a'] = dct
11 self.assertRaises(ValueError, self.dumps, dct)
/external/trappy/trappy/
Ddynamic.py52 def __new__(mcs, name, bases, dct): argument
54 return type.__new__(mcs, name, bases, dct)
56 def __init__(cls, name, bases, dct): argument
58 super(DynamicTypeFactory, cls).__init__(name, bases, dct)
/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.py186 dct = local.dicts.pop(idt)
198 dct = impl.get_dict()
200 dct = impl.create_dict()
204 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/Modules/
D_testmultiphase.c257 PyObject *dct, *ns, *three; in createfunc_nonmodule() local
264 dct = PyDict_New(); in createfunc_nonmodule()
265 if (dct == NULL) in createfunc_nonmodule()
270 Py_DECREF(dct); in createfunc_nonmodule()
273 PyDict_SetItemString(dct, "three", three); in createfunc_nonmodule()
276 ns = _PyNamespace_New(dct); in createfunc_nonmodule()
277 Py_DECREF(dct); in createfunc_nonmodule()
/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)

123