Home
last modified time | relevance | path

Searched refs:codec_type (Results 1 – 25 of 85) sorted by relevance

1234

/aosp12/system/bt/stack/a2dp/
H A Da2dp_codec_config.cc165 switch (codec_type) { in getTrackBitRate()
197 switch (codec_type) { in getCodecSpecificConfig()
1029 switch (codec_type) { in A2DP_IsSourceCodecValid()
1050 switch (codec_type) { in A2DP_IsSinkCodecValid()
1071 switch (codec_type) { in A2DP_IsPeerSourceCodecValid()
1092 switch (codec_type) { in A2DP_IsPeerSinkCodecValid()
1113 switch (codec_type) { in A2DP_IsSinkCodecSupported()
1135 switch (codec_type) { in A2DP_IsPeerSourceCodecSupported()
1179 switch (codec_type) { in A2DP_CodecName()
1249 switch (codec_type) { in A2DP_GetTrackSampleRate()
[all …]
/aosp12/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothCodecConfigTest.java161 int codec_type = selectCodecType(config_id); in testBluetoothCodecConfig_valid_get_methods() local
171 BluetoothCodecConfig bcc = new BluetoothCodecConfig(codec_type, codec_priority, in testBluetoothCodecConfig_valid_get_methods()
186 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC) { in testBluetoothCodecConfig_valid_get_methods()
192 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_SBC) { in testBluetoothCodecConfig_valid_get_methods()
195 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_AAC) { in testBluetoothCodecConfig_valid_get_methods()
198 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX) { in testBluetoothCodecConfig_valid_get_methods()
201 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_APTX_HD) { in testBluetoothCodecConfig_valid_get_methods()
204 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC) { in testBluetoothCodecConfig_valid_get_methods()
207 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_MAX) { in testBluetoothCodecConfig_valid_get_methods()
211 if (codec_type == BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID) { in testBluetoothCodecConfig_valid_get_methods()
[all …]
/aosp12/system/bt/bta/ag/
H A Dbta_ag_act.cc799 tBTA_AG_PEER_CODEC codec_type = data.api_setcodec.codec; in bta_ag_setcodec() local
804 if ((codec_type != BTA_AG_CODEC_NONE) && (codec_type != BTA_AG_CODEC_CVSD) && in bta_ag_setcodec()
805 (codec_type != BTA_AG_CODEC_MSBC)) { in bta_ag_setcodec()
806 val.num = codec_type; in bta_ag_setcodec()
809 codec_type); in bta_ag_setcodec()
814 if ((p_scb->peer_codecs & codec_type) || (codec_type == BTA_AG_CODEC_NONE) || in bta_ag_setcodec()
815 (codec_type == BTA_AG_CODEC_CVSD)) { in bta_ag_setcodec()
816 p_scb->sco_codec = codec_type; in bta_ag_setcodec()
818 val.num = codec_type; in bta_ag_setcodec()
822 val.num = codec_type; in bta_ag_setcodec()
[all …]
/aosp12/system/bt/audio_hal_interface/
H A Dcodec_status.cc217 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_SBC && in A2dpSbcToHalConfig()
218 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_SBC) { in A2dpSbcToHalConfig()
309 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_AAC && in A2dpAacToHalConfig()
310 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SINK_AAC) { in A2dpAacToHalConfig()
375 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_APTX && in A2dpAptxToHalConfig()
376 current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_APTX_HD) { in A2dpAptxToHalConfig()
382 if (current_codec.codec_type == BTAV_A2DP_CODEC_INDEX_SOURCE_APTX) { in A2dpAptxToHalConfig()
414 if (current_codec.codec_type != BTAV_A2DP_CODEC_INDEX_SOURCE_LDAC) { in A2dpLdacToHalConfig()
479 switch (preference.codec_type) { in UpdateOffloadingCapabilities()
501 << ": Ignore sink codec_type=" << preference.codec_type; in UpdateOffloadingCapabilities()
[all …]
H A Dclient_interface_unittest.cc407 a2dp_codec_config.codec_type = codec_index; in CodecOffloadingPreferenceGenerator()
653 CodecType codec_type) { in AptxCodecConfigurationsGenerator() argument
655 if (codec_type != CodecType::APTX && codec_type != CodecType::APTX_HD) in AptxCodecConfigurationsGenerator()
662 codec_config.codecType = codec_type; in AptxCodecConfigurationsGenerator()
666 (codec_type == CodecType::APTX ? 352000 : 576000); in AptxCodecConfigurationsGenerator()
/aosp12/system/bt/service/common/bluetooth/
H A Da2dp_codec_config.cc23 A2dpCodecConfig::A2dpCodecConfig(int codec_type, int codec_priority, in A2dpCodecConfig() argument
29 : codec_type_(codec_type), in A2dpCodecConfig()
H A Da2dp_codec_config.h28 A2dpCodecConfig(int codec_type, int codec_priority, int sample_rate,
34 int codec_type() const { return codec_type_; } in codec_type() function
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp126 OMX_VIDEO_CODINGTYPE codec_type; in component_init() local
137 codec_type = OMX_VIDEO_CodingMPEG4; in component_init()
141 codec_type = OMX_VIDEO_CodingH263; in component_init()
145 codec_type = OMX_VIDEO_CodingAVC; in component_init()
149 codec_type = OMX_VIDEO_CodingAVC; in component_init()
156 codec_type = OMX_VIDEO_CodingVP8; in component_init()
162 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
166 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
240 if (codec_type == OMX_VIDEO_CodingAVC) in component_init()
273 if (codec_type == OMX_VIDEO_CodingMPEG4) { in component_init()
[all …]
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp199 OMX_VIDEO_CODINGTYPE codec_type; in component_init() local
210 codec_type = OMX_VIDEO_CodingMPEG4; in component_init()
214 codec_type = OMX_VIDEO_CodingH263; in component_init()
218 codec_type = OMX_VIDEO_CodingAVC; in component_init()
222 codec_type = OMX_VIDEO_CodingAVC; in component_init()
229 codec_type = OMX_VIDEO_CodingVP8; in component_init()
235 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
239 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
312 if (codec_type == OMX_VIDEO_CodingAVC) in component_init()
352 if (codec_type == OMX_VIDEO_CodingMPEG4) { in component_init()
[all …]
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
H A Dframeparser.h36 enum codec_type enum
68 int init_start_codes (codec_type codec_type_parse);
/aosp12/hardware/qcom/sm8150/media/libarbitrarybytes/inc/
H A Dframeparser.h35 enum codec_type { enum
63 int init_start_codes (codec_type codec_type_parse);
/aosp12/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/src/
H A Domx_video_encoder.cpp104 OMX_VIDEO_CODINGTYPE codec_type; in component_init() local
115 codec_type = OMX_VIDEO_CodingMPEG4; in component_init()
121 codec_type = OMX_VIDEO_CodingH263; in component_init()
127 codec_type = OMX_VIDEO_CodingAVC; in component_init()
133 codec_type = OMX_VIDEO_CodingAVC; in component_init()
156 if(handle->venc_open(codec_type) != true) in component_init()
228 if(codec_type == OMX_VIDEO_CodingMPEG4) in component_init()
238 else if(codec_type == OMX_VIDEO_CodingAVC) in component_init()
282 if(codec_type == OMX_VIDEO_CodingMPEG4) in component_init()
315 if(codec_type == OMX_VIDEO_CodingMPEG4) in component_init()
[all …]
/aosp12/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp223 OMX_VIDEO_CODINGTYPE codec_type; in component_init() local
233 codec_type = OMX_VIDEO_CodingAVC; in component_init()
237 codec_type = OMX_VIDEO_CodingAVC; in component_init()
242 codec_type = OMX_VIDEO_CodingVP8; in component_init()
248 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
268 codec_type = OMX_VIDEO_CodingImageHEIC; in component_init()
273 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
333 if (handle->venc_open(codec_type) != true) { in component_init()
443 if (codec_type == OMX_VIDEO_CodingAVC) { in component_init()
498 if (codec_type == OMX_VIDEO_CodingAVC) { in component_init()
[all …]
/aosp12/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
H A Dframeparser.h36 enum codec_type { enum
69 int init_start_codes (codec_type codec_type_parse);
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
H A Dframeparser.h36 enum codec_type { enum
70 int init_start_codes (codec_type codec_type_parse);
/aosp12/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
H A Dframeparser.h36 enum codec_type { enum
70 int init_start_codes (codec_type codec_type_parse);
/aosp12/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp194 OMX_VIDEO_CODINGTYPE codec_type; in component_init() local
205 codec_type = OMX_VIDEO_CodingMPEG4; in component_init()
209 codec_type = OMX_VIDEO_CodingH263; in component_init()
213 codec_type = OMX_VIDEO_CodingAVC; in component_init()
217 codec_type = OMX_VIDEO_CodingAVC; in component_init()
224 codec_type = OMX_VIDEO_CodingVP8; in component_init()
230 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
234 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
315 if (codec_type == OMX_VIDEO_CodingAVC) { in component_init()
363 if (codec_type == OMX_VIDEO_CodingMPEG4) { in component_init()
[all …]
/aosp12/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp101 OMX_VIDEO_CODINGTYPE codec_type; in component_init() local
111 codec_type = OMX_VIDEO_CodingAVC; in component_init()
115 codec_type = OMX_VIDEO_CodingAVC; in component_init()
121 codec_type = OMX_VIDEO_CodingVP8; in component_init()
126 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
130 codec_type = OMX_VIDEO_CodingImageHEIC; in component_init()
134 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
160 if (handle->venc_open(codec_type) != true) { in component_init()
262 if (codec_type == OMX_VIDEO_CodingAVC) { in component_init()
317 if (codec_type == OMX_VIDEO_CodingAVC) { in component_init()
[all …]
/aosp12/system/bt/stack/test/
H A Dstack_a2dp_test.cc385 tA2DP_CODEC_TYPE codec_type = A2DP_GetCodecType(codec_info_sbc); in TEST_F() local
386 EXPECT_EQ(codec_type, A2DP_MEDIA_CT_SBC); in TEST_F()
388 codec_type = A2DP_GetCodecType(codec_info_aac); in TEST_F()
389 EXPECT_EQ(codec_type, A2DP_MEDIA_CT_AAC); in TEST_F()
391 codec_type = A2DP_GetCodecType(codec_info_non_a2dp); in TEST_F()
392 EXPECT_EQ(codec_type, A2DP_MEDIA_CT_NON_A2DP); in TEST_F()
475 for (uint8_t codec_type = A2DP_MEDIA_CT_AAC + 1; in TEST_F() local
476 codec_type < A2DP_MEDIA_CT_NON_A2DP; codec_type++) { in TEST_F()
477 codec_info_test[2] = codec_type; // Unknown codec type in TEST_F()
/aosp12/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
H A DVtsHalBluetoothAudioV2_0TargetTest.cpp392 void GetOffloadCodecCapabilityHelper(const CodecType& codec_type) { in GetOffloadCodecCapabilityHelper() argument
395 if (codec_capability.codecCapabilities().codecType != codec_type) { in GetOffloadCodecCapabilityHelper()
717 for (auto codec_type : {CodecType::APTX, CodecType::APTX_HD}) { in TEST_P()
719 codec_config.codecType = codec_type; in TEST_P()
721 (codec_type == CodecType::APTX ? 352000 : 576000); in TEST_P()
727 (codec_type == CodecType::APTX_HD ? true : false), true); in TEST_P()
758 for (auto codec_type : a2dp_codec_types) { in TEST_P() local
759 switch (codec_type) { in TEST_P()
784 codec_config.codecType = codec_type; in TEST_P()
/aosp12/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/venc/src/
H A Domx_video_encoder.cpp226 OMX_VIDEO_CODINGTYPE codec_type; in component_init() local
237 codec_type = OMX_VIDEO_CodingAVC; in component_init()
241 codec_type = OMX_VIDEO_CodingAVC; in component_init()
255 codec_type = OMX_VIDEO_CodingVP8; in component_init()
261 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
265 codec_type = OMX_VIDEO_CodingImageHEIC; in component_init()
269 codec_type = OMX_VIDEO_CodingHEVC; in component_init()
291 if (handle->venc_open(codec_type) != true) { in component_init()
395 if (codec_type == OMX_VIDEO_CodingAVC) { in component_init()
450 if (codec_type == OMX_VIDEO_CodingAVC) { in component_init()
[all …]
/aosp12/system/bt/service/
H A Da2dp_source.cc53 .codec_type = static_cast<btav_a2dp_codec_index_t>(config.codec_type()), in CodecConfigToFluoride()
82 A2dpCodecConfig ret(config.codec_type, config.codec_priority, in FluorideCodecToCodec()
/aosp12/hardware/interfaces/bluetooth/audio/2.1/vts/functional/
H A DVtsHalBluetoothAudioV2_1TargetTest.cpp479 void GetOffloadCodecCapabilityHelper(const CodecType& codec_type) { in GetOffloadCodecCapabilityHelper() argument
482 if (codec_capability.codecCapabilities().codecType != codec_type) { in GetOffloadCodecCapabilityHelper()
812 for (auto codec_type : {CodecType::APTX, CodecType::APTX_HD}) { in TEST_P()
814 codec_config.codecType = codec_type; in TEST_P()
816 (codec_type == CodecType::APTX ? 352000 : 576000); in TEST_P()
822 (codec_type == CodecType::APTX_HD ? true : false), true); in TEST_P()
853 for (auto codec_type : a2dp_codec_types) { in TEST_P() local
854 switch (codec_type) { in TEST_P()
879 codec_config.codecType = codec_type; in TEST_P()
/aosp12/system/bt/stack/test/fuzzers/a2dp/codec/
H A Da2dpCodecHelperFunctions.h98 config.codec_type = getArbitraryBtavCodecIndex(fdp); in getArbitraryBtavCodecConfig()
151 retval.codec_type = fdp->ConsumeIntegral<uint32_t>(); in generateArbitrarytA2dpOffload()
/aosp12/system/bt/include/hardware/
H A Dbt_av.h124 btav_a2dp_codec_index_t codec_type; member
141 switch (codec_type) { in ToString()

1234