/external/chromium_org/media/cast/receiver/ |
H A D | video_decoder.h | 31 Codec codec);
|
/external/chromium_org/net/base/ |
H A D | mime_util.cc | 120 CodecEntry() : codec(INVALID_CODEC), is_ambiguous(true) {} 121 CodecEntry(Codec c, bool ambiguous) : codec(c), is_ambiguous(ambiguous) {} 122 Codec codec; member in struct:net::MimeUtil::CodecEntry 129 // Returns IsSupported if all codec IDs in |codecs| are unambiguous 131 // at least one codec ID in |codecs| is ambiguous but all the codecs 133 // least one codec ID is not supported by the platform. 145 // Converts a codec ID into an Codec enum value and indicates 148 // Codec enum value. |codec| and |is_ambiguous| are only valid if true 152 // is true |codec| contains the best guess for the intended Codec enum value. 154 Codec* codec, 470 IsCodecSupportedOnAndroid(MimeUtil::Codec codec) argument 563 MimeUtil::Codec codec; member in struct:net::CodecIDMappings 612 Codec codec = INVALID_CODEC; local 690 Codec codec = INVALID_CODEC; local 856 Codec codec = INVALID_CODEC; local 984 ParseH264CodecID(const std::string& codec_id, MimeUtil::Codec* codec, bool* is_ambiguous) argument 1011 StringToCodec(const std::string& codec_id, Codec* codec, bool* is_ambiguous) const argument [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
H A D | delay_test.cc | 31 DEFINE_string(codec, "isac", "Codec Name"); 57 CodecSettings codec; member in struct:webrtc::__anon15844::TestSettings 106 "Failed to get codec."; 117 "Couldn't register receive codec.\n"; 141 ++test_cntr_, config.codec.name, config.codec.sample_rate_hz, 142 config.codec.num_channels, config.acm.dtx ? "on" : "off", 145 SendCodec(config.codec); 154 config.num_channels)) << "Specified codec is not supported.\n"; 158 "Failed to register send-codec [all...] |
H A D | insert_packet_with_timing.cc | 25 DEFINE_string(codec, "opus", "Codec Name"); 27 DEFINE_int32(codec_channels, 1, "Number of channels of the codec."); 91 CodecInst codec; local 92 ASSERT_EQ(0, AudioCodingModule::Codec(FLAGS_codec.c_str(), &codec, 96 ASSERT_EQ(0, send_acm_->RegisterSendCodec(codec)); 97 ASSERT_EQ(0, receive_acm_->RegisterReceiveCodec(codec)); 99 // Set codec-dependent parameters. 100 samples_in_1ms_ = codec.plfreq / 1000; 101 num_10ms_in_codec_frame_ = codec.pacsize / (codec [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
H A D | packet.h | 44 webrtc::VideoCodecType codec; member in class:webrtc::VCMPacket
|
H A D | video_sender_unittest.cc | 146 EXPECT_EQ(kRtpVideoVp8, frame_data_[i].rtp_video_header.codec); 158 EXPECT_EQ(kRtpVideoVp8, frame_data_[i].rtp_video_header.codec); 339 VideoCodec codec; 340 memset(&codec, 0, sizeof(codec)); 341 EXPECT_EQ(0, VideoCodingModule::Codec(kVideoCodecVP8, &codec)); 342 codec.width = width; 343 codec.height = height; 344 codec.codecSpecific.VP8.numberOfTemporalLayers = temporal_layers; 345 return codec; [all...] |
/external/libvorbis/test/ |
H A D | util.c | 13 function: utility functions for vorbis codec test suite. 24 #include <vorbis/codec.h>
|
/external/libvpx/libvpx/examples/ |
H A D | twopass_encoder.c | 64 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n", 125 vpx_codec_ctx_t codec; local 147 die("Unsupported codec."); 175 die_codec(&codec, "Failed to get default codec config."); 196 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 197 die_codec(&codec, "Failed to initialize encoder"); 203 get_frame_stats(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, 206 encode_frame(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, 212 get_frame_stats(&codec, NUL [all...] |
H A D | vp8_multi_resolution_encoder.c | 176 vpx_codec_ctx_t codec[NUM_ENCODERS]; local 328 if(vpx_codec_enc_init_multi(&codec[0], interface, &cfg[0], NUM_ENCODERS, 330 die_codec(&codec[0], "Failed to initialize encoder"); 337 if(vpx_codec_control(&codec[i], VP8E_SET_CPUUSED, speed)) 338 die_codec(&codec[i], "Failed to set cpu_used"); 345 if(vpx_codec_control(&codec[i], VP8E_SET_STATIC_THRESHOLD, static_thresh)) 346 die_codec(&codec[i], "Failed to set static threshold"); 351 if(vpx_codec_control(&codec[0], VP8E_SET_NOISE_SENSITIVITY, 1)) 352 die_codec(&codec[0], "Failed to set noise_sensitivity"); 355 if(vpx_codec_control(&codec[ [all...] |
H A D | decode_with_partial_drops.c | 16 // error recovery features of the codec. 197 vpx_codec_ctx_t codec; local 243 /* Initialize codec */ 245 res = vpx_codec_dec_init(&codec, interface, &dec_cfg, flags); 247 die_codec(&codec, "Failed to initialize decoder"); 303 if(vpx_codec_decode(&codec, frame, frame_sz, NULL, 0)) 304 die_codec(&codec, "Failed to decode frame"); 307 while((img = vpx_codec_get_frame(&codec, &iter))) { 322 if(vpx_codec_destroy(&codec)) 323 die_codec(&codec, "Faile [all...] |
H A D | vpx_temporal_scalable_patterns.c | 433 vpx_codec_ctx_t codec; local 467 die("Unsupported codec."); 568 // Initialize codec. 569 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 570 die_codec(&codec, "Failed to initialize encoder"); 573 vpx_codec_control(&codec, VP8E_SET_CPUUSED, -speed); 574 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, 1); 576 vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed); 577 vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3); 578 vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOS [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowBase64.java | 6 import org.apache.commons.codec.binary.Base64;
|
/external/chromium_org/content/common/gpu/media/ |
H A D | android_video_decode_accelerator_unittest.cc | 71 bool Configure(media::VideoCodec codec) { argument 75 accelerator->codec_ = codec;
|
/external/chromium_org/media/base/ |
H A D | audio_video_metadata_extractor.cc | 113 if (!stream->codec) 116 info.type = avcodec_get_name(stream->codec->codec_id); 119 if (stream->codec->width > 0 && stream->codec->width > width_ && 120 stream->codec->height > 0 && stream->codec->height > height_) { 121 width_ = stream->codec->width; 122 height_ = stream->codec->height;
|
/external/chromium_org/remoting/protocol/ |
H A D | session_config.cc | 22 codec(CODEC_UNDEFINED) { 25 ChannelConfig::ChannelConfig(TransportType transport, int version, Codec codec) argument 28 codec(codec) { 35 return transport == b.transport && version == b.version && codec == b.codec; 206 void CandidateSessionConfig::EnableVideoCodec(ChannelConfig::Codec codec) { argument 210 codec));
|
/external/tinycompress/include/tinycompress/ |
H A D | tinycompress.h | 66 * @codec: codec type and parameters requested 71 struct snd_codec *codec; member in struct:compr_config 239 * is_codec_supported:check if the given codec is supported 245 * @codec: codec type and parameters to be checked 248 unsigned int flags, struct snd_codec *codec);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/ |
H A D | quality_modes_test.cc | 191 VideoCodec codec;//both send and receive local 197 _vcm->Codec(i, &codec); 198 if(strncmp(codec.plName,"VP8" , 5) == 0) 200 codec.startBitrate = (int)_bitRate; 201 codec.maxFramerate = (uint8_t) _frameRate; 202 codec.width = (uint16_t)_width; 203 codec.height = (uint16_t)_height; 204 codec.codecSpecific.VP8.frameDroppingOn = false; 206 // Will also set and init the desired codec 207 TEST(_vcm->RegisterSendCodec(&codec, [all...] |
/external/apache-http/src/org/apache/commons/codec/binary/ |
H A D | BinaryCodec.java | 17 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; 83 * @see org.apache.commons.codec.BinaryEncoder#encode(byte[]) 97 * @see org.apache.commons.codec.Encoder#encode(java.lang.Object) 114 * @see org.apache.commons.codec.Decoder#decode(java.lang.Object) 138 * @see org.apache.commons.codec.Decoder#decode(Object) 150 * @see org.apache.commons.codec [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
H A D | vpx_temporal_svc_encoder.c | 442 vpx_codec_ctx_t codec; local 475 die("Unsupported codec."); 578 // Initialize codec. 579 if (vpx_codec_enc_init(&codec, encoder->codec_interface(), &cfg, 0)) 580 die_codec(&codec, "Failed to initialize encoder"); 583 vpx_codec_control(&codec, VP8E_SET_CPUUSED, -speed); 584 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, kDenoiserOnYOnly); 586 vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed); 587 vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3); 588 vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOS [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleSubpixelTranslate.cpp | 30 SkImageDecoder* codec = NULL; local 33 codec = SkImageDecoder::Factory(&stream); 35 if (codec) { 37 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 38 SkDELETE(codec);
|
/external/skia/gm/ |
H A D | filterindiabox.cpp | 111 SkImageDecoder* codec = NULL; local 114 codec = SkImageDecoder::Factory(&stream); 116 if (codec) { 118 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 119 SkDELETE(codec);
|
/external/skia/samplecode/ |
H A D | SampleSubpixelTranslate.cpp | 34 SkImageDecoder* codec = NULL; local 37 codec = SkImageDecoder::Factory(&stream); 39 if (codec) { 41 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 42 SkDELETE(codec);
|
/external/chromium_org/media/base/android/ |
H A D | media_codec_bridge.cc | 37 static const std::string AudioCodecToAndroidMimeType(const AudioCodec& codec) { argument 38 switch (codec) { 50 static const std::string VideoCodecToAndroidMimeType(const VideoCodec& codec) { argument 51 switch (codec) { 63 static const std::string CodecTypeToAndroidMimeType(const std::string& codec) { argument 65 if (codec == "avc1") 67 if (codec == "mp4a") 69 if (codec == "vp8" || codec == "vp8.0") 71 if (codec 174 CanDecode(const std::string& codec, bool is_secure) argument 502 Start(const AudioCodec& codec, int sample_rate, int channel_count, const uint8* extra_data, size_t extra_data_size, bool play_audio, jobject media_crypto) argument 535 ConfigureMediaFormat(jobject j_format, const AudioCodec& codec, const uint8* extra_data, size_t extra_data_size) argument 658 Create(const AudioCodec& codec) argument 667 IsKnownUnaccelerated(const AudioCodec& codec) argument 673 IsKnownUnaccelerated(const VideoCodec& codec, MediaCodecDirection direction) argument 680 CreateDecoder(const VideoCodec& codec, bool is_secure, const gfx::Size& size, jobject surface, jobject media_crypto) argument 716 CreateEncoder(const VideoCodec& codec, const gfx::Size& size, int bit_rate, int frame_rate, int i_frame_interval, int color_format) argument [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/ |
H A D | channel.cc | 384 // Register the new codec to the ACM 389 "Channel::OnInitializeDecoder() invalid codec (" 742 // This is not needed on sending side, since the codec will 1128 CodecInst codec; local 1134 if ((audio_coding_->Codec(idx, &codec) == -1) || 1136 codec.plname, 1137 codec.pltype, 1138 codec.plfreq, 1139 codec.channels, 1140 (codec 1431 GetSendCodec(CodecInst& codec) argument 1437 GetRecCodec(CodecInst& codec) argument 1443 SetSendCodec(const CodecInst& codec) argument 1535 SetRecPayloadType(const CodecInst& codec) argument 1627 GetRecPayloadType(CodecInst& codec) argument 1656 CodecInst codec; local 2662 CodecInst codec = {}; local 3673 CodecInst codec; local 4329 CodecInst codec; local 4367 SetSecondarySendCodec(const CodecInst& codec, int red_payload_type) argument 4398 GetSecondarySendCodec(CodecInst* codec) argument 4410 CodecInst codec; local [all...] |
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/ |
H A D | plotBenchmark.m | 2 %PLOTBENCHMARK Plots and exports video codec benchmarking results. 3 % PLOTBENCHMARK(FILENAMES, EXPORT) parses the video codec benchmarking result 66 codec = fgetl(fid); 130 testCases = [testCases struct('codec', codec, 'name', name, 'resolution', ... 216 [cases, hLine, codec, sequences] = plotOneCodec(cases, 'bitrate', 'psnr', i, sequences, 1); 220 codecs = {codecs{:} codec}; 284 [cases, hLine, codec, sequences] = plotOneCodec(cases, 'bitrate', 'ssim', i, sequences, 1); 288 codecs = {codecs{:} codec}; 353 [cases, hLine, codec, sequence [all...] |