/external/glide/library/src/main/java/com/bumptech/glide/ |
GifRequestBuilder.java | 7 import com.bumptech.glide.load.Encoder; 123 public GifRequestBuilder<ModelType> encoder( method in class:GifRequestBuilder 124 ResourceEncoder<GifDrawable> encoder) { 125 super.encoder(encoder); 381 public GifRequestBuilder<ModelType> sourceEncoder(Encoder<InputStream> sourceEncoder) {
|
BitmapRequestBuilder.java | 10 import com.bumptech.glide.load.Encoder; 186 public BitmapRequestBuilder<ModelType, TranscodeType> encoder(ResourceEncoder<Bitmap> encoder) { method in class:BitmapRequestBuilder 187 super.encoder(encoder); 441 public BitmapRequestBuilder<ModelType, TranscodeType> sourceEncoder(Encoder<ImageVideoWrapper> sourceEncoder) {
|
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/ |
GifFrameManager.java | 13 import com.bumptech.glide.load.Encoder; 59 Encoder<GifDecoder> sourceEncoder = NullEncoder.get();
|
/external/lzma/Java/SevenZip/ |
LzmaAlone.java | 203 SevenZip.Compression.LZMA.Encoder encoder = new SevenZip.Compression.LZMA.Encoder();
local 204 if (!encoder.SetAlgorithm(params.Algorithm))
206 if (!encoder.SetDictionarySize(params.DictionarySize))
208 if (!encoder.SetNumFastBytes(params.Fb))
210 if (!encoder.SetMatchFinder(params.MatchFinder))
212 if (!encoder.SetLcLpPb(params.Lc, params.Lp, params.Pb))
214 encoder.SetEndMarkerMode(eos);
215 encoder.WriteCoderProperties(outStream); [all...] |
LzmaBench.java | 303 SevenZip.Compression.LZMA.Encoder encoder = new SevenZip.Compression.LZMA.Encoder();
local 306 if (!encoder.SetDictionarySize(dictionarySize))
313 encoder.WriteCoderProperties(propStream);
345 encoder.Code(inStream, compressedStream, -1, -1, progressInfo);
|
/prebuilts/go/darwin-x86/src/encoding/gob/ |
encode.go | 20 // encoderState is the global execution state of an instance of the encoder. 25 enc *Encoder 29 buf [1 + uint64Size]byte // buffer used by the encoder; here to avoid allocation. 77 func (enc *Encoder) newEncoderState(b *encBuffer) *encoderState { 94 func (enc *Encoder) freeEncoderState(e *encoderState) { 153 // Each encoder for a composite is responsible for handling any 295 func (enc *Encoder) encodeSingle(b *encBuffer, engine *encEngine, value reflect.Value) { 312 func (enc *Encoder) encodeStruct(b *encBuffer, engine *encEngine, value reflect.Value) { 339 func (enc *Encoder) encodeArray(b *encBuffer, value reflect.Value, op encOp, elemIndir int, length int, helper encHelper) { 373 func (enc *Encoder) encodeMap(b *encBuffer, mv reflect.Value, keyOp, elemOp encOp, keyIndir, elemIndir int) [all...] |
example_interface_test.go | 33 // We must register the concrete type for the encoder and decoder (which would 34 // normally be on a separate machine from the encoder). On each end, this tells the 38 // Create an encoder and send some values. 57 // interfaceEncode encodes the interface value into the encoder. 58 func interfaceEncode(enc *gob.Encoder, p Pythagoras) {
|
/prebuilts/go/linux-x86/src/encoding/gob/ |
encode.go | 20 // encoderState is the global execution state of an instance of the encoder. 25 enc *Encoder 29 buf [1 + uint64Size]byte // buffer used by the encoder; here to avoid allocation. 77 func (enc *Encoder) newEncoderState(b *encBuffer) *encoderState { 94 func (enc *Encoder) freeEncoderState(e *encoderState) { 153 // Each encoder for a composite is responsible for handling any 295 func (enc *Encoder) encodeSingle(b *encBuffer, engine *encEngine, value reflect.Value) { 312 func (enc *Encoder) encodeStruct(b *encBuffer, engine *encEngine, value reflect.Value) { 339 func (enc *Encoder) encodeArray(b *encBuffer, value reflect.Value, op encOp, elemIndir int, length int, helper encHelper) { 373 func (enc *Encoder) encodeMap(b *encBuffer, mv reflect.Value, keyOp, elemOp encOp, keyIndir, elemIndir int) [all...] |
example_interface_test.go | 33 // We must register the concrete type for the encoder and decoder (which would 34 // normally be on a separate machine from the encoder). On each end, this tells the 38 // Create an encoder and send some values. 57 // interfaceEncode encodes the interface value into the encoder. 58 func interfaceEncode(enc *gob.Encoder, p Pythagoras) {
|
/prebuilts/go/darwin-x86/src/image/png/ |
writer.go | 17 // Encoder configures encoding PNG images. 18 type Encoder struct { 22 type encoder struct { type 23 enc *Encoder 82 func (e *encoder) writeChunk(b []byte, name string) { 112 func (e *encoder) writeIHDR() { 146 func (e *encoder) writePLTEAndTRNS(p color.Palette) { 168 // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks, 173 // No other code should treat an encoder as an io.Writer. 174 func (e *encoder) Write(b []byte) (int, error) [all...] |
writer_test.go | 84 if err := (&Encoder{}).Encode(&b1, m); err != nil { 87 noenc := &Encoder{CompressionLevel: NoCompression}
|
/prebuilts/go/linux-x86/src/image/png/ |
writer.go | 17 // Encoder configures encoding PNG images. 18 type Encoder struct { 22 type encoder struct { type 23 enc *Encoder 82 func (e *encoder) writeChunk(b []byte, name string) { 112 func (e *encoder) writeIHDR() { 146 func (e *encoder) writePLTEAndTRNS(p color.Palette) { 168 // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks, 173 // No other code should treat an encoder as an io.Writer. 174 func (e *encoder) Write(b []byte) (int, error) [all...] |
writer_test.go | 84 if err := (&Encoder{}).Encode(&b1, m); err != nil { 87 noenc := &Encoder{CompressionLevel: NoCompression}
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
MessageHeader.java | 147 public void encode(Encoder encoder) { 148 encoder.encode(mDataHeader); 150 encoder.encode(0, INTERFACE_ID_OFFSET); 151 encoder.encode(getType(), TYPE_OFFSET); 152 encoder.encode(getFlags(), FLAGS_OFFSET); 154 encoder.encode(getRequestId(), REQUEST_ID_OFFSET);
|
/external/libvpx/libvpx/test/ |
active_map_refresh_test.cc | 74 ::libvpx_test::Encoder *encoder) { 78 encoder->Control(VP8E_SET_CPUUSED, cpu_used_); 79 encoder->Control(VP9E_SET_AQ_MODE, kAqModeCyclicRefresh); 94 encoder->Control(VP8E_SET_ACTIVEMAP, &map);
|
encode_perf_test.cc | 86 ::libvpx_test::Encoder *encoder) { 89 encoder->Control(VP8E_SET_CPUUSED, speed_); 90 encoder->Control(VP9E_SET_TILE_COLUMNS, log2_tile_columns); 91 encoder->Control(VP9E_SET_FRAME_PARALLEL_DECODING, 1); 92 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 0);
|
level_test.cc | 45 ::libvpx_test::Encoder *encoder) { 47 encoder->Control(VP8E_SET_CPUUSED, cpu_used_); 48 encoder->Control(VP9E_SET_TARGET_LEVEL, target_level_); 49 encoder->Control(VP9E_SET_MIN_GF_INTERVAL, min_gf_internal_); 51 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1); 52 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7); 53 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5); 54 encoder->Control(VP8E_SET_ARNR_TYPE, 3); 57 encoder->Control(VP9E_GET_LEVEL, &level_) [all...] |
vp9_arf_freq_test.cc | 18 #include "vp9/encoder/vp9_ratectrl.h" 147 ::libvpx_test::Encoder *encoder) { 149 encoder->Control(VP9E_SET_FRAME_PARALLEL_DECODING, 1); 150 encoder->Control(VP9E_SET_TILE_COLUMNS, 4); 151 encoder->Control(VP8E_SET_CPUUSED, test_encode_param_.cpu_used); 152 encoder->Control(VP9E_SET_MIN_GF_INTERVAL, min_arf_requested_); 154 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1); 155 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7); 156 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5) [all...] |
vp9_encoder_parms_get_to_decoder.cc | 76 ::libvpx_test::Encoder *encoder) { 78 encoder->Control(VP9E_SET_COLOR_SPACE, encode_parms.cs); 79 encoder->Control(VP9E_SET_COLOR_RANGE, encode_parms.color_range); 80 encoder->Control(VP9E_SET_LOSSLESS, encode_parms.lossless); 81 encoder->Control(VP9E_SET_FRAME_PARALLEL_DECODING, 83 encoder->Control(VP9E_SET_TILE_ROWS, encode_parms.tile_rows); 84 encoder->Control(VP9E_SET_TILE_COLUMNS, encode_parms.tile_cols); 85 encoder->Control(VP8E_SET_CPUUSED, kCpuUsed); 86 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1) [all...] |
vp9_end_to_end_test.cc | 116 ::libvpx_test::Encoder *encoder) { 118 encoder->Control(VP9E_SET_FRAME_PARALLEL_DECODING, 1); 119 encoder->Control(VP9E_SET_TILE_COLUMNS, 4); 120 encoder->Control(VP8E_SET_CPUUSED, cpu_used_); 122 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1); 123 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7); 124 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5); 125 encoder->Control(VP8E_SET_ARNR_TYPE, 3);
|
vp9_ethread_test.cc | 19 #include "vp9/encoder/vp9_firstpass.h" 67 // For first pass stats test, only run first pass encoder. 73 ::libvpx_test::Encoder *encoder) { 76 encoder->Control(VP9E_SET_TILE_COLUMNS, tiles_); 77 encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_); 78 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1); 79 encoder->Control(VP8E_SET_ARNR_MAXFRAMES, 7); 80 encoder->Control(VP8E_SET_ARNR_STRENGTH, 5); 81 encoder->Control(VP8E_SET_ARNR_TYPE, 3) [all...] |
/prebuilts/go/darwin-x86/src/encoding/ascii85/ |
ascii85_test.go | 79 encoder := NewEncoder(bb) 80 encoder.Write([]byte(p.decoded)) 81 encoder.Close() 90 encoder := NewEncoder(bb) 96 n, err := encoder.Write(input[pos:end]) 100 err := encoder.Close() 179 t.Fatalf("Encoder.Write(raw) = %d, %v want %d, nil", nn, err, n) 183 t.Fatalf("Encoder.Close() = %v want nil", err)
|
/prebuilts/go/linux-x86/src/encoding/ascii85/ |
ascii85_test.go | 79 encoder := NewEncoder(bb) 80 encoder.Write([]byte(p.decoded)) 81 encoder.Close() 90 encoder := NewEncoder(bb) 96 n, err := encoder.Write(input[pos:end]) 100 err := encoder.Close() 179 t.Fatalf("Encoder.Write(raw) = %d, %v want %d, nil", nn, err, n) 183 t.Fatalf("Encoder.Close() = %v want nil", err)
|
/prebuilts/go/darwin-x86/src/encoding/xml/ |
marshal.go | 97 MarshalXML(e *Encoder, start StartElement) error 128 // An Encoder writes XML data to an output stream. 129 type Encoder struct { 133 // NewEncoder returns a new encoder that writes to w. 134 func NewEncoder(w io.Writer) *Encoder { 135 e := &Encoder{printer{Writer: bufio.NewWriter(w)}} 136 e.p.encoder = e 140 // Indent sets the encoder to generate XML in which each element 143 func (enc *Encoder) Indent(prefix, indent string) { 154 func (enc *Encoder) Encode(v interface{}) error [all...] |
/prebuilts/go/linux-x86/src/encoding/xml/ |
marshal.go | 97 MarshalXML(e *Encoder, start StartElement) error 128 // An Encoder writes XML data to an output stream. 129 type Encoder struct { 133 // NewEncoder returns a new encoder that writes to w. 134 func NewEncoder(w io.Writer) *Encoder { 135 e := &Encoder{printer{Writer: bufio.NewWriter(w)}} 136 e.p.encoder = e 140 // Indent sets the encoder to generate XML in which each element 143 func (enc *Encoder) Indent(prefix, indent string) { 154 func (enc *Encoder) Encode(v interface{}) error [all...] |