2007-05-04 02:50:24 +03: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 19:35:10 +02:00
|
|
|
* This file is part of Libav.
|
2007-05-04 02:50:24 +03:00
|
|
|
*
|
2011-03-18 19:35:10 +02:00
|
|
|
* Libav is free software; you can redistribute it and/or
|
2007-05-04 02:50:24 +03: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 19:35:10 +02:00
|
|
|
* Libav is distributed in the hope that it will be useful,
|
2007-05-04 02:50:24 +03: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 19:35:10 +02:00
|
|
|
* License along with Libav; if not, write to the Free Software
|
2007-05-04 02:50:24 +03:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
|
2008-08-31 10:39:47 +03:00
|
|
|
#ifndef AVCODEC_DCA_H
|
|
|
|
#define AVCODEC_DCA_H
|
2007-06-17 03:01:30 +03:00
|
|
|
|
2012-07-31 21:09:23 +03:00
|
|
|
#include <stdint.h>
|
|
|
|
|
2007-05-04 02:50:24 +03: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 03:01:30 +03:00
|
|
|
|
2008-11-29 12:06:37 +02:00
|
|
|
/** DCA-HD specific block starts with this marker. */
|
|
|
|
#define DCA_HD_MARKER 0x64582025
|
|
|
|
|
2012-08-01 12:12:08 +03:00
|
|
|
extern const uint32_t avpriv_dca_sample_rates[16];
|
2012-07-31 21:09:23 +03:00
|
|
|
|
2008-08-31 10:39:47 +03:00
|
|
|
#endif /* AVCODEC_DCA_H */
|