/external/tensorflow/tensorflow/python/kernel_tests/ |
D | dct_ops_test.py | 49 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/ |
D | tjexampletest.in | 39 …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 …]
|
D | Makefile.am | 388 ./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 …]
|
D | tjbenchtest.in | 78 …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 …]
|
D | tjbenchtest.java.in | 68 …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 …]
|
D | CMakeLists.txt | 532 ${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/ |
D | test_compiler.py | 82 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/ |
D | base_classes.py | 159 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 …]
|
D | asn1packet.py | 16 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)
|
D | data.py | 122 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/ |
D | h_mac.py | 33 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
|
D | compression.py | 24 def __new__(cls, name, bases, dct): argument 26 bases, dct) 27 comp_name = dct.get("name") 28 val = dct.get("val")
|
D | suites.py | 85 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 …]
|
D | hash.py | 22 def __new__(cls, hash_name, bases, dct): argument 24 dct["name"] = hash_name[5:] # remove leading "Hash_" 26 bases, dct)
|
D | kx_algs.py | 29 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.py | 354 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.h | 43 _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/ |
D | test_check_circular.py | 9 dct = {} 10 dct['a'] = dct 11 self.assertRaises(ValueError, self.dumps, dct)
|
/external/trappy/trappy/ |
D | dynamic.py | 52 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/ |
D | underlying_dict.py | 11 dct = r[0] variable 13 dct = r[1] variable 18 dct["f"] = lambda self: 2
|
/external/python/cpython3/Lib/ |
D | _threading_local.py | 186 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/ |
D | mfcc_dct_test.cc | 27 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.c | 257 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/ |
D | encoder.py | 333 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/ |
D | always_failing_tests.py | 70 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)
|