/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
H A D | vp8cx_set_ref.c | 67 static int encode_frame(vpx_codec_ctx_t *codec, argument 74 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 0, 77 die_codec(codec, "Failed to encode frame"); 79 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { 88 die_codec(codec, "Failed to write compressed frame"); 101 vpx_codec_ctx_t codec = {0}; local 121 die("Unsupported codec."); 149 die_codec(&codec, "Failed to get default codec config."); 164 if (vpx_codec_enc_init(&codec, encode [all...] |
H A D | vp9_lossless_encoder.c | 30 static int encode_frame(vpx_codec_ctx_t *codec, argument 38 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 41 die_codec(codec, "Failed to encode frame"); 43 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { 52 die_codec(codec, "Failed to write compressed frame"); 64 vpx_codec_ctx_t codec; local 81 die("Unsupported codec."); 105 die_codec(&codec, "Failed to get default codec config."); 119 if (vpx_codec_enc_init(&codec, encode [all...] |
H A D | simple_encoder.c | 39 // documentation for your codec to see if it provides any default 82 // The `vpx_codec_destroy` call frees any memory allocated by the codec. 111 "Usage: %s <codec> <width> <height> <infile> <outfile> " 118 static int encode_frame(vpx_codec_ctx_t *codec, argument 126 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 129 die_codec(codec, "Failed to encode frame"); 131 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { 140 die_codec(codec, "Failed to write compressed frame"); 152 vpx_codec_ctx_t codec; local 187 die("Unsupported codec [all...] |
H A D | decode_to_md5.c | 82 vpx_codec_ctx_t codec; local 103 die("Unknown input codec."); 107 if (vpx_codec_dec_init(&codec, decoder->codec_interface(), NULL, 0)) 108 die_codec(&codec, "Failed to initialize decoder"); 116 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) 117 die_codec(&codec, "Failed to decode frame"); 119 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) { 130 if (vpx_codec_destroy(&codec)) 131 die_codec(&codec, "Failed to destroy codec [all...] |
/external/libvpx/libvpx/examples/ |
H A D | vp8cx_set_ref.c | 68 static void encode_frame(vpx_codec_ctx_t *codec, argument 74 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 0, 77 die_codec(codec, "Failed to encode frame"); 79 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { 86 die_codec(codec, "Failed to write compressed frame"); 97 vpx_codec_ctx_t codec = {0}; local 117 die("Unsupported codec."); 145 die_codec(&codec, "Failed to get default codec config."); 160 if (vpx_codec_enc_init(&codec, encode [all...] |
H A D | simple_encoder.c | 41 // documentation for your codec to see if it provides any default 84 // The `vpx_codec_destroy` call frees any memory allocated by the codec. 114 "Usage: %s <codec> <width> <height> <infile> <outfile> " 121 static void encode_frame(vpx_codec_ctx_t *codec, argument 128 const vpx_codec_err_t res = vpx_codec_encode(codec, img, frame_index, 1, 131 die_codec(codec, "Failed to encode frame"); 133 while ((pkt = vpx_codec_get_cx_data(codec, &iter)) != NULL) { 140 die_codec(codec, "Failed to write compressed frame"); 151 vpx_codec_ctx_t codec; local 186 die("Unsupported codec [all...] |
H A D | decode_to_md5.c | 84 vpx_codec_ctx_t codec; local 105 die("Unknown input codec."); 109 if (vpx_codec_dec_init(&codec, decoder->interface(), NULL, 0)) 110 die_codec(&codec, "Failed to initialize decoder"); 118 if (vpx_codec_decode(&codec, frame, (unsigned int)frame_size, NULL, 0)) 119 die_codec(&codec, "Failed to decode frame"); 121 while ((img = vpx_codec_get_frame(&codec, &iter)) != NULL) { 132 if (vpx_codec_destroy(&codec)) 133 die_codec(&codec, "Failed to destroy codec [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/ |
H A D | voe_codec_impl.cc | 66 int VoECodecImpl::GetCodec(int index, CodecInst& codec) argument 69 "GetCodec(index=%d, codec=?)", index); 78 ACMToExternalCodecRepresentation(codec, acmCodec); 82 "channels=%d, rate=%d", codec.plname, codec.pacsize, 83 codec.plfreq, codec.pltype, codec.channels, codec.rate); 87 int VoECodecImpl::SetSendCodec(int channel, const CodecInst& codec) argument 150 GetSendCodec(int channel, CodecInst& codec) argument 183 GetRecCodec(int channel, CodecInst& codec) argument 216 SetRecPayloadType(int channel, const CodecInst& codec) argument 240 GetRecPayloadType(int channel, CodecInst& codec) argument 517 SetSecondarySendCodec(int channel, const CodecInst& codec, int red_payload_type) argument 577 GetSecondarySendCodec(int channel, CodecInst& codec) argument [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
H A D | vpxenc.sh | 52 # Echo default vpxenc real time encoding params. $1 is the codec, which defaults 55 local readonly codec="${1:-vp8}" 56 echo "--codec=${codec} 107 --codec=vp8 \ 124 --codec=vp8 \ 154 --codec=vp8 \ 173 --codec=vp8 \ 191 --codec=vp8 \ 207 --codec [all...] |
H A D | decode_to_md5.sh | 28 # interpreted as codec name and used solely to name the output file. $3 is the 33 local codec="$2" 35 local output_file="${VPX_TEST_OUTPUT_DIR}/decode_to_md5_${codec}"
|
H A D | decode_with_drops.sh | 27 # Runs decode_with_drops on $1, $2 is interpreted as codec name and used solely 33 local codec="$2" 34 local output_file="${VPX_TEST_OUTPUT_DIR}/decode_with_drops_${codec}"
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkImageEncoder.h | 81 #define DECLARE_ENCODER_CREATOR(codec) \ 82 SkImageEncoder *Create ## codec (); 86 #define DEFINE_ENCODER_CREATOR(codec) \ 87 SkImageEncoder *Create ## codec () { \ 88 return SkNEW( Sk ## codec ); \
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleIdentityScale.cpp | 27 SkImageDecoder* codec = NULL; local 30 codec = SkImageDecoder::Factory(&stream); 32 if (codec) { 34 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 35 SkDELETE(codec);
|
/external/skia/include/core/ |
H A D | SkImageEncoder.h | 81 #define DECLARE_ENCODER_CREATOR(codec) \ 82 SkImageEncoder *Create ## codec (); 86 #define DEFINE_ENCODER_CREATOR(codec) \ 87 SkImageEncoder *Create ## codec () { \ 88 return SkNEW( Sk ## codec ); \
|
/external/chromium_org/media/cast/ |
H A D | cast_config.cc | 42 codec(CODEC_VIDEO_VP8), 58 codec(CODEC_AUDIO_OPUS) {} 71 codec(CODEC_UNKNOWN) {}
|
/external/chromium_org/mojo/public/js/bindings/ |
H A D | codec_unittests.js | 7 "mojo/public/js/bindings/codec", 11 ], function(expect, codec, rect, sample, structs) { 31 var builder = new codec.MessageBuilder(messageName, payloadSize); 52 var reader = new codec.MessageReader(message); 101 var builder = new codec.MessageBuilder(messageName, payloadSize); 125 var reader = new codec.MessageReader(message); 165 var builder = new codec.MessageBuilder(1, structs.NamedRegion.encodedSize); 167 var reader = new codec.MessageReader(builder.finish()); 180 var builder = new codec.MessageBuilder(messageName, payloadSize); 184 var reader = new codec [all...] |
/external/apache-http/src/org/apache/commons/codec/net/ |
H A D | BCodec.java | 17 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;
|
/external/bluetooth/bluedroid/btif/co/ |
H A D | bta_ag_co.c | 43 extern int set_audio_state(UINT16 handle, UINT16 codec, UINT8 state, void *param); 77 ** codec - if WBS support is compiled in, codec to going to be used is provided 80 ** in the other states codec type should not be ignored 86 void bta_ag_co_audio_state(UINT16 handle, UINT8 app_id, UINT8 state, tBTA_AG_PEER_CODEC codec) argument 96 BTIF_TRACE_DEBUG("bta_ag_co_audio_state(handle %d)::Closed (OFF), codec: 0x%x", 97 handle, codec); 98 set_audio_state(handle, codec, state, NULL); 109 set_audio_state(handle, codec, state, NULL); 118 APPL_TRACE_DEBUG("bta_ag_co_audio_state(handle %d, app_id: %d, state %d, codec [all...] |
/external/chromium_org/chromecast/media/cma/ipc_streamer/ |
H A D | audio_decoder_config_marshaller.cc | 22 CHECK(msg->WritePod(config.codec())); 35 ::media::AudioCodec codec; local 43 CHECK(msg->ReadPod(&codec)); 50 CHECK_GE(codec, ::media::kUnknownAudioCodec); 51 CHECK_LE(codec, ::media::kAudioCodecMax); 63 codec, sample_format,
|
/external/chromium_org/third_party/webrtc/tools/e2e_quality/audio/ |
H A D | audio_e2e_harness.cc | 27 DEFINE_string(codec, "ISAC", "codec name"); 28 DEFINE_int32(rate, 16000, "codec sample rate in Hz"); 40 VoECodec* codec = VoECodec::GetInterface(voe); local 41 ASSERT_TRUE(codec != NULL); 59 for (int i = 0; i < codec->NumOfCodecs(); i++) { 60 ASSERT_EQ(0, codec->GetCodec(i, codec_params)); 68 ASSERT_EQ(0, codec->SetSendCodec(channel, codec_params));
|
/external/chromium_org/media/base/ |
H A D | audio_decoder_config.cc | 27 AudioDecoderConfig::AudioDecoderConfig(AudioCodec codec, argument 34 Initialize(codec, sample_format, channel_layout, samples_per_second, 39 void AudioDecoderConfig::Initialize(AudioCodec codec, argument 52 UMA_HISTOGRAM_ENUMERATION("Media.AudioCodec", codec, kAudioCodecMax + 1); 67 codec_ = codec; 96 return ((codec() == config.codec()) && 111 s << "codec: " << codec()
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
H A D | packet.cc | 28 codec(kVideoCodecUnknown), 49 codec(kVideoCodecUnknown), 70 codec(kVideoCodecUnknown), 88 codec = kVideoCodecUnknown; 98 switch (videoHeader.codec) { 112 codec = kVideoCodecVP8; 128 codec = kVideoCodecH264; 132 codec = kVideoCodecUnknown;
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/ |
H A D | vie_autotest_codec.cc | 148 webrtc::ViECodec* codec = interfaces.codec; local 170 for (int idx = 0; idx < codec->NumberOfCodecs(); idx++) { 171 EXPECT_EQ(0, codec->GetCodec(idx, video_codec)); 180 EXPECT_EQ(0, codec->SetReceiveCodec(video_channel, video_codec)); 183 for (int idx = 0; idx < codec->NumberOfCodecs(); idx++) { 184 EXPECT_EQ(0, codec->GetCodec(idx, video_codec)); 186 EXPECT_EQ(0, codec->SetSendCodec(video_channel, video_codec)); 209 EXPECT_EQ(0, codec->RegisterDecoderObserver(video_channel, codec_observer)); 213 for (int i = 0; i < codec 302 webrtc::ViECodec* codec = interfaces.codec; local 495 webrtc::ViECodec* codec = webrtc::ViECodec::GetInterface(video_engine); local 618 webrtc::VideoCodec codec; local [all...] |
/external/chromium_org/tools/relocation_packer/src/ |
H A D | packer.cc | 25 RelocationRunLengthCodec codec; local 26 codec.Encode(relocations, &packed_words); 64 RelocationRunLengthCodec codec; local 65 codec.Decode(packed_words, relocations); 75 RelocationDeltaCodec codec; local 76 codec.Encode(relocations, &packed_words); 120 RelocationDeltaCodec codec; local 121 codec.Decode(packed_words, relocations);
|
H A D | run_length_encoder_unittest.cc | 35 RelocationRunLengthCodec codec; local 38 codec.Encode(relocations, &packed); 46 codec.Encode(relocations, &packed); 54 codec.Encode(relocations, &packed); 74 codec.Encode(relocations, &packed); 93 RelocationRunLengthCodec codec; local 94 codec.Decode(packed, &relocations); 110 codec.Decode(packed, &relocations);
|