| /frameworks/av/cmds/stagefright/ |
| audioloop.cpp | 105 sp<MediaSource> encoder = OMXCodec::Create( local 113 writer->addSource(encoder); 122 encoder);
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
| ASCIICharsetEncoderTest.java | 34 private final CharsetEncoder encoder = cs.newEncoder(); field in class:ASCIICharsetEncoderTest 51 assertTrue(encoder.canEncode("\u0077")); 52 assertFalse(encoder.canEncode("\uc2a3")); 53 assertFalse(encoder.canEncode("\ud800\udc00")); 55 encoder.canEncode(null); 58 assertTrue(encoder.canEncode("")); 62 assertFalse(encoder.canEncode('\ud800')); 63 assertFalse(encoder.canEncode("\udc00")); 67 assertTrue(encoder.canEncode('\u0077')); 68 assertFalse(encoder.canEncode('\uc2a3')) [all...] |
| CharsetEncoderTest.java | 47 // default encoder 48 CharsetEncoder encoder; field in class:CharsetEncoderTest 66 encoder = cs.newEncoder(); 68 byte[] replacement = encoder.replacement(); 85 assertTrue(encoder.averageBytesPerChar() == AVER_BYTES); 86 assertTrue(encoder.maxBytesPerChar() == MAX_BYTES); 90 assertEquals(CodingErrorAction.REPORT, encoder.malformedInputAction()); 91 assertEquals(CodingErrorAction.REPORT, encoder.unmappableCharacterAction()); 92 assertSame(encoder, encoder.onMalformedInput(CodingErrorAction.IGNORE)) 587 CharsetEncoder encoder = cs.newEncoder(); local [all...] |
| /cts/tests/tests/media/src/android/media/cts/ |
| EncodeVirtualDisplayTest.java | 47 * Tests connecting a virtual display to the input of a MediaCodec encoder. 56 * the output, because the frames are going directly to the encoder, and the encoder may 68 // Encoder parameters table, sort by encoder level from high to low. 70 // encoder level, width, height, bitrate, framerate 86 // Encoder parameters. We use the same width/height as the virtual display. 184 * Returns true if the encoder level, specified in the ENCODER_PARAM_TABLE, can be supported. 217 * Initialize the encoder parameters according to the device capability. 221 // Loop over each tabel entry until a proper encoder setting is found 243 MediaCodec encoder = null; local [all...] |
| MediaCodecTest.java | 52 // parameters for the video encoder 59 // parameters for the audio encoder 100 // wrap MediaCodec encoder and decoder creation 215 } catch (IllegalStateException e) { // expected for decoder and audio encoder 276 MediaCodec encoder = null; local 286 encoder = MediaCodec.createByCodecName(codecInfo.getName()); 291 surface = encoder.createInputSurface(); 296 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); 299 surface = encoder.createInputSurface(); 305 encoder.start() 330 MediaCodec encoder = null; local 391 MediaCodec encoder = null; local 436 MediaCodec encoder = null; local 474 MediaCodec encoder = null; local 836 MediaCodec encoder = null; local 879 MediaCodec encoder = null; local [all...] |
| /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
| BitStringTest.java | 59 // decoder/encoder for testing 237 ASN1NamedBitList encoder = new ASN1NamedBitList(); local 240 DerOutputStream out = new DerOutputStream(encoder,
|
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
| DSABase.java | 19 protected DSAEncoder encoder; field in class:DSABase 24 DSAEncoder encoder) 28 this.encoder = encoder; 58 return encoder.encode(sig[0], sig[1]); 78 sig = encoder.decode(sigBytes);
|
| /external/chromium_org/net/spdy/ |
| hpack_huffman_aggregator.cc | 28 // Each encoder uses the default dynamic table size of 4096 total bytes. 54 HpackEncoder* encoder = ObtainEncoder( local 64 encoder->EncodeHeaderSet(headers, &tmp_out); 71 encoder->EncodeHeaderSet(headers, &tmp_out); 142 // Not found. Create a new encoder, evicting one if needed.
|
| /external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
| set_maps.c | 15 // This is an example demonstrating how to control the VP8 encoder's 164 const VpxInterface *encoder = NULL; local 174 encoder = get_vpx_encoder_by_name(argv[1]); 175 if (!encoder) 178 info.codec_fourcc = encoder->fourcc; 196 printf("Using %s\n", vpx_codec_iface_name(encoder->interface())); 198 res = vpx_codec_enc_config_default(encoder->interface(), &cfg, 0); 217 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 218 die_codec(&codec, "Failed to initialize encoder"); 223 if (frame_count == 22 && encoder->fourcc == VP8_FOURCC) [all...] |
| simple_encoder.c | 11 // Simple Encoder 14 // This is an example of a simple encoder loop. It takes an input file in 15 // YV12 format, passes it through the encoder, and writes the compressed 37 // Encoders have the notion of "usage profiles." For example, an encoder 39 // conferencing application and a best quality offline encoder. These 55 // The encoder is initialized by the following code. 61 // EOF) then the frame is passed to the encoder. Otherwise, a NULL 62 // is passed, indicating the End-Of-Stream condition to the encoder. The 75 // encoder. 158 const VpxInterface *encoder = NULL local [all...] |
| vp8cx_set_ref.c | 15 // This is an example demonstrating how to overwrite the VP8 encoder's 104 const VpxInterface *encoder = NULL; local 115 encoder = get_vpx_encoder_by_name("vp8"); 116 if (!encoder) 123 info.codec_fourcc = encoder->fourcc; 141 printf("Using %s\n", vpx_codec_iface_name(encoder->interface())); 143 res = vpx_codec_enc_config_default(encoder->interface(), &cfg, 0); 160 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 161 die_codec(&codec, "Failed to initialize encoder");
|
| /external/chromium_org/third_party/libvpx/source/libvpx/test/ |
| encode_test_driver.cc | 20 void Encoder::EncodeFrame(VideoSource *video, const unsigned long frame_flags) { 37 void Encoder::EncodeFrameInternal(const VideoSource &video, 69 void Encoder::Flush() { 155 Encoder* const encoder = codec_->CreateEncoder(cfg_, deadline_, init_flags_, local 157 ASSERT_TRUE(encoder != NULL); 164 PreEncodeFrameHook(video, encoder); 165 encoder->EncodeFrame(video, frame_flags_); 167 CxDataIterator iter = encoder->GetCxData(); 198 const vpx_image_t *img_enc = encoder->GetPreviewFrame() [all...] |
| /external/chromium_org/third_party/libxml/src/include/libxml/ |
| xmlIO.h | 130 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ member in struct:_xmlParserInputBuffer 133 xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */ 146 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ member in struct:_xmlOutputBuffer 149 xmlBufferPtr conv; /* if encoder != NULL buffer for output */ 223 xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder); 227 xmlCharEncodingHandlerPtr encoder, 232 xmlCharEncodingHandlerPtr encoder); 236 xmlCharEncodingHandlerPtr encoder); 240 xmlCharEncodingHandlerPtr encoder); 246 xmlCharEncodingHandlerPtr encoder); [all...] |
| /external/chromium_org/third_party/opus/src/doc/ |
| trivial_example.c | 58 /*Holds the state of the encoder and decoder */ 59 OpusEncoder *encoder; local 70 /*Create a new encoder state */ 71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err); 74 fprintf(stderr, "failed to create an encoder: %s\n", opus_strerror(err)); 81 err = opus_encoder_ctl(encoder, OPUS_SET_BITRATE(BITRATE)); 126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE); 135 the encoder is using a constant frame size. However, that may not 154 /*Destroy the encoder state*/ 155 opus_encoder_destroy(encoder); [all...] |
| /external/chromium_org/third_party/protobuf/python/google/protobuf/internal/ |
| type_checkers.py | 49 from google.protobuf.internal import encoder namespace 195 # Maps from field types to encoder constructors. 197 _FieldDescriptor.TYPE_DOUBLE: encoder.DoubleEncoder, 198 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder, 199 _FieldDescriptor.TYPE_INT64: encoder.Int64Encoder, 200 _FieldDescriptor.TYPE_UINT64: encoder.UInt64Encoder, 201 _FieldDescriptor.TYPE_INT32: encoder.Int32Encoder, 202 _FieldDescriptor.TYPE_FIXED64: encoder.Fixed64Encoder, 203 _FieldDescriptor.TYPE_FIXED32: encoder.Fixed32Encoder, 204 _FieldDescriptor.TYPE_BOOL: encoder.BoolEncoder [all...] |
| unknown_fields_test.py | 41 from google.protobuf.internal import encoder namespace 60 field_tag = encoder.TagBytes(field_descriptor.number, wire_type)
|
| /external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
| EngineKey.java | 3 import com.bumptech.glide.load.Encoder; 23 private final ResourceEncoder encoder; field in class:EngineKey 25 private Encoder sourceEncoder; 31 Transformation transformation, ResourceEncoder encoder, ResourceTranscoder transcoder, 32 Encoder sourceEncoder) { 39 this.encoder = encoder; 74 } else if (!encoder.getId().equals(engineKey.encoder.getId())) { 94 hashCode = 31 * hashCode + encoder.getId().hashCode() [all...] |
| /external/glide/library/src/main/java/com/bumptech/glide/provider/ |
| ChildLoadProvider.java | 3 import com.bumptech.glide.load.Encoder; 15 private ResourceEncoder<Z> encoder; field in class:ChildLoadProvider 17 private Encoder<T> sourceEncoder; 36 public void setEncoder(ResourceEncoder<Z> encoder) { 37 this.encoder = encoder; 44 public void setSourceEncoder(Encoder<T> sourceEncoder) { 67 public Encoder<T> getSourceEncoder() { 77 if (encoder != null) { 78 return encoder; [all...] |
| /external/libopus/doc/ |
| trivial_example.c | 58 /*Holds the state of the encoder and decoder */ 59 OpusEncoder *encoder; local 70 /*Create a new encoder state */ 71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err); 74 fprintf(stderr, "failed to create an encoder: %s\n", opus_strerror(err)); 81 err = opus_encoder_ctl(encoder, OPUS_SET_BITRATE(BITRATE)); 126 nbBytes = opus_encode(encoder, in, FRAME_SIZE, cbits, MAX_PACKET_SIZE); 135 the encoder is using a constant frame size. However, that may not 154 /*Destroy the encoder state*/ 155 opus_encoder_destroy(encoder); [all...] |
| /external/libvpx/libvpx/examples/ |
| set_maps.c | 15 // This is an example demonstrating how to control the VP8 encoder's 163 const VpxInterface *encoder = NULL; local 172 encoder = get_vpx_encoder_by_name(argv[1]); 173 if (!encoder) 176 info.codec_fourcc = encoder->fourcc; 194 printf("Using %s\n", vpx_codec_iface_name(encoder->interface())); 196 res = vpx_codec_enc_config_default(encoder->interface(), &cfg, 0); 215 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 216 die_codec(&codec, "Failed to initialize encoder"); 221 if (frame_count == 22 && encoder->fourcc == VP8_FOURCC) [all...] |
| simple_encoder.c | 11 // Simple Encoder 14 // This is an example of a simple encoder loop. It takes an input file in 15 // YV12 format, passes it through the encoder, and writes the compressed 37 // Encoders have the notion of "usage profiles." For example, an encoder 39 // conferencing application and a best quality offline encoder. These 55 // The encoder is initialized by the following code. 61 // EOF) then the frame is passed to the encoder. Otherwise, a NULL 62 // is passed, indicating the End-Of-Stream condition to the encoder. The 75 // encoder. 158 const VpxInterface *encoder = NULL local [all...] |
| vp8cx_set_ref.c | 15 // This is an example demonstrating how to overwrite the VP8 encoder's 104 const VpxInterface *encoder = NULL; local 115 encoder = get_vpx_encoder_by_name("vp8"); 116 if (!encoder) 123 info.codec_fourcc = encoder->fourcc; 141 printf("Using %s\n", vpx_codec_iface_name(encoder->interface())); 143 res = vpx_codec_enc_config_default(encoder->interface(), &cfg, 0); 160 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 161 die_codec(&codec, "Failed to initialize encoder");
|
| /external/libvpx/libvpx/test/ |
| encode_test_driver.cc | 20 void Encoder::EncodeFrame(VideoSource *video, const unsigned long frame_flags) { 37 void Encoder::EncodeFrameInternal(const VideoSource &video, 69 void Encoder::Flush() { 155 Encoder* const encoder = codec_->CreateEncoder(cfg_, deadline_, init_flags_, local 157 ASSERT_TRUE(encoder != NULL); 164 PreEncodeFrameHook(video, encoder); 165 encoder->EncodeFrame(video, frame_flags_); 167 CxDataIterator iter = encoder->GetCxData(); 198 const vpx_image_t *img_enc = encoder->GetPreviewFrame() [all...] |
| /external/libxml2/include/libxml/ |
| xmlIO.h | 130 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ member in struct:_xmlParserInputBuffer 133 xmlBufPtr raw; /* if encoder != NULL buffer for raw input */ 146 xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ member in struct:_xmlOutputBuffer 149 xmlBufPtr conv; /* if encoder != NULL buffer for output */ 223 xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder); 227 xmlCharEncodingHandlerPtr encoder, 232 xmlCharEncodingHandlerPtr encoder); 236 xmlCharEncodingHandlerPtr encoder); 240 xmlCharEncodingHandlerPtr encoder); 246 xmlCharEncodingHandlerPtr encoder); [all...] |
| /external/protobuf/python/google/protobuf/internal/ |
| type_checkers.py | 49 from google.protobuf.internal import encoder namespace 195 # Maps from field types to encoder constructors. 197 _FieldDescriptor.TYPE_DOUBLE: encoder.DoubleEncoder, 198 _FieldDescriptor.TYPE_FLOAT: encoder.FloatEncoder, 199 _FieldDescriptor.TYPE_INT64: encoder.Int64Encoder, 200 _FieldDescriptor.TYPE_UINT64: encoder.UInt64Encoder, 201 _FieldDescriptor.TYPE_INT32: encoder.Int32Encoder, 202 _FieldDescriptor.TYPE_FIXED64: encoder.Fixed64Encoder, 203 _FieldDescriptor.TYPE_FIXED32: encoder.Fixed32Encoder, 204 _FieldDescriptor.TYPE_BOOL: encoder.BoolEncoder [all...] |