📄 rv30api.h
字号:
/* ***** BEGIN LICENSE BLOCK *****
* Version: RCSL 1.0/RPSL 1.0
*
* Portions Copyright (c) 1995-2002 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 RealNetworks Public Source License
* Version 1.0 (the "RPSL") available at
* http://www.helixcommunity.org/content/rpsl unless you have licensed
* the file under the RealNetworks Community Source License Version 1.0
* (the "RCSL") available at http://www.helixcommunity.org/content/rcsl,
* in which case the RCSL will apply. You may also obtain the license terms
* directly from RealNetworks. You may not use this file except in
* compliance with the RPSL or, if you have a valid RCSL with RealNetworks
* applicable to this file, the RCSL. Please see the applicable RPSL or
* RCSL for the rights, obligations and limitations governing use of the
* contents of the file.
*
* This file is part of the Helix DNA Technology. 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:
* http://www.helixcommunity.org/content/tck
*
* Contributor(s):
*
* ***** END LICENSE BLOCK ***** */
#ifndef __RV30API_H__
#define __RV30API_H__
#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 RV30_BACKEND_VERSION 2L
#define RV40_BACKEND_VERSION 3L
// RV40_PRODUCT_RELEASE is used as the 'release' field in the stream version in the SPO
// It is used to help identify the actual release used to create the stream
// Key:
// 0 : Initial Release of RealVideo 9 (4/23/02)
// 2 : Gold Release of RealVideo 9 (6/14/02)
// These bitstreams create truely independent slices for multi-threaded decodeing
#ifdef BUILD_RV30_FRONTEND
#define RVxx_MAJOR_BITSTREAM_VERSION RV30_MAJOR_BITSTREAM_VERSION
#define RVxx_BITSTREAM_VERSION RV30_BITSTREAM_VERSION
#define RVxx_PRODUCT_RELEASE RV30_PRODUCT_RELEASE
#define RVxx_FRONTEND_VERSION RV30_FRONTEND_VERSION
#define RVxx_BACKEND_VERSION 2L
#define RV20CreateInstance RV30CreateInstance
#elif BUILD_RV40_FRONTEND
#define RVxx_MAJOR_BITSTREAM_VERSION RV40_MAJOR_BITSTREAM_VERSION
#define RVxx_BITSTREAM_VERSION RV40_BITSTREAM_VERSION
#define RVxx_PRODUCT_RELEASE RV40_PRODUCT_RELEASE
#define RVxx_FRONTEND_VERSION RV40_FRONTEND_VERSION
#define RVxx_BACKEND_VERSION 3L
#define CRV30Codec CRV40Codec
#define CRV30StreamBase CRV40StreamBase
#define CDecodeRV30Stream CDecodeRV40Stream
#define RV20CreateInstance RV40CreateInstance
#elif BUILD_RV89COMBO_DECODER_FRONTEND
#define RV20CreateInstance RV89ComboCreateInstance
#elif BUILD_RV789COMBO_DECODER_FRONTEND
#define RV20CreateInstance RV789ComboCreateInstance
#elif BUILD_RV789MP4COMBO_DECODER_FRONTEND
#define RV20CreateInstance RV789MP4ComboCreateInstance
#else //BUILD_RV40_FRONTEND
#error "one of BUILD_RV30_FRONTEND or BUILD_RV40_FRONTEND has to be defined"
#endif
#if defined(BUILD_RV30_FRONTEND) && defined(BUILD_RV40_FRONTEND)
#error "define only one of BUILD_RV30_FRONTEND or BUILD_RV40_FRONTEND"
#endif
#endif // __RV30API_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -