Searched defs:encoder (Results 1 - 25 of 177) sorted by relevance

12345678

/external/google-tv-pairing-protocol/cpp/tests/polo/encoding/
H A Dhexadecimalencodertest.cc22 HexadecimalEncoder encoder; local
30 std::string result = encoder.EncodeToString(secret);
36 HexadecimalEncoder encoder; local
40 std::vector<unsigned char> result = encoder.DecodeToBytes(secret);
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1-modules/tools/
H A Dcrldump.py8 from pyasn1.codec.der import encoder, decoder namespace
32 assert encoder.encode(key, defMode=False) == substrate or \
33 encoder.encode(key, defMode=True) == substrate, \
H A Dcrmfdump.py4 from pyasn1.codec.der import decoder, encoder namespace
23 assert encoder.encode(cr, defMode=False) == substrate or \
24 encoder.encode(cr, defMode=True) == substrate, \
H A Docspreqdump.py6 from pyasn1.codec.der import decoder, encoder namespace
25 assert encoder.encode(cr, defMode=False) == substrate or \
26 encoder.encode(cr, defMode=True) == substrate, \
H A Docsprspdump.py6 from pyasn1.codec.der import decoder, encoder namespace
25 assert encoder.encode(cr, defMode=False) == substrate or \
26 encoder.encode(cr, defMode=True) == substrate, \
H A Dpkcs10dump.py6 from pyasn1.codec.der import decoder, encoder namespace
33 assert encoder.encode(cert, defMode=False) == substrate or \
34 encoder.encode(cert, defMode=True) == substrate, \
H A Dpkcs8dump.py6 from pyasn1.codec.der import decoder, encoder namespace
35 assert encoder.encode(key, defMode=False) == substrate or \
36 encoder.encode(key, defMode=True) == substrate, \
H A Dx509dump.py6 from pyasn1.codec.der import decoder, encoder namespace
34 assert encoder.encode(cert, defMode=False) == substrate or \
35 encoder.encode(cert, defMode=True) == substrate, \
H A Dcmpdump.py4 from pyasn1.codec.der import decoder, encoder namespace
26 assert encoder.encode(pkiMsg, defMode=False) == substrate or \
27 encoder.encode(pkiMsg, defMode=True) == substrate, \
H A Dpkcs1dump.py8 from pyasn1.codec.der import encoder, decoder namespace
36 assert encoder.encode(key, defMode=False) == substrate or \
37 encoder.encode(key, defMode=True) == substrate, \
H A Dpkcs7dump.py7 from pyasn1.codec.der import encoder, decoder namespace
27 assert encoder.encode(contentInfo, defMode=False) == substrate or \
28 encoder.encode(contentInfo, defMode=True) == substrate, \
H A Dsnmpget.py5 from pyasn1.codec.ber import encoder, decoder namespace
31 sock.sendto(encoder.encode(msg), (sys.argv[2], 161))
/external/skia/src/animator/
H A DSkSnapshot.cpp43 SkImageEncoder* encoder = SkImageEncoder::Create((SkImageEncoder::Type) type); local
44 if (!encoder) {
47 SkAutoTDelete<SkImageEncoder> ad(encoder);
67 encoder->encodeFile(name.c_str(), pixels, SkScalarFloorToInt(quality));
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/der/
H A Dencoder.py1 # DER encoder
3 from pyasn1.codec.cer import encoder namespace
5 class SetOfEncoder(encoder.SetOfEncoder):
13 tagMap = encoder.tagMap.copy()
16 univ.BitString.tagSet: encoder.encoder.BitStringEncoder(),
17 univ.OctetString.tagSet: encoder.encoder.OctetStringEncoder(),
22 typeMap = encoder.typeMap
24 class Encoder(encoder
[all...]
/external/libvpx/libvpx/test/
H A Daq_segment_test.cc33 ::libvpx_test::Encoder *encoder) {
35 encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_);
36 encoder->Control(VP9E_SET_AQ_MODE, aq_mode_);
37 encoder->Control(VP8E_SET_MAX_INTRA_BITRATE_PCT, 100);
32 PreEncodeFrameHook(::libvpx_test::VideoSource *video, ::libvpx_test::Encoder *encoder) argument
H A Dborders_test.cc32 ::libvpx_test::Encoder *encoder) {
34 encoder->Control(VP8E_SET_CPUUSED, 1);
35 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1);
36 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7);
37 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5);
38 encoder->Control(VP8E_SET_ARNR_TYPE, 3);
51 // the encoder to producing lots of big partitions which will likely
66 // when passing in a very high min q. This pushes the encoder to producing
31 PreEncodeFrameHook(::libvpx_test::VideoSource *video, ::libvpx_test::Encoder *encoder) argument
H A Dactive_map_test.cc37 ::libvpx_test::Encoder *encoder) {
39 encoder->Control(VP8E_SET_CPUUSED, cpu_used_);
58 encoder->Control(VP8E_SET_ACTIVEMAP, &map);
64 encoder->Control(VP8E_SET_ACTIVEMAP, &map);
36 PreEncodeFrameHook(::libvpx_test::VideoSource *video, ::libvpx_test::Encoder *encoder) argument
H A Dcpu_speed_test.cc49 ::libvpx_test::Encoder *encoder) {
51 encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_);
53 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1);
54 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7);
55 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5);
56 encoder->Control(VP8E_SET_ARNR_TYPE, 3);
74 // the encoder to producing lots of big partitions which will likely
109 // the encoder to producing lots of big partitions which will likely
125 // when passing in a very high min q. This pushes the encoder to producing
48 PreEncodeFrameHook(::libvpx_test::VideoSource *video, ::libvpx_test::Encoder *encoder) argument
H A Dframe_size_tests.cc37 ::libvpx_test::Encoder *encoder) {
39 encoder->Control(VP8E_SET_CPUUSED, 7);
40 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1);
41 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7);
42 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5);
43 encoder->Control(VP8E_SET_ARNR_TYPE, 3);
71 // 25 megabits). The encoder allocates a good number of these frames
36 PreEncodeFrameHook(::libvpx_test::VideoSource *video, ::libvpx_test::Encoder *encoder) argument
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
H A Dopus_inst.h19 OpusEncoder* encoder; member in struct:WebRtcOpusEncInst
/external/apache-http/src/org/apache/commons/codec/language/
H A DSoundexUtils.java72 * @param encoder
73 * The encoder to use to encode the Strings.
88 static int difference(StringEncoder encoder, String s1, String s2) throws EncoderException { argument
89 return differenceEncoded(encoder.encode(s1), encoder.encode(s2));
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
H A DBase64.java14 private static final Encoder encoder = new Base64Encoder(); field in class:Base64
57 encoder.encode(data, off, length, bOut);
77 return encoder.encode(data, 0, data.length, out);
92 return encoder.encode(data, off, length, out);
108 encoder.decode(data, 0, data.length, bOut);
131 encoder.decode(data, bOut);
152 return encoder.decode(data, out);
H A DHex.java14 private static final Encoder encoder = new HexEncoder(); field in class:Hex
56 encoder.encode(data, off, length, bOut);
76 return encoder.encode(data, 0, data.length, out);
91 return encoder.encode(data, off, length, out);
106 encoder.decode(data, 0, data.length, bOut);
128 encoder.decode(data, bOut);
149 return encoder.decode(data, out);
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/pyasn1/codec/cer/
H A Dencoder.py1 # CER encoder
3 from pyasn1.codec.ber import encoder namespace
6 class BooleanEncoder(encoder.IntegerEncoder):
14 class BitStringEncoder(encoder.BitStringEncoder):
16 return encoder.BitStringEncoder.encodeValue(
20 class OctetStringEncoder(encoder.OctetStringEncoder):
22 return encoder.OctetStringEncoder.encodeValue(
31 class SetOfEncoder(encoder.SequenceOfEncoder):
67 tagMap = encoder.tagMap.copy()
75 typeMap = encoder
[all...]
/external/chromium-trace/catapult/third_party/gsutil/third_party/pyasn1/test/codec/der/
H A Dtest_encoder.py2 from pyasn1.codec.der import encoder namespace
17 assert encoder.encode(
23 assert encoder.encode(
42 assert encoder.encode(self.s) == ints2octs((49, 7, 4, 3, 97, 110, 110, 5, 0))

Completed in 879 milliseconds

12345678