2007-05-03 23:50:24 +00:00
|
|
|
/*
|
|
|
|
* DCA compatible decoder
|
|
|
|
* Copyright (C) 2004 Gildas Bazin
|
|
|
|
* Copyright (C) 2004 Benjamin Zores
|
|
|
|
* Copyright (C) 2006 Benjamin Larsson
|
|
|
|
* Copyright (C) 2007 Konstantin Shishkov
|
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* This file is part of Libav.
|
2007-05-03 23:50:24 +00:00
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2007-05-03 23:50:24 +00:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
2011-03-18 17:35:10 +00:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2007-05-03 23:50:24 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2011-03-18 17:35:10 +00:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2007-05-03 23:50:24 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
2008-08-31 07:39:47 +00:00
|
|
|
#ifndef AVCODEC_DCA_H
|
|
|
|
#define AVCODEC_DCA_H
|
2007-06-17 00:01:30 +00:00
|
|
|
|
2012-07-31 18:09:23 +00:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2007-05-03 23:50:24 +00:00
|
|
|
/** DCA syncwords, also used for bitstream type detection */
|
|
|
|
#define DCA_MARKER_RAW_BE 0x7FFE8001
|
|
|
|
#define DCA_MARKER_RAW_LE 0xFE7F0180
|
|
|
|
#define DCA_MARKER_14B_BE 0x1FFFE800
|
|
|
|
#define DCA_MARKER_14B_LE 0xFF1F00E8
|
2007-06-17 00:01:30 +00:00
|
|
|
|
2008-11-29 10:06:37 +00:00
|
|
|
/** DCA-HD specific block starts with this marker. */
|
|
|
|
#define DCA_HD_MARKER 0x64582025
|
|
|
|
|
2012-07-31 18:09:23 +00:00
|
|
|
extern const uint32_t ff_dca_sample_rates[16];
|
|
|
|
|
2008-08-31 07:39:47 +00:00
|
|
|
#endif /* AVCODEC_DCA_H */
|