545 files changed, 230976 insertions, 0 deletions
diff --git a/audio_codec/libraac/include/codec_defines.h b/audio_codec/libraac/include/codec_defines.h new file mode 100644 index 0000000..c143a75 --- a/dev/null +++ b/audio_codec/libraac/include/codec_defines.h @@ -0,0 +1,93 @@ +/* ***** BEGIN LICENSE BLOCK ***** + * Source last modified: $Id: codec_defines.h,v 1.1.1.1.2.1 2005/05/04 18:20:57 hubbe Exp $ + * + * REALNETWORKS CONFIDENTIAL--NOT FOR DISTRIBUTION IN SOURCE CODE FORM + * Portions Copyright (c) 1995-2005 RealNetworks, Inc. + * All Rights Reserved. + * + * The contents of this file, and the files included with this file, + * are subject to the current version of the Real Format Source Code + * Porting and Optimization License, available at + * https://helixcommunity.org/2005/license/realformatsource (unless + * RealNetworks otherwise expressly agrees in writing that you are + * subject to a different license). You may also obtain the license + * terms directly from RealNetworks. You may not use this file except + * in compliance with the Real Format Source Code Porting and + * Optimization License. There are no redistribution rights for the + * source code of this file. Please see the Real Format Source Code + * Porting and Optimization License for the rights, obligations and + * limitations governing use of the contents of the file. + * + * RealNetworks is the developer of the Original Code and owns the + * copyrights in the portions it created. + * + * This file, and the files included with this file, is distributed and + * made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL + * SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT + * OR NON-INFRINGEMENT. + * + * Technology Compatibility Kit Test Suite(s) Location: + * https://rarvcode-tck.helixcommunity.org + * + * Contributor(s): + * + * ***** END LICENSE BLOCK ***** */ + +#ifndef CODEC_DEFINES_H +#define CODEC_DEFINES_H + +/* Audio codec defines */ +#define RA_FORMAT_ID 0x2E7261FD /* RealAudio Stream */ +#define RA_NO_INTERLEAVER 0x496E7430 /* 'Int0' (no interleaver) */ +#define RA_INTERLEAVER_SIPR 0x73697072 /* interleaver used for SIPRO codec ("sipr") */ +#define RA_INTERLEAVER_GENR 0x67656E72 /* interleaver used for ra8lbr and ra8hbr codecs ("genr") */ +#define RA_INTERLEAVER_VBRS 0x76627273 /* Simple VBR interleaver ("vbrs") */ +#define RA_INTERLEAVER_VBRF 0x76627266 /* Simple VBR interleaver (with possibly fragmenting) ("vbrf") */ + +/* Video codec defines */ +#define HX_MEDIA_AUDIO 0x4155444FL /* 'AUDO' */ +#define HX_MEDIA_VIDEO 0x5649444FL /* 'VIDO' */ + +#define HX_RVTRVIDEO_ID 0x52565452 /* 'RVTR' (for rv20 codec) */ +#define HX_RVTR_RV30_ID 0x52565432 /* 'RVT2' (for rv30 codec) */ +#define HX_RV20VIDEO_ID 0x52563230 /* 'RV20' */ +#define HX_RV30VIDEO_ID 0x52563330 /* 'RV30' */ +#define HX_RV40VIDEO_ID 0x52563430 /* 'RV40' */ +#define HX_RVG2VIDEO_ID 0x52564732 /* 'RVG2' (raw TCK format) */ +#define HX_RV89COMBO_ID 0x54524F4D /* 'TROM' (raw TCK format) */ + +#define RV20_MAJOR_BITSTREAM_VERSION 2 + +#define RV30_MAJOR_BITSTREAM_VERSION 3 +#define RV30_BITSTREAM_VERSION 2 +#define RV30_PRODUCT_RELEASE 0 +#define RV30_FRONTEND_VERSION 2 + +#define RV40_MAJOR_BITSTREAM_VERSION 4 +#define RV40_BITSTREAM_VERSION 0 +#define RV40_PRODUCT_RELEASE 2 +#define RV40_FRONTEND_VERSION 0 + +#define RAW_BITSTREAM_MINOR_VERSION 128 + +#define RAW_RVG2_MAJOR_VERSION 2 +#define RAW_RVG2_BITSTREAM_VERSION RAW_BITSTREAM_MINOR_VERSION +#define RAW_RVG2_PRODUCT_RELEASE 0 +#define RAW_RVG2_FRONTEND_VERSION 0 + +#define RAW_RV8_MAJOR_VERSION 3 +#define RAW_RV8_BITSTREAM_VERSION RAW_BITSTREAM_MINOR_VERSION +#define RAW_RV8_PRODUCT_RELEASE 0 +#define RAW_RV8_FRONTEND_VERSION 0 + +#define RAW_RV9_MAJOR_VERSION 4 +#define RAW_RV9_BITSTREAM_VERSION RAW_BITSTREAM_MINOR_VERSION +#define RAW_RV9_PRODUCT_RELEASE 0 +#define RAW_RV9_FRONTEND_VERSION 0 + +#define WIDTHBYTES(i) ((unsigned long)((i+31)&(~31))/8) /* ULONG aligned ! */ +#define T_YUV420 10 + +#endif /* #ifndef CODEC_DEFINES_H */ |