/external/chromium_org/third_party/mesa/src/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/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/ |
H A D | surface.c | 60 mb->base.codec = PIPE_VIDEO_CODEC_MPEG12;
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
H A D | fakewebrtcvideocapturemodule.h | 106 const webrtc::VideoCodec& codec) OVERRIDE {
|
H A D | fakewebrtcvideoengine.h | 35 #include "talk/media/base/codec.h" 569 const webrtc::VideoCodec& codec) const { 573 return std::find(codecs.begin(), codecs.end(), codec) != codecs.end(); 766 const webrtc::VideoCodec& codec)) { 768 channels_[channel]->send_codec = codec; 773 webrtc::VideoCodec& codec)) { // NOLINT 775 codec = channels_.find(channel)->second->send_codec; 779 const webrtc::VideoCodec& codec)) { // NOLINT 781 channels_[channel]->recv_codecs.push_back(codec); 765 WEBRTC_FUNC(SetSendCodec, (const int channel, const webrtc::VideoCodec& codec)) argument 772 WEBRTC_FUNC_CONST(GetSendCodec, (const int channel, webrtc::VideoCodec& codec)) argument 778 WEBRTC_FUNC(SetReceiveCodec, (const int channel, const webrtc::VideoCodec& codec)) argument
|
H A D | fakewebrtcvoiceengine.h | 35 #include "talk/media/base/codec.h" 398 webrtc::CodecInst codec; local 399 GetCodec(i, codec); 400 ch->recv_codecs.push_back(codec); 506 WEBRTC_FUNC(GetCodec, (int index, webrtc::CodecInst& codec)) { argument 511 codec.pltype = c.id; 512 rtc::strcpyn(codec.plname, sizeof(codec.plname), c.name.c_str()); 513 codec.plfreq = c.clockrate; 514 codec 519 WEBRTC_FUNC(SetSendCodec, (int channel, const webrtc::CodecInst& codec)) argument 532 WEBRTC_FUNC(GetSendCodec, (int channel, webrtc::CodecInst& codec)) argument 543 WEBRTC_FUNC(GetRecCodec, (int channel, webrtc::CodecInst& codec)) argument 571 WEBRTC_FUNC(SetRecPayloadType, (int channel, const webrtc::CodecInst& codec)) argument 609 WEBRTC_FUNC(GetRecPayloadType, (int channel, webrtc::CodecInst& codec)) argument [all...] |
H A D | webrtcvideoengine.cc | 122 // Static allocation of payload type values for external video codec. 163 static bool IsNackEnabled(const VideoCodec& codec) { argument 164 return codec.HasFeedbackParam(FeedbackParam(kRtcpFbParamNack, 169 static bool IsRembEnabled(const VideoCodec& codec) { argument 170 return codec.HasFeedbackParam(FeedbackParam(kRtcpFbParamRemb, 970 LOG(LS_ERROR) << "Failed to initialize list of supported codec types"; 1099 // test call is started in a page with QVGA default codec, and then a real call 1100 // is started in another page with VGA default codec. This is the corner case 1102 bool WebRtcVideoEngine::SetDefaultCodec(const VideoCodec& codec) { argument 1103 if (!RebuildCodecList(codec)) { 1375 AddDefaultFeedbackParams(VideoCodec* codec) argument 1778 MaybeRegisterExternalEncoder( WebRtcVideoChannelSendInfo* send_channel, const webrtc::VideoCodec& codec) argument 3617 SetSendCodec(const webrtc::VideoCodec& codec) argument 3641 SetSendCodec( WebRtcVideoChannelSendInfo* send_channel, const webrtc::VideoCodec& codec) argument 4002 SanitizeBitrates( int channel_id, webrtc::VideoCodec* codec) argument 4189 SetSendSsrcs( int channel_id, const StreamParams& sp, const webrtc::VideoCodec& codec) argument [all...] |
H A D | webrtcvideoengine.h | 34 #include "talk/media/base/codec.h" 137 // Returns an external decoder for the given codec type. The return value 139 // codec type. The caller takes the ownership of the returned object. 144 // Returns an external encoder for the given codec type. The return value 146 // codec type. The caller takes the ownership of the returned object. 151 // Returns true if the codec type is supported by the external encoder. 201 bool SetDefaultCodec(const VideoCodec& codec); 325 const webrtc::VideoCodec& codec); 353 bool SetSendCodec(const webrtc::VideoCodec& codec); 355 const webrtc::VideoCodec& codec); [all...] |
H A D | webrtcvideoengine2.cc | 84 static void AddDefaultFeedbackParams(VideoCodec* codec) { argument 86 codec->AddFeedbackParam(kFir); 88 codec->AddFeedbackParam(kNack); 90 codec->AddFeedbackParam(kPli); 92 codec->AddFeedbackParam(kRemb); 95 static bool IsNackEnabled(const VideoCodec& codec) { argument 96 return codec.HasFeedbackParam( 100 static bool IsRembEnabled(const VideoCodec& codec) { argument 101 return codec.HasFeedbackParam( 169 const VideoCodec& codec, 168 CreateVideoStreams( const VideoCodec& codec, const VideoOptions& options, size_t num_streams) argument 199 CreateVideoEncoder( const VideoCodec& codec, const VideoOptions& options) argument 212 CreateVideoEncoderSettings( const VideoCodec& codec, const VideoOptions& options) argument 225 DestroyVideoEncoderSettings( const VideoCodec& codec, void* encoder_settings) argument 237 SupportsCodec(const VideoCodec& codec) argument 339 const VideoCodec& codec = config.max_codec; local 835 GetSendCodec(VideoCodec* codec) argument 1584 VideoCodec codec = codec_settings.codec; local 1731 webrtc::VideoCodec codec; local [all...] |
H A D | webrtcvideoengine2.h | 115 const VideoCodec& codec, 120 const VideoCodec& codec, 123 virtual void* CreateVideoEncoderSettings(const VideoCodec& codec, 126 virtual void DestroyVideoEncoderSettings(const VideoCodec& codec, 129 virtual bool SupportsCodec(const cricket::VideoCodec& codec); 284 VideoCodec codec; member in struct:cricket::WebRtcVideoChannel2::VideoCodecSettings 303 void SetCodec(const VideoCodecSettings& codec); 337 void SetCodecAndOptions(const VideoCodecSettings& codec, 341 // When |override_max| is false constrain width/height to codec dimensions.
|
H A D | webrtcvideoengine2_unittest.cc | 55 void VerifyCodecHasDefaultFeedbackParams(const cricket::VideoCodec& codec) { argument 56 EXPECT_TRUE(codec.HasFeedbackParam(cricket::FeedbackParam( 58 EXPECT_TRUE(codec.HasFeedbackParam(cricket::FeedbackParam( 60 EXPECT_TRUE(codec.HasFeedbackParam(cricket::FeedbackParam( 62 EXPECT_TRUE(codec.HasFeedbackParam(cricket::FeedbackParam( 153 void FakeVideoReceiveStream::GetCurrentReceiveCodec(webrtc::VideoCodec* codec) { argument 178 webrtc::VideoCodec codec; local 179 codec.minBitrate = 300; 180 codec.startBitrate = 800; 181 codec 666 VideoCodec codec; local 1224 VideoCodec codec; local 1348 VideoCodec codec; local [all...] |
H A D | webrtcvideoengine2_unittest.h | 81 virtual void GetCurrentReceiveCodec(webrtc::VideoCodec* codec);
|
H A D | webrtcvideoengine_unittest.cc | 76 engine, // codec 213 void VerifyCodecFeedbackParams(const cricket::VideoCodec& codec) { argument 214 EXPECT_TRUE(codec.HasFeedbackParam( 217 EXPECT_TRUE(codec.HasFeedbackParam( 220 EXPECT_TRUE(codec.HasFeedbackParam( 223 EXPECT_TRUE(codec.HasFeedbackParam( 240 // Video codec properties. 382 // Test that ViE Channel doesn't call SetSendCodec again if same codec is tried 395 // Since it's exact same codec which is already set, media channel shouldn't 396 // send the codec t 411 cricket::VideoCodec codec; local 432 cricket::VideoCodec codec; local 449 cricket::VideoCodec codec; local 494 cricket::VideoCodec codec; local [all...] |
H A D | webrtcvie.h | 93 ViEWrapper(webrtc::ViEBase* base, webrtc::ViECodec* codec, argument 100 codec_(codec), 112 webrtc::ViECodec* codec() { return codec_.get(); } function in class:cricket::ViEWrapper
|
H A D | webrtcvoe.h | 105 webrtc::VoECodec* codec, 118 codec_(codec), 133 webrtc::VoECodec* codec() const { return codec_.get(); } function in class:cricket::VoEWrapper 103 VoEWrapper(webrtc::VoEAudioProcessing* processing, webrtc::VoEBase* base, webrtc::VoECodec* codec, webrtc::VoEDtmf* dtmf, webrtc::VoEFile* file, webrtc::VoEHardware* hw, webrtc::VoEExternalMedia* media, webrtc::VoENetEqStats* neteq, webrtc::VoENetwork* network, webrtc::VoERTP_RTCP* rtp, webrtc::VoEVideoSync* sync, webrtc::VoEVolumeControl* volume) argument
|
H A D | webrtcvoiceengine.cc | 147 static std::string ToString(const AudioCodec& codec) { argument 149 ss << codec.name << "/" << codec.clockrate << "/" << codec.channels 150 << " (" << codec.id << ")"; 153 static std::string ToString(const webrtc::CodecInst& codec) { argument 155 ss << codec.plname << "/" << codec.plfreq << "/" << codec.channels 156 << " (" << codec 183 IsCodecMultiRate(const webrtc::CodecInst& codec) argument 205 FindCodec(const std::vector<AudioCodec>& codecs, const AudioCodec& codec, AudioCodec* found_codec) argument 220 IsNackEnabled(const AudioCodec& codec) argument 394 IsOpus(const AudioCodec& codec) argument 398 IsIsac(const AudioCodec& codec) argument 403 IsOpusStereoEnabled(const AudioCodec& codec) argument 415 GetOpusBitrateFromParams(const AudioCodec& codec) argument 430 IsOpusFecEnabled(const AudioCodec& codec) argument 437 GetOpusMaxPlaybackRate(const AudioCodec& codec) argument 445 GetOpusConfig(const AudioCodec& codec, webrtc::CodecInst* voe_codec, bool* enable_codec_fec, int* max_playback_rate) argument 3296 webrtc::CodecInst codec; local 3571 std::vector<AudioCodec>::const_iterator codec; local [all...] |
H A D | webrtcvoiceengine.h | 139 bool FindCodec(const AudioCodec& codec); 140 bool FindWebRtcCodec(const AudioCodec& codec, webrtc::CodecInst* gcodec);
|
H A D | webrtcvoiceengine_unittest.cc | 73 engine, // codec 232 // |codec| is the codec under test. 236 void TestSendBandwidth(const cricket::AudioCodec& codec, argument 243 codecs.push_back(codec); 398 cricket::AudioCodec codec; local 407 codec = kIsacCodec; 408 codec.id = 127; 409 EXPECT_TRUE(engine_.FindWebRtcCodec(codec, &codec_inst)); 410 EXPECT_EQ(codec 702 webrtc::CodecInst codec; local 714 webrtc::CodecInst codec; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
H A D | channelmanager_unittest.cc | 194 cricket::VideoCodec codec(96, "G264", 1280, 720, 60, 0); 195 cricket::VideoEncoderConfig config(codec, 1, 2); 216 VideoCodec codec(100, "VP8", 640, 360, 30, 0); 218 VideoEncoderConfig config(codec, 1, 2); 242 cricket::VideoCodec codec(96, "G264", 1280, 720, 60, 0); 243 cricket::VideoEncoderConfig config(codec, 1, 2);
|
H A D | mediasession.cc | 317 // Filter RTP codec for SCTP and vice versa. 697 static bool IsRtxCodec(const C& codec) { argument 698 return stricmp(codec.name.c_str(), kRtxCodecName) == 0; 834 C codec = *it; local 835 int original_payload_id = codec.id; 836 used_pltypes->FindAndSetIdUsed(&codec); 837 offered_codecs->push_back(codec); 839 // If this codec is referenced by a new RTX codec, update the reference 840 // in the RTX codec wit [all...] |
H A D | mediasession.h | 37 #include "talk/media/base/codec.h" 320 void AddCodec(const C& codec) { argument 321 codecs_.push_back(codec); 323 void AddOrReplaceCodec(const C& codec) { argument 326 if (iter->id == codec.id) { 327 *iter = codec; 331 AddCodec(codec); 334 typename std::vector<C>::const_iterator codec; local 335 for (codec = codecs.begin(); codec ! [all...] |
H A D | mediasessionclient.cc | 382 AudioCodec codec; local 383 if (ParseGingleAudioCodec(codec_elem, &codec)) { 384 codec.preference = preference--; 385 audio->AddCodec(codec); 416 VideoCodec codec; local 417 if (ParseGingleVideoCodec(codec_elem, &codec)) { 418 codec.preference = preference--; 419 video->AddCodec(codec); 503 bool ParseJingleAudioCodec(const buzz::XmlElement* elem, AudioCodec* codec) { argument 516 *codec 521 ParseJingleVideoCodec(const buzz::XmlElement* elem, VideoCodec* codec) argument 540 ParseJingleDataCodec(const buzz::XmlElement* elem, DataCodec* codec) argument 583 AudioCodec codec; local 625 VideoCodec codec; local 697 DataCodec codec; local 757 CreateGingleAudioCodecElem(const AudioCodec& codec) argument 771 CreateGingleVideoCodecElem(const VideoCodec& codec) argument 915 CreateJingleAudioCodecElem(const AudioCodec& codec) argument 936 CreateJingleVideoCodecElem(const VideoCodec& codec) argument 960 CreateJingleDataCodecElem(const DataCodec& codec) argument [all...] |
H A D | mediasessionclient_unittest.cc | 682 // Initiate with a dynamic codec not using webrtc default payload id. Should 711 // Initiate string with nothing but static codec id's. Should accept. 1148 // Parses and extracts payload and codec info from test XML. Since 1253 AudioCodec codec = AudioCodec(id, name, clockrate, bitrate, channels, 0); local 1254 ParsePayloadTypeFeedbackParameters(payload_type, &codec.feedback_params); 1255 return codec; 1284 VideoCodec codec = VideoCodec(id, name, width, height, framerate, 0); local 1285 ParsePayloadTypeFeedbackParameters(payload_type, &codec.feedback_params); 1286 return codec; 1299 DataCodec codec local 1654 cricket::DataCodec codec = DataCodecFromPayloadType(e); local 1859 VerifyAudioCodec(const AudioCodec& codec, int id, const std::string& name, int clockrate, int bitrate, int channels) argument 1894 cricket::AudioCodec codec = AudioCodecFromPayloadType(e); local 2043 VideoCodec codec = VideoCodecFromPayloadType(e); local 2068 cricket::AudioCodec codec = AudioCodecFromPayloadType(e); local 2229 cricket::AudioCodec codec = AudioCodecFromPayloadType(payload_type); local 2253 cricket::AudioCodec codec = AudioCodecFromPayloadType(e); local 2293 cricket::AudioCodec codec = AudioCodecFromPayloadType(e); local 2307 cricket::AudioCodec codec = AudioCodecFromPayloadType(e); local 2327 cricket::AudioCodec codec = AudioCodecFromPayloadType(e); local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | codec.cc | 28 #include "talk/media/base/codec.h" 92 bool Codec::Matches(const Codec& codec) const { 93 // Match the codec id/name based on the typical static/dynamic name rules. 95 return (codec.id <= kMaxStaticPayloadId) ? 96 (id == codec.id) : (_stricmp(name.c_str(), codec.name.c_str()) == 0); 138 bool AudioCodec::Matches(const AudioCodec& codec) const { 141 // unless the codec is VBR (0), where we just force the supplied value. 148 return Codec::Matches(codec) && 149 ((codec [all...] |
H A D | codec.h | 88 // Creates a codec with the given parameters. 96 // Creates an empty codec. 99 // Indicates if this codec is compatible with the specified codec. 100 bool Matches(const Codec& codec) const; 152 // Creates a codec with the given parameters. 159 // Creates an empty codec. 162 // Indicates if this codec is compatible with the specified codec. 163 bool Matches(const AudioCodec& codec) cons [all...] |
H A D | codec_unittest.cc | 28 #include "talk/media/base/codec.h" 123 // Test a codec with a static payload type. 135 // Test a codec with a dynamic payload type. 145 // Test a codec with a dynamic payload type, and auto bitrate. 202 // Test a codec with a static payload type. 207 // Test a codec with a dynamic payload type. 266 // Test a codec with a static payload type. 271 // Test a codec with a dynamic payload type. 282 AudioCodec codec; local 283 codec [all...] |