Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 83) sorted by relevance

1234

/external/libvpx/examples/
Dpostproc.txt11 You must inform the codec that you might request postprocessing at
13 flag to `vpx_codec_dec_init`. If the codec does not support
16 the codec does not provide support.
18 /* Initialize codec */
19 res = vpx_codec_dec_init(&codec, interface, NULL,
24 res = vpx_codec_dec_init(&codec, interface, NULL, 0);
27 die_codec(&codec, "Failed to initialize decoder");
36 special value 0 indicates that the codec should take as long as
38 codec 15ms (15000us) to return a frame. Remember that this is a soft
39 deadline, and the codec may exceed it doing its regular processing. In
[all …]
Ddecoder_tmpl.txt28 /* Initialize codec */
29 if(vpx_codec_dec_init(&codec, interface, NULL, flags))
30 die_codec(&codec, "Failed to initialize decoder");
36 if(vpx_codec_decode(&codec, frame, frame_sz, NULL, 0))
37 die_codec(&codec, "Failed to decode frame");
42 while((img = vpx_codec_get_frame(&codec, &iter))) {
59 if(vpx_codec_destroy(&codec))
60 die_codec(&codec, "Failed to destroy codec");
Dencoder_tmpl.txt47 /* Initialize codec */
48 if(vpx_codec_enc_init(&codec, interface, &cfg, 0))
49 die_codec(&codec, "Failed to initialize encoder");
55 if(vpx_codec_encode(&codec, frame_avail? &raw : NULL, frame_cnt,
57 die_codec(&codec, "Failed to encode frame");
71 if(vpx_codec_destroy(&codec))
72 die_codec(&codec, "Failed to destroy codec");
Dvp8_set_maps.txt58 if(vpx_codec_control(&codec, VP8E_SET_ROI_MAP, &roi))
59 die_codec(&codec, "Failed to set ROI map");
74 if(vpx_codec_control(&codec, VP8E_SET_ACTIVEMAP, &active))
75 die_codec(&codec, "Failed to set active map");
87 if(vpx_codec_control(&codec, VP8E_SET_ACTIVEMAP, &active))
88 die_codec(&codec, "Failed to set active map");
/external/skia/src/images/
DSkImageDecoder_libpvjpeg.cpp34 AutoPVDelete(PVJpgDecoderInterface* codec) : fCodec(codec) {} in AutoPVDelete() argument
75 static bool getFrame(PVJpgDecoderInterface* codec, SkBitmap* bitmap, in getFrame() argument
78 TPvJpgDecStatus status = codec->GetInfo(&info); in getFrame()
101 status = codec->SetOutput(&format); in getFrame()
115 status = codec->GetFrame(&frame); in getFrame()
146 PVJpgDecoderInterface* codec = PVJpgDecoderFactory::CreatePVJpgDecoder(); in onDecode() local
147 TPvJpgDecStatus status = codec->Init(); in onDecode()
151 AutoPVDelete ad(codec); in onDecode()
153 status = codec->SetObserver(&observer); in onDecode()
173 status = codec->Decode((uint8*)storage, &consumed); in onDecode()
[all …]
DSkImageRef.cpp78 bool SkImageRef::onDecode(SkImageDecoder* codec, SkStream* stream, in onDecode() argument
81 return codec->decode(stream, bitmap, config, mode); in onDecode()
109 SkImageDecoder* codec; in prepareBitmap() local
111 codec = fFactory->newDecoder(fStream); in prepareBitmap()
113 codec = SkImageDecoder::Factory(fStream); in prepareBitmap()
116 if (codec) { in prepareBitmap()
117 SkAutoTDelete<SkImageDecoder> ad(codec); in prepareBitmap()
119 codec->setSampleSize(fSampleSize); in prepareBitmap()
120 codec->setDitherImage(fDoDither); in prepareBitmap()
121 if (this->onDecode(codec, fStream, &fBitmap, fConfig, mode)) { in prepareBitmap()
[all …]
DSkImageEncoder_Factory.cpp27 SkImageEncoder* codec = curr->factory()(t); in Create() local
28 if (codec) { in Create()
29 return codec; in Create()
DSkImageDecoder_Factory.cpp30 SkImageDecoder* codec = curr->factory()(stream); in Factory() local
34 if (codec) { in Factory()
35 return codec; in Factory()
/external/libvpx/
Dusage.dox3 The vpx Multi-Format codec SDK provides a unified interface amongst its
7 For codec-specific details, see the \ref codecs page.
25 codec may write into to store details about a single instance of that codec.
31 Most operations require an initialized codec context. Codec context
32 instances are codec specific. That is, the codec to be used for the encoded
37 A codec interface is an opaque structure that controls how function calls
38 into the generic interface are dispatched to their codec-specific
43 Each supported codec will expose an interface structure to the application
48 Several "features" are defined that are optionally implemented by codec
66 To initialize a codec instance, the address of the codec context
[all …]
Dmainpage.dox10 applications with the VP8 video codec, a high quality, royalty free, open
11 source codec deployed on millions of computers and devices worldwide.
23 - Read the \ref usage "usage" for a narrative on codec usage.
25 codec.
26 - \ref codec reference
/external/apache-http/src/org/apache/commons/codec/net/
DBCodec.java17 package org.apache.commons.codec.net;
20 import org.apache.commons.codec.DecoderException;
21 import org.apache.commons.codec.EncoderException;
22 import org.apache.commons.codec.StringDecoder;
23 import org.apache.commons.codec.StringEncoder;
24 import org.apache.commons.codec.binary.Base64;
DQuotedPrintableCodec.java17 package org.apache.commons.codec.net;
22 import org.apache.commons.codec.BinaryDecoder;
23 import org.apache.commons.codec.BinaryEncoder;
24 import org.apache.commons.codec.DecoderException;
25 import org.apache.commons.codec.EncoderException;
26 import org.apache.commons.codec.StringDecoder;
27 import org.apache.commons.codec.StringEncoder;
DURLCodec.java17 package org.apache.commons.codec.net;
23 import org.apache.commons.codec.BinaryDecoder;
24 import org.apache.commons.codec.BinaryEncoder;
25 import org.apache.commons.codec.DecoderException;
26 import org.apache.commons.codec.EncoderException;
27 import org.apache.commons.codec.StringDecoder;
28 import org.apache.commons.codec.StringEncoder;
DQCodec.java17 package org.apache.commons.codec.net;
22 import org.apache.commons.codec.DecoderException;
23 import org.apache.commons.codec.EncoderException;
24 import org.apache.commons.codec.StringDecoder;
25 import org.apache.commons.codec.StringEncoder;
/external/bluetooth/bluez/test/
Dipctest.c229 codec_capabilities_t codec; in parse_caps() local
243 memcpy(&codec, ptr, sizeof(codec)); /** ALIGNMENT? **/ in parse_caps()
246 (unsigned long) bytes_left, (unsigned long) sizeof(codec)); in parse_caps()
248 if (u->transport != codec.transport) { in parse_caps()
256 codec.length != sizeof(u->hsp.pcm_capabilities)) in parse_caps()
259 assert(codec.type == BT_HFP_CODEC_PCM); in parse_caps()
262 &codec, sizeof(u->hsp.pcm_capabilities)); in parse_caps()
270 if (codec.type == BT_A2DP_SBC_SINK && in parse_caps()
271 !(codec.lock & BT_WRITE_LOCK)) in parse_caps()
274 bytes_left -= codec.length; in parse_caps()
[all …]
/external/bluetooth/bluez/audio/
Dunix.c231 codec_capabilities_t *codec) in headset_generate_capability() argument
235 codec->seid = BT_A2DP_SEID_RANGE + 1; in headset_generate_capability()
236 codec->transport = BT_CAPABILITIES_TRANSPORT_SCO; in headset_generate_capability()
237 codec->type = BT_HFP_CODEC_PCM; in headset_generate_capability()
238 codec->length = sizeof(*pcm); in headset_generate_capability()
240 pcm = (void *) codec; in headset_generate_capability()
247 codec->configured = headset_is_active(dev); in headset_generate_capability()
248 codec->lock = headset_get_lock(dev); in headset_generate_capability()
251 codec->configured = TRUE; in headset_generate_capability()
252 codec->lock = 0; in headset_generate_capability()
[all …]
Dgstavdtpsink.c250 codec_capabilities_t *codec = (void *) rsp->data; in gst_avdtp_find_caps() local
254 if ((codec->type == codec_type) && in gst_avdtp_find_caps()
255 !(codec->lock & BT_WRITE_LOCK)) in gst_avdtp_find_caps()
258 bytes_left -= codec->length; in gst_avdtp_find_caps()
259 codec = (void *) codec + codec->length; in gst_avdtp_find_caps()
265 return codec; in gst_avdtp_find_caps()
1045 codec_capabilities_t *codec = NULL; in gst_avdtp_sink_configure() local
1054 codec = (void *) gst_avdtp_find_caps(self, BT_A2DP_SBC_SINK); in gst_avdtp_sink_configure()
1056 codec = (void *) gst_avdtp_find_caps(self, BT_A2DP_MPEG12_SINK); in gst_avdtp_sink_configure()
1058 if (codec == NULL) { in gst_avdtp_sink_configure()
[all …]
Dliba2dp.c531 memcpy(&setconf_req->codec, &data->sbc_capabilities, in bluetooth_a2dp_hw_params()
534 setconf_req->codec.transport = BT_CAPABILITIES_TRANSPORT_A2DP; in bluetooth_a2dp_hw_params()
535 setconf_req->codec.length = sizeof(data->sbc_capabilities); in bluetooth_a2dp_hw_params()
536 setconf_req->h.length += setconf_req->codec.length - sizeof(setconf_req->codec); in bluetooth_a2dp_hw_params()
853 codec_capabilities_t *codec = (void *) rsp->data; in bluetooth_parse_capabilities() local
855 if (codec->transport != BT_CAPABILITIES_TRANSPORT_A2DP) in bluetooth_parse_capabilities()
859 if ((codec->type == BT_A2DP_SBC_SINK) && in bluetooth_parse_capabilities()
860 !(codec->lock & BT_WRITE_LOCK)) in bluetooth_parse_capabilities()
863 if (codec->length == 0) { in bluetooth_parse_capabilities()
867 bytes_left -= codec->length; in bluetooth_parse_capabilities()
[all …]
Dpcm_bluetooth.c467 req->codec.transport = BT_CAPABILITIES_TRANSPORT_SCO; in bluetooth_hsp_hw_params()
468 req->codec.seid = BT_A2DP_SEID_RANGE + 1; in bluetooth_hsp_hw_params()
469 req->codec.length = sizeof(pcm_capabilities_t); in bluetooth_hsp_hw_params()
471 req->h.length += req->codec.length - sizeof(req->codec); in bluetooth_hsp_hw_params()
731 memcpy(&req->codec, &a2dp->sbc_capabilities, in bluetooth_a2dp_hw_params()
734 req->codec.transport = BT_CAPABILITIES_TRANSPORT_A2DP; in bluetooth_a2dp_hw_params()
735 req->codec.length = sizeof(a2dp->sbc_capabilities); in bluetooth_a2dp_hw_params()
736 req->h.length += req->codec.length - sizeof(req->codec); in bluetooth_a2dp_hw_params()
1618 codec_capabilities_t *codec = (void *) rsp->data; in bluetooth_parse_capabilities() local
1620 data->transport = codec->transport; in bluetooth_parse_capabilities()
[all …]
/external/apache-http/src/org/apache/commons/codec/binary/
DHex.java17 package org.apache.commons.codec.binary;
19 import org.apache.commons.codec.BinaryDecoder;
20 import org.apache.commons.codec.BinaryEncoder;
21 import org.apache.commons.codec.DecoderException;
22 import org.apache.commons.codec.EncoderException;
DBinaryCodec.java17 package org.apache.commons.codec.binary;
19 import org.apache.commons.codec.BinaryDecoder;
20 import org.apache.commons.codec.BinaryEncoder;
21 import org.apache.commons.codec.DecoderException;
22 import org.apache.commons.codec.EncoderException;
/external/bluetooth/hcidump/parser/
Davdtp.c113 static char *codec2str(uint8_t type, uint8_t codec) in codec2str() argument
117 switch (codec) { in codec2str()
133 switch (codec) { in codec2str()
212 uint8_t type, codec, tmp; in capabilities() local
215 codec = get_u8(frm); in capabilities()
217 printf("%s - %s\n", cat2str(cat), codec2str(type, codec)); in capabilities()
219 switch (codec) { in capabilities()
/external/apache-http/src/org/apache/commons/codec/
DThirdPartyProject.prop6 feedurl=http\://commons.apache.org/codec/changes-report.html
8 keywords=apache commons codec
10 homepage=http\://commons.apache.org/codec/
/external/skia/src/ports/
DSkImageRef_ashmem.cpp118 bool SkImageRef_ashmem::onDecode(SkImageDecoder* codec, SkStream* stream, in onDecode() argument
123 return this->INHERITED::onDecode(codec, stream, bitmap, config, mode); in onDecode()
128 codec->setAllocator(&alloc); in onDecode()
129 bool success = this->INHERITED::onDecode(codec, stream, bitmap, config, in onDecode()
132 codec->setAllocator(NULL); in onDecode()
/external/webkit/WebCore/platform/graphics/android/
DImageSourceAndroid.cpp259 SkImageDecoder* codec = SkImageDecoder::Factory(&stream); in setData() local
260 if (!codec) in setData()
263 SkAutoTDelete<SkImageDecoder> ad(codec); in setData()
264 codec->setPrefConfigTable(gPrefConfigTable); in setData()
265 if (!codec->decode(&stream, &tmp, SkImageDecoder::kDecodeBounds_Mode)) in setData()
301 codec->setSampleSize(sampleSize); in setData()
303 if (!codec->decode(&stream, &tmp, in setData()

1234