⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 aaccmn_adts.h

📁 audio-video-codecs.rar语音编解码器
💻 H
字号:
/*//////////////////////////////////////////////////////////////////////////////
//
//                  INTEL CORPORATION PROPRIETARY INFORMATION
//     This software is supplied under the terms of a license agreement or
//     nondisclosure agreement with Intel Corporation and may not be copied
//     or disclosed except in accordance with the terms of that agreement.
//          Copyright(c) 2003-2006 Intel Corporation. All Rights Reserved.
//
*/

#ifndef __AACCMN_ADTS_H
#define __AACCMN_ADTS_H

#include "bstream.h"

typedef struct
{
  Ipp32s ID;
  Ipp32s Layer;
  Ipp32s protection_absent;
  Ipp32s Profile;
  Ipp32s sampling_frequency_index;
  Ipp32s private_bit;
  Ipp32s channel_configuration;
  Ipp32s original_copy;
  Ipp32s Home;
  Ipp32s Emphasis;

} sAdts_fixed_header;

typedef struct
{
  Ipp32s copyright_identification_bit;
  Ipp32s copyright_identification_start;
  Ipp32s aac_frame_length;
  Ipp32s adts_buffer_fullness;
  Ipp32s no_raw_data_blocks_in_frame;

} sAdts_variable_header;

#ifdef  __cplusplus
extern "C" {
#endif
/*
Ipp32s dec_adts_fixed_header(s_adts_fixed_header* pHeader,sBitsreamBuffer* pBS);
Ipp32s dec_adts_variable_header(s_adts_variable_header* pHeader,sBitsreamBuffer* pBS);
*/
Ipp32s  dec_adts_fixed_header(sAdts_fixed_header* pHeader,sBitsreamBuffer* BS);
Ipp32s  dec_adts_variable_header(sAdts_variable_header* pHeader,sBitsreamBuffer* BS);

Ipp32s unpack_adts_fixed_header(sAdts_fixed_header* p_header,Ipp8u **pp_bitstream, Ipp32s *p_offset);
Ipp32s unpack_adts_variable_header(sAdts_variable_header* p_header,Ipp8u **pp_bitstream, Ipp32s *p_offset);

Ipp32s get_audio_object_type_by_adts_header(sAdts_fixed_header* p_header);

#ifdef  __cplusplus
}
#endif

#endif//__AACCMN_ADTS_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -