/external/libvpx/libvpx/examples/ |
H A D | vpx_temporal_svc_encoder.c | 491 vpx_codec_ctx_t codec; local 549 if (!encoder) die("Unsupported codec."); 698 // Initialize codec. 701 &codec, encoder->codec_interface(), &cfg, 704 if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0)) 706 die_codec(&codec, "Failed to initialize encoder"); 709 vpx_codec_control(&codec, VP8E_SET_CPUUSED, -speed); 710 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, kDenoiserOff); 711 vpx_codec_control(&codec, VP8E_SET_STATIC_THRESHOLD, 1); 712 vpx_codec_control(&codec, VP8E_SET_GF_CBR_BOOST_PC [all...] |
H A D | vp9_spatial_svc_encoder.c | 96 "d", "bit-depth", 1, "Bit depth for codec 8, 10 or 12. ", bitdepth_enum); 612 vpx_codec_ctx_t codec; local 657 // Initialize codec 658 if (vpx_svc_init(&svc_ctx, &codec, vpx_codec_vp9_cx(), &enc_cfg) != 699 vpx_codec_control(&codec, VP8E_SET_CPUUSED, svc_ctx.speed); 701 vpx_codec_control(&codec, VP9E_SET_TILE_COLUMNS, (svc_ctx.threads >> 1)); 702 vpx_codec_control(&codec, VP9E_SET_ROW_MT, 0); 705 vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3); 707 vpx_codec_control(&codec, VP8E_SET_STATIC_THRESHOLD, 1); 735 vpx_codec_control(&codec, VP9E_SET_SVC_LAYER_I [all...] |
/external/libvpx/libvpx/test/ |
H A D | encode_test_driver.h | 181 explicit EncoderTest(const CodecFactory *codec) argument 182 : codec_(codec), abort_(false), init_flags_(0), frame_flags_(0),
|
/external/sl4a/Common/src/org/apache/commons/codec/binary/ |
H A D | Base64Codec.java | 18 package org.apache.commons.codec.binary; 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; 214 * Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode. 228 * Creates a Base64 codec used for decoding (all modes) and encoding in the given URL-safe mode. 247 * Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode. 269 * Creates a Base64 codec used for decoding (all modes) and encoding in URL-unsafe mode. 295 * Creates a Base64 codec use [all...] |
/external/tinycompress/ |
H A D | compress.c | 145 bool codec = false; local 149 if (caps->codecs[i] == config->codec->id) { 150 /* found the codec */ 151 codec = true; 155 if (codec == false) { 156 oops(compress, ENXIO, "this codec is not supported"); 181 /* TODO: match the codec properties */ 185 static bool _is_codec_type_supported(int fd, struct snd_codec *codec) argument 197 if (caps.codecs[i] == codec->id) { 198 /* found the codec */ 575 is_codec_supported(unsigned int card, unsigned int device, unsigned int flags, struct snd_codec *codec) argument [all...] |
/external/webrtc/talk/media/base/ |
H A D | rtpdataengine_unittest.cc | 262 // Unknown codec; 267 cricket::DataCodec codec; local 268 codec.id = 103; 269 codec.name = cricket::kGoogleRtpDataCodecName; 271 parameters.codecs.push_back(codec); 331 cricket::DataCodec codec; local 332 codec.id = 103; 333 codec.name = cricket::kGoogleRtpDataCodecName; 335 parameters.codecs.push_back(codec); 378 cricket::DataCodec codec; local 444 cricket::DataCodec codec; local [all...] |
/external/webrtc/talk/media/webrtc/ |
H A D | webrtcvideoengine2.h | 227 VideoCodec codec; member in struct:cricket::WebRtcVideoChannel2::VideoCodecSettings 252 void SetCodec(const VideoCodecSettings& codec); 312 // the first frame to know that you gave a bad codec parameter could make 327 const VideoCodec& codec, 332 const VideoCodec& codec, 337 void* ConfigureVideoEncoderSettings(const VideoCodec& codec, 342 AllocatedEncoder CreateVideoEncoder(const VideoCodec& codec) 346 void SetCodecAndOptions(const VideoCodecSettings& codec, 352 const VideoCodec& codec) const EXCLUSIVE_LOCKS_REQUIRED(lock_); 439 const VideoCodec& codec); [all...] |
H A D | webrtcvoiceengine_unittest.cc | 66 engine, // codec 182 // |codec| is the codec under test. 186 void TestSendBandwidth(const cricket::AudioCodec& codec, argument 191 parameters.codecs.push_back(codec); 439 cricket::AudioCodec codec; local 449 codec = kIsacCodec; 450 codec.id = 127; 451 EXPECT_TRUE(cricket::WebRtcVoiceEngine::ToCodecInst(codec, &codec_inst)); 452 EXPECT_EQ(codec 725 webrtc::CodecInst codec; local 739 webrtc::CodecInst codec; local [all...] |
H A D | fakewebrtcvoiceengine.h | 35 #include "talk/media/base/codec.h" 400 WEBRTC_STUB(GetCodec, (int index, webrtc::CodecInst& codec)); 401 WEBRTC_FUNC(SetSendCodec, (int channel, const webrtc::CodecInst& codec)) { argument 404 if (_stricmp(codec.plname, "telephone-event") == 0 || 405 _stricmp(codec.plname, "audio/telephone-event") == 0 || 406 _stricmp(codec.plname, "CN") == 0 || 407 _stricmp(codec.plname, "red") == 0 ) { 410 channels_[channel]->send_codec = codec; 414 WEBRTC_FUNC(GetSendCodec, (int channel, webrtc::CodecInst& codec)) { argument 416 codec 421 WEBRTC_FUNC(SetRecPayloadType, (int channel, const webrtc::CodecInst& codec)) argument 460 WEBRTC_FUNC(GetRecPayloadType, (int channel, webrtc::CodecInst& codec)) argument [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
H A D | neteq_rtpplay.cc | 137 "codec"); 147 // Maps a codec type to a printable name string. 148 std::string CodecName(webrtc::NetEqDecoder codec) { argument 149 switch (codec) { 191 webrtc::NetEqDecoder codec, 194 if (neteq->RegisterPayloadType(codec, name, static_cast<uint8_t>(flag))) { 196 << CodecName(codec) << std::endl; 240 void PrintCodecMappingEntry(webrtc::NetEqDecoder codec, google::int32 flag) { argument 241 std::cout << CodecName(codec) << ": " << flag << std::endl; 403 // We have already printed the codec ma 190 RegisterPayloadType(NetEq* neteq, webrtc::NetEqDecoder codec, const std::string& name, google::int32 flag) argument [all...] |
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
H A D | simulcast_encoder_adapter.cc | 29 uint32_t SumStreamTargetBitrate(int streams, const webrtc::VideoCodec& codec) { argument 32 bitrate_sum += codec.simulcastStream[i].targetBitrate; 37 uint32_t SumStreamMaxBitrate(int streams, const webrtc::VideoCodec& codec) { argument 40 bitrate_sum += codec.simulcastStream[i].maxBitrate; 45 int NumberOfStreams(const webrtc::VideoCodec& codec) { argument 47 codec.numberOfSimulcastStreams < 1 ? 1 : codec.numberOfSimulcastStreams; 48 uint32_t simulcast_max_bitrate = SumStreamMaxBitrate(streams, codec); 55 bool ValidSimulcastResolutions(const webrtc::VideoCodec& codec, 57 if (codec [all...] |
H A D | vp8_impl.cc | 62 std::vector<int> GetStreamBitratesKbps(const VideoCodec& codec, argument 64 if (codec.numberOfSimulcastStreams <= 1) { 68 std::vector<int> bitrates_kbps(codec.numberOfSimulcastStreams); 71 for (size_t i = 0; i < static_cast<size_t>(codec.numberOfSimulcastStreams) && 73 static_cast<int>(codec.simulcastStream[i].minBitrate); 77 std::min(static_cast<int>(codec.simulcastStream[i].targetBitrate), 88 static_cast<int>(codec.simulcastStream[last_active_stream].maxBitrate - 95 // controlled outside the codec implementation and is not overriden by this. 96 if (bitrates_kbps[0] < static_cast<int>(codec.simulcastStream[0].minBitrate)) 97 bitrates_kbps[0] = static_cast<int>(codec 102 SumStreamMaxBitrate(int streams, const VideoCodec& codec) argument 110 NumberOfStreams(const VideoCodec& codec) argument 314 SetupTemporalLayers(int num_streams, int num_temporal_layers, const VideoCodec& codec) argument [all...] |
/external/webrtc/webrtc/voice_engine/test/cmd_test/ |
H A D | voe_cmd_test.cc | 58 VoECodec* codec = NULL; variable 113 for (int i = 0; i < codec->NumOfCodecs(); ++i) { 114 int res = codec->GetCodec(i, codec_params); 131 codec = VoECodec::GetInterface(m_voe); 187 if (codec) 188 codec->Release(); 304 printf("Select send codec: "); 307 codec->GetCodec(codec_selection, cinst); 309 printf("Set primary codec\n"); 311 res = codec [all...] |
/external/protobuf/csharp/src/Google.Protobuf/Collections/ |
H A D | MapField.cs | 414 /// It is assumed that the stream is initially positioned after the tag specified by the codec. 419 /// <param name="codec">Codec describing how the key/value pairs are encoded</param> 420 public void AddEntriesFrom(CodedInputStream input, Codec codec) argument 422 var adapter = new Codec.MessageAdapter(codec); 428 } while (input.MaybeConsumeTag(codec.MapTag)); 432 /// Writes the contents of this map to the given coded output stream, using the specified codec 436 /// <param name="codec">The codec to use for each entry.</param> 437 public void WriteTo(CodedOutputStream output, Codec codec) argument 439 var message = new Codec.MessageAdapter(codec); 454 CalculateSize(Codec codec) argument 616 private readonly Codec codec; field in class:Google.Protobuf.Collections.MapField.Codec.MessageAdapter 620 MessageAdapter(Codec codec) argument [all...] |
/external/skia/src/codec/ |
H A D | SkBmpCodec.cpp | 483 // Set the image info and create a codec. 584 SkCodec* codec = nullptr; local 585 if (ReadHeader(stream, inIco, &codec)) { 586 // codec has taken ownership of stream, so we do not need to 588 SkASSERT(codec); 590 return codec;
|
H A D | SkJpegCodec.cpp | 223 // Create image info object and the codec 256 SkJpegCodec* codec = new SkJpegCodec(width, height, info, stream, decoderMgr.release(), local 258 codec->setUnsupportedICC(unsupportedICC); 259 *codecOut = codec; 273 SkCodec* codec = nullptr; local 274 if (ReadHeader(stream, &codec, nullptr, std::move(defaultColorSpace))) { 276 SkASSERT(codec); 278 return codec;
|
/external/webrtc/webrtc/modules/video_coding/test/ |
H A D | rtp_player.cc | 237 VideoCodec codec; local 238 memset(&codec, 0, sizeof(codec)); 239 strncpy(codec.plName, it->name().c_str(), sizeof(codec.plName) - 1); 240 codec.plType = it->payload_type(); 241 codec.codecType = it->codec_type(); 243 codec.plName, codec.plType, 90000, 0, codec [all...] |
/external/webrtc/webrtc/voice_engine/test/android/android_test/jni/ |
H A D | android_test.cc | 43 if (!veData1.codec) \ 64 if (!veData1.codec) \ 122 VoECodec* codec; member in struct:__anon24981 759 // [codec] Number of codecs 766 return veData1.codec->NumOfCodecs(); 770 // [codec] Set send codec 781 CodecInst codec; local 783 if (veData1.codec->GetCodec(index, codec) ! [all...] |
/external/kernel-headers/original/uapi/linux/ |
H A D | telephony.h | 76 codec, enumerator in enum:__anon9102
|
/external/mesa3d/src/gallium/include/pipe/ |
H A D | p_video_state.h | 111 enum pipe_video_codec codec; member in struct:pipe_quant_matrix 116 enum pipe_video_codec codec; member in struct:pipe_macroblock
|
/external/skia/tests/ |
H A D | CodecTest.cpp | 71 static void test_info(skiatest::Reporter* r, Codec* codec, const SkImageInfo& info, argument 77 SkCodec::Result result = codec->getPixels(info, bm.getPixels(), bm.rowBytes()); 97 static void test_incremental_decode(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info, argument 103 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->startIncrementalDecode(info, bm.getPixels(), 106 REPORTER_ASSERT(r, SkCodec::kSuccess == codec->incrementalDecode()); 112 static void test_in_stripes(skiatest::Reporter* r, SkCodec* codec, const SkImageInfo& info, argument 137 if (SkCodec::kSuccess != codec->startIncrementalDecode(info, bm.getAddr(0, y), 143 if (SkCodec::kSuccess != codec->incrementalDecode()) { 154 static void test_codec(skiatest::Reporter* r, Codec* codec, SkBitmap& bm, const SkImageInfo& info, argument 162 SkCodec::Result result = codec 539 SkCodec* codec = SkCodec::NewFromStream(new SkMemoryStream(stream, len, false)); local 573 SkCodec* codec = SkCodec::NewFromStream(nullptr); local 1251 decode_frame(skiatest::Reporter* r, SkCodec* codec, size_t frame) argument [all...] |
/external/webrtc/talk/session/media/ |
H A D | mediasession.h | 37 #include "talk/media/base/codec.h" 332 void AddCodec(const C& codec) { argument 333 codecs_.push_back(codec); 335 void AddOrReplaceCodec(const C& codec) { argument 338 if (iter->id == codec.id) { 339 *iter = codec; 343 AddCodec(codec); 346 typename std::vector<C>::const_iterator codec; local 347 for (codec = codecs.begin(); codec ! [all...] |
/external/webrtc/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
H A D | PeerConnectionClient.java | 308 // Check preferred video codec. 317 Log.d(TAG, "Pereferred video codec: " + preferredVideoCodec); 741 private static String setStartBitrate(String codec, boolean isVideoCodec, argument 747 // Search for codec rtpmap in format 749 String regex = "^a=rtpmap:(\\d+) " + codec + "(/\\d+)+[\r]?$"; 760 Log.w(TAG, "No rtpmap for " + codec + " codec"); 763 Log.d(TAG, "Found " + codec + " rtpmap " + codecRtpMap 766 // Check if a=fmtp string already exist in remote SDP for this codec and 773 Log.d(TAG, "Found " + codec 808 preferCodec( String sdpDescription, String codec, boolean isAudio) argument [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
H A D | audio_coding_module_impl.cc | 39 bool IsCodecRED(const CodecInst& codec) { argument 40 return (STR_CASE_CMP(codec.plname, "RED") == 0); 43 bool IsCodecCN(const CodecInst& codec) { argument 44 return (STR_CASE_CMP(codec.plname, "CN") == 0); 137 // Scale the timestamp to the codec's RTP timestamp rate. 226 // Get current send codec. 249 "SendFrequency Failed, no codec is registered"); 312 // Do we have a codec registered? 368 // This variable is true if primary codec and secondary codec (i 589 RegisterReceiveCodec(const CodecInst& codec) argument [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
H A D | RTPencode.cc | 85 webrtc::NetEqDecoder* codec, 207 /* Global codec instance variables */ 324 "codec.\n"); 331 printf("%s PCMfile RTPfile frameLen codec useVAD bitrate\n", argv[0]); 339 "depends on codec)\n\n"); 400 printf(" : AMRXk Adaptive Multi Rate CELP codec " 407 "codec (16kHz)\n"); 412 printf(" : ilbc iLBC codec (8kHz and 13.8kbps)\n"); 423 printf(" : gsmfr GSM FR codec (8kHz and 13kbps)\n"); 446 printf(" : opus Opus codec wit 838 NetEQTest_GetCodec_and_PT(char* name, webrtc::NetEqDecoder* codec, int* PT, size_t frameLen, int* fs, int* bitrate, int* useRed) argument [all...] |