/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
DecodeJob.java | 6 import com.bumptech.glide.load.Encoder; 255 private final Encoder<DataType> encoder; field in class:DecodeJob.SourceWriter 258 public SourceWriter(Encoder<DataType> encoder, DataType data) { 259 this.encoder = encoder; 269 success = encoder.encode(data, os);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64.java | 14 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); 167 return encoder.decode(base64Data, start, length, out);
|
HexEncoder.java | 7 * A streaming Hex encoder. 10 implements Encoder
|
/external/libvpx/libvpx/test/ |
alt_ref_aq_segment_test.cc | 34 ::libvpx_test::Encoder *encoder) { 36 encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_); 37 encoder->Control(VP9E_SET_ALT_REF_AQ, alt_ref_aq_mode_); 38 encoder->Control(VP9E_SET_AQ_MODE, aq_mode_); 39 encoder->Control(VP8E_SET_MAX_INTRA_BITRATE_PCT, 100);
|
cpu_speed_test.cc | 46 ::libvpx_test::Encoder *encoder) { 48 encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_); 49 encoder->Control(VP9E_SET_TUNE_CONTENT, tune_content_); 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); 72 // the encoder to producing lots of big partitions which will likely 122 // the encoder to producing lots of big partitions which will likel [all...] |
cq_test.cc | 67 libvpx_test::Encoder *encoder) { 70 encoder->Control(VP8E_SET_CQ_LEVEL, cq_level_); 72 encoder->Control(VP8E_SET_CPUUSED, 3);
|
keyframe_test.cc | 37 ::libvpx_test::Encoder *encoder) { 42 encoder->Control(VP8E_SET_CPUUSED, set_cpu_used_);
|
superframe_test.cc | 43 libvpx_test::Encoder *encoder) { 45 encoder->Control(VP8E_SET_ENABLEAUTOALTREF, 1);
|
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);
|
/external/glide/library/src/main/java/com/bumptech/glide/ |
DrawableRequestBuilder.java | 9 import com.bumptech.glide.load.Encoder; 132 public DrawableRequestBuilder<ModelType> encoder(ResourceEncoder<GifBitmapWrapper> encoder) { method in class:DrawableRequestBuilder 133 super.encoder(encoder); 391 public DrawableRequestBuilder<ModelType> sourceEncoder(Encoder<ImageVideoWrapper> sourceEncoder) {
|
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) {
|
/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...] |
/prebuilts/go/darwin-x86/src/encoding/json/ |
stream.go | 174 // An Encoder writes JSON values to an output stream. 175 type Encoder struct { 185 // NewEncoder returns a new encoder that writes to w. 186 func NewEncoder(w io.Writer) *Encoder { 187 return &Encoder{w: w, escapeHTML: true} 195 func (enc *Encoder) Encode(v interface{}) error { 232 // SetIndent instructs the encoder to format each subsequent encoded 235 func (enc *Encoder) SetIndent(prefix, indent string) { 247 func (enc *Encoder) SetEscapeHTML(on bool) {
|
/prebuilts/go/linux-x86/src/encoding/json/ |
stream.go | 174 // An Encoder writes JSON values to an output stream. 175 type Encoder struct { 185 // NewEncoder returns a new encoder that writes to w. 186 func NewEncoder(w io.Writer) *Encoder { 187 return &Encoder{w: w, escapeHTML: true} 195 func (enc *Encoder) Encode(v interface{}) error { 232 // SetIndent instructs the encoder to format each subsequent encoded 235 func (enc *Encoder) SetIndent(prefix, indent string) { 247 func (enc *Encoder) SetEscapeHTML(on bool) {
|
/prebuilts/go/darwin-x86/src/encoding/gob/ |
encode.go | 22 // encoderState is the global execution state of an instance of the encoder. 27 enc *Encoder 31 buf [1 + uint64Size]byte // buffer used by the encoder; here to avoid allocation. 79 func (enc *Encoder) newEncoderState(b *encBuffer) *encoderState { 96 func (enc *Encoder) freeEncoderState(e *encoderState) { 153 // Each encoder for a composite is responsible for handling any 289 func (enc *Encoder) encodeSingle(b *encBuffer, engine *encEngine, value reflect.Value) { 306 func (enc *Encoder) encodeStruct(b *encBuffer, engine *encEngine, value reflect.Value) { 333 func (enc *Encoder) encodeArray(b *encBuffer, value reflect.Value, op encOp, elemIndir int, length int, helper encHelper) { 367 func (enc *Encoder) encodeMap(b *encBuffer, mv reflect.Value, keyOp, elemOp encOp, keyIndir, elemIndir int) [all...] |
/prebuilts/go/linux-x86/src/encoding/gob/ |
encode.go | 22 // encoderState is the global execution state of an instance of the encoder. 27 enc *Encoder 31 buf [1 + uint64Size]byte // buffer used by the encoder; here to avoid allocation. 79 func (enc *Encoder) newEncoderState(b *encBuffer) *encoderState { 96 func (enc *Encoder) freeEncoderState(e *encoderState) { 153 // Each encoder for a composite is responsible for handling any 289 func (enc *Encoder) encodeSingle(b *encBuffer, engine *encEngine, value reflect.Value) { 306 func (enc *Encoder) encodeStruct(b *encBuffer, engine *encEngine, value reflect.Value) { 333 func (enc *Encoder) encodeArray(b *encBuffer, value reflect.Value, op encOp, elemIndir int, length int, helper encHelper) { 367 func (enc *Encoder) encodeMap(b *encBuffer, mv reflect.Value, keyOp, elemOp encOp, keyIndir, elemIndir int) [all...] |
/prebuilts/go/darwin-x86/src/image/png/ |
writer.go | 17 // Encoder configures encoding PNG images. 18 type Encoder struct { 35 type EncoderBuffer encoder 37 type encoder struct { type 38 enc *Encoder 102 func (e *encoder) writeChunk(b []byte, name string) { 132 func (e *encoder) writeIHDR() { 166 func (e *encoder) writePLTEAndTRNS(p color.Palette) { 188 // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks, 193 // No other code should treat an encoder as an io.Writer [all...] |
/prebuilts/go/linux-x86/src/image/png/ |
writer.go | 17 // Encoder configures encoding PNG images. 18 type Encoder struct { 35 type EncoderBuffer encoder 37 type encoder struct { type 38 enc *Encoder 102 func (e *encoder) writeChunk(b []byte, name string) { 132 func (e *encoder) writeIHDR() { 166 func (e *encoder) writePLTEAndTRNS(p color.Palette) { 188 // An encoder is an io.Writer that satisfies writes by writing PNG IDAT chunks, 193 // No other code should treat an encoder as an io.Writer [all...] |
/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);
|