/frameworks/base/media/libstagefright/rtsp/ |
rtp_test.cpp | 184 sp<MediaSource> decoder = OMXCodec::Create( local 190 CHECK(decoder != NULL); 192 CHECK_EQ(decoder->start(), (status_t)OK); 196 status_t err = decoder->read(&buffer); 201 CHECK(decoder->getFormat()->findInt32(kKeyWidth, &width)); 202 CHECK(decoder->getFormat()->findInt32(kKeyHeight, &height)); 207 LOGE("decoder returned error 0x%08x", err); 216 printf("decoder returned frame of size %d at time %.2f secs\n", 225 CHECK_EQ(decoder->stop(), (status_t)OK);
|
/libcore/luni/src/test/java/tests/api/java/nio/charset/ |
CharsetEncoderDecoderBufferTest.java | 34 * Checks for ICU encoder/decoder buffer corruption. 53 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); local 58 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'a', (byte)'b', (byte)'c', (byte)'d'}), 68 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'x'}), out, true); 93 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); local 99 decoder.decode(inWithArray, out, false); 106 decoder.decode(inWithoutArray, out, true);
|
Charset_MultiByte_EUC_JP.java | [all...] |
Charset_MultiByte_EUC_JP_Android.java | [all...] |
Charset_SingleByteAbstractTest.java | 57 decoder.onMalformedInput(CodingErrorAction.REPLACE); 59 outputCB = decoder.decode(inputBB); 73 decoder.onMalformedInput(CodingErrorAction.REPLACE); 74 outputCB = decoder.decode(inputBB); 102 // decoder.onMalformedInput(CodingErrorAction.REPLACE); 103 // outputCB = decoder.decode(inputBB); 210 // decoder = charset.newDecoder();
|
/external/freetype/src/cff/ |
cffgload.h | 163 cff_decoder_init( CFF_Decoder* decoder, 171 cff_decoder_prepare( CFF_Decoder* decoder, 185 cff_decoder_parse_charstrings( CFF_Decoder* decoder,
|
/external/chromium/sdch/open-vcdiff/src/ |
vcdiff_main.cc | 56 "If false, the decoder issues an error when the VCD_TARGET flag " 65 "Maximum target file size allowed by decoder"); 67 "Maximum target window size allowed by decoder"); 449 open_vcdiff::VCDiffStreamingDecoder decoder; local 450 decoder.SetMaximumTargetFileSize( 452 decoder.SetMaximumTargetWindowSize( 454 decoder.SetAllowVcdTarget(FLAGS_allow_vcd_target); 461 decoder.StartDecoding("", 0); 463 decoder.StartDecoding(&dictionary_[0], dictionary_.size()); 473 if (!decoder.DecodeChunk(&input_buffer_[0], bytes_read, &output)) 513 open_vcdiff::VCDiffStreamingDecoder decoder; local [all...] |
/external/skia/include/images/ |
SkJpegUtility.h | 44 skjpeg_source_mgr(SkStream* stream, SkImageDecoder* decoder, bool ownStream);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaProfileReader.java | 61 for (AudioDecoder decoder: audioDecoders) { 62 if (decoder == AudioDecoder.AUDIO_DECODER_WMA) { 70 for (VideoDecoder decoder: videoDecoders) { 71 if (decoder == VideoDecoder.VIDEO_DECODER_WMV) {
|
/frameworks/base/media/tests/omxjpegdecoder/ |
SkOmxPixelRef.h | 30 sp<MediaSource> decoder);
|
omx_jpeg_decoder.h | 50 bool decodeSource(sp<MediaSource> decoder, const sp<MediaSource>& source, 52 void installPixelRef(MediaBuffer* buffer, sp<MediaSource> decoder,
|
/libcore/luni/src/test/java/org/apache/harmony/nio_char/tests/java/nio/charset/ |
CharsetDecoderTest.java | 90 // CharsetDecoder decoder = Charset.forName("UTF-16").newDecoder(); 91 // decoder.onMalformedInput(CodingErrorAction.REPLACE); 92 // decoder.onUnmappableCharacter(CodingErrorAction.REPLACE); 93 // decoder.decode(bb); 174 * Mock decoder. decodeLoop always throws unexpected exception. 228 MockMalformedDecoder decoder = new MockMalformedDecoder(cs); local 229 decoder.onMalformedInput(CodingErrorAction.REPLACE); 230 decoder.replaceWith(replaceString); 235 CoderResult result = decoder.decode(in, out, false); 242 result = decoder.decode(in, out, true) 293 CharsetDecoder decoder = Charset.forName("UTF-8").newDecoder(); local [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/decoder/ |
ByteQueue.java | 20 package org.apache.james.mime4j.decoder;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/ |
UnstructuredField.java | 22 import org.apache.james.mime4j.decoder.DecoderUtil;
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
SimpleContentHandler.java | 22 import org.apache.james.mime4j.decoder.Base64InputStream;
23 import org.apache.james.mime4j.decoder.QuotedPrintableInputStream;
|
/libcore/luni/src/main/java/java/nio/charset/ |
CharsetEncoder.java | 113 // decoder instance for this encoder's charset, used for replacement value 115 private CharsetDecoder decoder; field in class:CharsetEncoder 616 if (decoder == null) { 617 decoder = cs.newDecoder(); 618 decoder.onMalformedInput(CodingErrorAction.REPORT); 619 decoder.onUnmappableCharacter(CodingErrorAction.REPORT); 622 CharBuffer out = CharBuffer.allocate((int) (replacement.length * decoder.maxCharsPerByte())); 623 CoderResult result = decoder.decode(in, out, true);
|
/libcore/luni/src/main/java/org/apache/harmony/nio/internal/ |
IOUtil.java | 47 CharBuffer chars, CharsetDecoder decoder, Object lock) 52 fillBuf(in, bytes, chars, decoder); 77 CharsetDecoder decoder, Object lock) throws IOException { 86 fillBuf(in, bytes, chars, decoder); 101 fillBuf(in, bytes, chars, decoder); 121 CharBuffer chars, CharsetDecoder decoder) throws IOException { 136 CoderResult result = decoder.decode(bytes, chars, endOfInput);
|
/external/webkit/WebCore/platform/graphics/android/ |
ImageSourceAndroid.cpp | 237 // frames; continue using the gif decoder. 240 // If the decoder failed or there is only 1 frame, delete the 241 // decoder and use our shared image ref pool to avoid allocating too 279 // GIF Decoder 288 // frames; continue using the gif decoder. 291 // If the decoder failed or there is only 1 frame, delete the decoder 313 PrivateAndroidImageSourceRec* decoder = m_decoder.m_image; local 314 if (allDataReceived && !decoder->fAllDataReceived) { 315 decoder->fAllDataReceived = true 447 const PrivateAndroidImageSourceRec& decoder = *m_decoder.m_image; local [all...] |
/external/libvpx/ |
ivfdec.c | 331 vpx_codec_ctx_t decoder; local 514 if (vpx_codec_dec_init(&decoder, iface ? iface : ifaces[0].iface, &cfg, 517 fprintf(stderr, "Failed to initialize decoder: %s\n", vpx_codec_error(&decoder)); 522 fprintf(stderr, "%s\n", decoder.name); 527 && vpx_codec_control(&decoder, VP8_SET_POSTPROC, &vp8_pp_cfg)) 529 fprintf(stderr, "Failed to configure postproc: %s\n", vpx_codec_error(&decoder)); 544 if (vpx_codec_decode(&decoder, buf, buf_sz, NULL, 0)) 546 const char *detail = vpx_codec_error_detail(&decoder); 547 fprintf(stderr, "Failed to decode frame: %s\n", vpx_codec_error(&decoder)); [all...] |
/external/jpeg/ |
Android.mk | 16 # use ashmem as libjpeg decoder's backing store 22 # use sdcard as libjpeg decoder's backing store
|
/external/webkit/WebCore/loader/ |
CachedFont.cpp | 141 RefPtr<TextResourceDecoder> decoder = TextResourceDecoder::create("application/xml"); local 142 m_externalSVGDocument->write(decoder->decode(m_data->data(), m_data->size())); 143 m_externalSVGDocument->write(decoder->flush()); 144 if (decoder->sawError()) {
|
/frameworks/base/media/java/android/media/ |
MediaFile.java | 110 for (AudioDecoder decoder: decoders) { 111 if (decoder == AudioDecoder.AUDIO_DECODER_WMA) { 120 for (VideoDecoder decoder: decoders) { 121 if (decoder == VideoDecoder.VIDEO_DECODER_WMV) {
|
/external/webkit/WebCore/platform/image-decoders/jpeg/ |
JPEGImageDecoder.cpp | 90 JPEGImageReader *decoder; member in struct:WebCore::decoder_source_mgr 96 JPEGImageReader(JPEGImageDecoder* decoder) 97 : m_decoder(decoder) 129 src->decoder = this; 354 JPEGImageDecoder* decoder() { return m_decoder; } function in class:WebCore::JPEGImageReader 370 /* Override the standard error method in the IJG JPEG decoder code. */ 385 src->decoder->skipBytes(num_bytes); 399 src->decoder->decoder()->jpegComplete();
|
/frameworks/base/core/java/android/util/ |
Base64.java | 29 * Default values for encoder/decoder flags. 53 * Encoder/decoder flag bit to indicate using the "URL and 158 Decoder decoder = new Decoder(flags, new byte[len*3/4]); local 160 if (!decoder.process(input, offset, len, true)) { 165 if (decoder.op == decoder.output.length) { 166 return decoder.output; 171 byte[] temp = new byte[decoder.op] [all...] |
/frameworks/base/core/jni/android/graphics/ |
AutoDecodeCancel.cpp | 10 SkImageDecoder* decoder) { 12 fDecoder = decoder;
|