Searched refs:codec_type (Results 1 - 25 of 49) sorted by relevance

12

/external/bluetooth/bluedroid/bta/include/
H A Dbta_av_co.h71 UINT8 codec_type; /* Codec type */ member in struct:__anon750
132 BTA_API extern UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
148 BTA_API extern UINT8 bta_av_co_video_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
163 BTA_API extern void bta_av_co_audio_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
178 BTA_API extern void bta_av_co_video_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
196 tBTA_AV_CODEC codec_type, UINT8 *p_codec_info,
211 tBTA_AV_CODEC codec_type, UINT8 *p_codec_info,
228 BTA_API extern void bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
242 BTA_API extern void bta_av_co_video_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
256 BTA_API extern void bta_av_co_audio_start(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
[all...]
H A Dbta_dm_co.h44 tBTA_SCO_CODEC_TYPE codec_type; member in struct:__anon751
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Ddecoder_database.h43 : codec_type(kDecoderArbitrary),
49 : codec_type(ct),
57 NetEqDecoder codec_type; member in struct:webrtc::DecoderDatabase::DecoderInfo
83 // Registers |rtp_payload_type| as a decoder of type |codec_type|. Returns
86 NetEqDecoder codec_type);
89 // as a decoder of type |codec_type| with |rtp_payload_type|.
91 NetEqDecoder codec_type,
102 // Returns one RTP payload type associated with |codec_type|, or
104 // |codec_type| may be registered with several RTP payload types, and the
106 virtual uint8_t GetRtpPayloadType(NetEqDecoder codec_type) cons
[all...]
H A Daudio_decoder.cc54 NetEqDecoder AudioDecoder::codec_type() const { return codec_type_; } function in class:webrtc::AudioDecoder
56 bool AudioDecoder::CodecSupported(NetEqDecoder codec_type) { argument
57 switch (codec_type) {
110 int AudioDecoder::CodecSampleRateHz(NetEqDecoder codec_type) { argument
111 switch (codec_type) {
178 AudioDecoder* AudioDecoder::CreateAudioDecoder(NetEqDecoder codec_type) { argument
179 if (!CodecSupported(codec_type)) {
182 switch (codec_type) {
213 return new AudioDecoderPcm16B(codec_type);
219 return new AudioDecoderPcm16BMultiCh(codec_type);
[all...]
H A Ddecoder_database.cc40 NetEqDecoder codec_type) {
44 if (!AudioDecoder::CodecSupported(codec_type)) {
47 int fs_hz = AudioDecoder::CodecSampleRateHz(codec_type);
49 DecoderInfo info(codec_type, fs_hz, NULL, false);
59 NetEqDecoder codec_type,
65 if (!AudioDecoder::CodecSupported(codec_type)) {
76 DecoderInfo info(codec_type, fs_hz, decoder, true);
111 NetEqDecoder codec_type) const {
114 if ((*it).second.codec_type == codec_type) {
39 RegisterPayload(uint8_t rtp_payload_type, NetEqDecoder codec_type) argument
58 InsertExternal(uint8_t rtp_payload_type, NetEqDecoder codec_type, int fs_hz, AudioDecoder* decoder) argument
[all...]
H A Dtimestamp_scaler_unittest.cc27 info.codec_type = kDecoderPCMu; // Does not use scaled timestamps.
47 info.codec_type = kDecoderPCMu; // Does not use scaled timestamps.
72 info.codec_type = kDecoderG722; // Uses a factor 2 scaling.
96 info.codec_type = kDecoderG722; // Uses a factor 2 scaling.
124 info_g722.codec_type = kDecoderG722; // Uses a factor 2 scaling.
125 info_cng.codec_type = kDecoderCNGwb;
165 info.codec_type = kDecoderG722; // Does uses a factor 2 scaling.
193 info.codec_type = kDecoderG722; // Uses a factor 2 scaling.
222 info.codec_type = kDecoderG722; // Uses a factor 2 scaling.
262 info.codec_type
[all...]
H A Ddecoder_database_unittest.cc52 EXPECT_EQ(kDecoderPCMu, info->codec_type);
126 EXPECT_EQ(kDecoderPCMu, info->codec_type);
192 EXPECT_EQ(kDecoderPCMu, decoder->codec_type());
199 EXPECT_EQ(kDecoderPCMu, decoder->codec_type());
206 EXPECT_EQ(kDecoderISAC, decoder->codec_type());
216 EXPECT_EQ(kDecoderCNGnb, decoder->codec_type());
H A Dtimestamp_scaler.cc42 switch (info->codec_type) {
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/mock/
H A Dmock_decoder_database.h31 int(uint8_t rtp_payload_type, NetEqDecoder codec_type));
33 int(uint8_t rtp_payload_type, NetEqDecoder codec_type, int fs_hz,
40 uint8_t(NetEqDecoder codec_type));
44 bool(uint8_t rtp_payload_type, NetEqDecoder codec_type));
H A Dmock_audio_decoder.h33 MOCK_CONST_METHOD0(codec_type, NetEqDecoder());
H A Dmock_external_decoder_pcm16b.h70 ON_CALL(*this, codec_type())
71 .WillByDefault(Invoke(&real_, &ExternalPcm16B::codec_type));
91 MOCK_CONST_METHOD0(codec_type,
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/interface/
H A Daudio_decoder.h122 virtual NetEqDecoder codec_type() const;
127 // Returns true if |codec_type| is supported.
128 static bool CodecSupported(NetEqDecoder codec_type);
130 // Returns the sample rate for |codec_type|.
131 static int CodecSampleRateHz(NetEqDecoder codec_type);
133 // Creates an AudioDecoder object of type |codec_type|. Returns NULL for
136 static AudioDecoder* CreateAudioDecoder(NetEqDecoder codec_type);
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
H A Drtp_player.h28 VideoCodecType codec_type)
31 codec_type_(codec_type) {
36 VideoCodecType codec_type() const { return codec_type_; } function in class:webrtc::rtpplayer::PayloadCodecTuple
27 PayloadCodecTuple(uint8_t payload_type, const std::string& codec_name, VideoCodecType codec_type) argument
H A Dvcm_payload_sink_factory.cc153 if (it->codec_type() != kVideoCodecULPFEC &&
154 it->codec_type() != kVideoCodecRED) {
156 if (VideoCodingModule::Codec(it->codec_type(), &codec) < 0) {
/external/bluetooth/bluedroid/btif/co/
H A Dbta_av_co.c118 UINT8 codec_type; /* peer SEP codec type */ member in struct:__anon985
172 static BOOLEAN bta_av_co_audio_media_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg);
173 static BOOLEAN bta_av_co_audio_sink_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg);
457 UINT8 bta_av_audio_sink_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, argument
472 APPL_TRACE_DEBUG("bta_av_audio_sink_getconfig handle:0x%x codec_type:%d seid:%d",
473 hndl, codec_type, seid);
492 switch (codec_type)
514 p_src->codec_type = codec_type;
593 BTA_API UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, argument
752 bta_av_co_audio_setconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, UINT8 seid, BD_ADDR addr, UINT8 num_protect, UINT8 *p_protect_info, UINT8 t_local_sep, UINT8 avdt_handle) argument
909 bta_av_co_audio_open(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, UINT16 mtu) argument
943 bta_av_co_audio_close(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT16 mtu) argument
981 bta_av_co_audio_start(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT8 *p_codec_info, BOOLEAN *p_no_rtp_hdr) argument
1006 bta_av_co_audio_stop(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type) argument
1026 bta_av_co_audio_src_data_path(tBTA_AV_CODEC codec_type, UINT32 *p_len, UINT32 *p_timestamp) argument
1328 UINT8 codec_type; local
1369 UINT8 codec_type; local
1411 bta_av_co_audio_sink_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg) argument
1442 bta_av_co_audio_media_supports_config(UINT8 codec_type, const UINT8 *p_codec_cfg) argument
[all...]
/external/chromium_org/media/base/
H A Dmedia_file_checker.cc47 if (c->codec_type == AVMEDIA_TYPE_AUDIO ||
48 c->codec_type == AVMEDIA_TYPE_VIDEO) {
82 if (av_context->codec_type == AVMEDIA_TYPE_AUDIO) {
96 } else if (av_context->codec_type == AVMEDIA_TYPE_VIDEO) {
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Dacm_send_test.h36 bool RegisterCodec(int codec_type,
H A Dacm_send_test.cc50 bool AcmSendTest::RegisterCodec(int codec_type, argument
55 acm_->RegisterSendCodec(codec_type, payload_type, frame_size_samples);
H A Daudio_coding_module_unittest.cc151 int codec_type = acm2::ACMCodecDB::kNone; local
154 codec_type = acm2::ACMCodecDB::kPCM16B;
157 codec_type = acm2::ACMCodecDB::kPCM16Bwb;
160 codec_type = acm2::ACMCodecDB::kPCM16Bswb32kHz;
165 ASSERT_TRUE(acm_->RegisterSendCodec(codec_type, kPayloadType));
166 ASSERT_TRUE(acm_->RegisterReceiveCodec(codec_type, kPayloadType));
632 bool RegisterSendCodec(int codec_type, argument
640 codec_type, channels, payload_type, frame_size_samples);
722 void SetUpTest(int codec_type, argument
728 ASSERT_TRUE(RegisterSendCodec(codec_type,
[all...]
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_act.c896 tBTA_AG_PEER_CODEC codec_type = p_data->api_setcodec.codec; local
900 if((codec_type != BTA_AG_CODEC_NONE) &&
901 (codec_type != BTA_AG_CODEC_CVSD) &&
902 (codec_type != BTA_AG_CODEC_MSBC))
904 val.num = codec_type;
906 APPL_TRACE_ERROR("bta_ag_setcodec error: unsupported codec type %d", codec_type);
911 if((p_scb->peer_codecs & codec_type) || (codec_type == BTA_AG_CODEC_NONE) ||
912 (codec_type == BTA_AG_CODEC_CVSD))
914 p_scb->sco_codec = codec_type;
[all...]
/external/chromium_org/components/cdm/browser/
H A Dcdm_message_filter_android.cc31 CodecType codec_type; member in struct:cdm::CodecInfo
56 bool is_secure = (info.codec_type == CODEC_VIDEO)
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
H A Dwebrtcvideocapturer.h84 webrtc::VideoCodecType codec_type) {
82 OnIncomingCapturedEncodedFrame(const int32_t id, webrtc::VideoFrame& frame, webrtc::VideoCodecType codec_type) argument
/external/chromium_org/third_party/webrtc/
H A Dvideo_encoder.h45 static VideoEncoder* Create(EncoderType codec_type);
/external/bluetooth/bluedroid/bta/av/
H A Dbta_av_int.h164 typedef UINT8 (*tBTA_AV_CO_GETCFG) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
167 typedef void (*tBTA_AV_CO_SETCFG) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,
172 tBTA_AV_CODEC codec_type, UINT8 *p_codec_info,
174 typedef void (*tBTA_AV_CO_CLOSE) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, UINT16 mtu);
175 typedef void (*tBTA_AV_CO_START) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type,UINT8 *p_codec_info, BOOLEAN *p_no_rtp_hdr);
176 typedef void (*tBTA_AV_CO_STOP) (tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type);
177 typedef void * (*tBTA_AV_CO_DATAPATH) (tBTA_AV_CODEC codec_type,
385 tBTA_AV_CODEC codec_type; /* codec type */ member in struct:__anon454
482 tBTA_AV_CODEC codec_type; /* codec type */ member in struct:__anon458
/external/chromium_org/content/renderer/media/
H A Drtc_video_decoder_unittest.cc66 void CreateDecoder(webrtc::VideoCodecType codec_type) { argument
68 codec_.codecType = codec_type;
70 RTCVideoDecoder::Create(codec_type, mock_gpu_factories_);

Completed in 894 milliseconds

12