Home
last modified time | relevance | path

Searched refs:audio_config (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dcodec-utils.h39 const gchar * gst_codec_utils_aac_get_profile (const guint8 * audio_config, guint len);
42 const gchar * gst_codec_utils_aac_get_level (const guint8 * audio_config, guint len);
45 guint gst_codec_utils_aac_get_sample_rate (const guint8 * audio_config, guint len);
48 guint gst_codec_utils_aac_get_channels (const guint8 * audio_config, guint len);
52 const guint8 * audio_config,
Dcodec-utils.c224 gst_codec_utils_aac_get_sample_rate (const guint8 * audio_config, guint len) in gst_codec_utils_aac_get_sample_rate() argument
228 GstBitReader br = GST_BIT_READER_INIT (audio_config, len); in gst_codec_utils_aac_get_sample_rate()
253 gst_codec_utils_aac_get_channels (const guint8 * audio_config, guint len) in gst_codec_utils_aac_get_channels() argument
260 channels = (audio_config[1] & 0x7f) >> 3; in gst_codec_utils_aac_get_channels()
284 gst_codec_utils_aac_get_profile (const guint8 * audio_config, guint len) in gst_codec_utils_aac_get_profile() argument
289 GstBitReader br = GST_BIT_READER_INIT (audio_config, len); in gst_codec_utils_aac_get_profile()
294 GST_MEMDUMP ("audio config", audio_config, len); in gst_codec_utils_aac_get_profile()
347 gst_codec_utils_aac_get_level (const guint8 * audio_config, guint len) in gst_codec_utils_aac_get_level() argument
364 GstBitReader br = GST_BIT_READER_INIT (audio_config, len); in gst_codec_utils_aac_get_level()
366 g_return_val_if_fail (audio_config != NULL, NULL); in gst_codec_utils_aac_get_level()
[all …]
/third_party/gstreamer/gstplugins_base/gst/typefind/
Dgsttypefindfunctions.c1262 guint8 audio_config[2]; in aac_type_find() local
1287 audio_config[0] = (profile_idx + 1) << 3; in aac_type_find()
1288 audio_config[0] |= (sample_freq_idx >> 1) & 0x7; in aac_type_find()
1289 audio_config[1] = (sample_freq_idx & 0x1) << 7; in aac_type_find()
1290 audio_config[1] |= (channel_config & 0xf) << 3; in aac_type_find()
1297 gst_codec_utils_aac_caps_set_level_and_profile (caps, audio_config, 2); in aac_type_find()