?? encparams.h
字號:
/*COPYRIGHT, LICENSE AND WARRANTY INFORMATIONThis software module has been originally developed by Nokia Corporation. Provided that a person, entity or a company willing to use the Software (hereinafter Licensee) comply with all the terms and conditions of this Statement and subject to the limitations set forth in this Statement Nokia grants to such Licensee a non-exclusive, sub-licensable, worldwide, limited license under copyrights owned by Nokia to use the Software for the sole purpose of creating, manufacturing, selling, marketing, or distributing (including the right to make modifications to the Software) a fully compliant decoder implementation (hereinafter "Decoder") of ITU-T Recommendation H.264 / ISO/IEC International Standard 14496-10 and an encoder implementation producing output that is decodable with the Decoder.Nokia retains the ownership of copyrights to the Software. There is no patent nor other intellectual property right of Nokia licensed under this Statement (except the copyright license above). Licensee hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if patent licenses are required, it is their responsibility to acquire the license before utilizing the Software.The license by Nokia is subject to that the Licensee grants to Nokia the non-exclusive, worldwide, royalty-free, perpetual and irrevocable covenant that the Licensee(s) shall not bring a suit before any court or administrative agency or otherwise assert a claim for infringement under the Licensee intellectual property rights that, but for a license, would be infringed by the Software against (a) Nokia or Nokia's Affiliate; or (b) other recipient of a license and covenant not to sue with respect to the Software from Nokia; or (c) contractor, customer or distributor of a party listed above in a or b, which suit or claim is related to the Software or use thereof.The Licensee(s) further agrees to grant a reciprocal license to Nokia (as granted by Nokia to the Licensee(s) on the modifications made by Licensee(s) to the Software. THE SOFTWARE IS PROVIDED "AS IS" AND THE ORIGINAL DEVELOPER DISCLAIMS ANY AND ALL WARRANTIES WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. THOSE INTENDING TO USE THE SOFTWARE ARE EXPRESSLY ADVISED THAT ITS USE MAY INFRINGE EXISTING PATENTS AND BE SUBJECT TO ROYALTY PAYMENTS TO PATENT OWNERS. ANYONE USING THE SOFTWARE ON THE BASIS OF THIS LICENSE AGREES TO OBTAIN THE NECESSARY PERMISSIONS FROM ANY AND ALL APPLICABLE PATENT OWNERS FOR SUCH USE.IN NO EVENT SHALL THE ORIGINAL DEVELOPER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.This copyright, license and warranty information notice must be retained in all copies and derivative works of the Software or substantial portions thereof.*/#ifndef _ENC_PARAMS_H_#define _ENC_PARAMS_H_#define MAX_SLICE_PARAMS 8/* AVC encoder open parameters given to avceOpen */// use only integer for all the memberstypedef struct _encParams_s { int level; int picWidth; int picHeight; int origFpsTimes1000; int maxNumRefFrms; int numReorderFrames; int modeFlags; int range; // maximal motion search range int rangeMod; // how should range be modified for other modes int entropyEncoder; int qpInter; int chromaQpIdx; int constIpred; int filterMode; int alphaOffset; int betaOffset; int makeMotField; int nMbsPerSlice; int nBytesPerSlice; int nRandomIntraRefresh; int numNonref; int strFormat; int offsetForRefFrame; int profile; //// LOW_COMPLEX_PROF3 int low_complex_prof3; int spec_search_pos;#ifndef DISABLE_RDO int rdo;#endif int plr; int sIntraRefresh; int sgmCount; int sgmType; int numSgmParams; int sgmParams[MAX_SLICE_PARAMS]; // output frame cropping int cropOffsets[4]; int scIntra; // these 3 variables are for tuning the rate distortion decision int tuneNonref; int tuneIntra; int tuneInter; // Parameters for bit rate control int brcBitRate; // Compressed stream bit rate int brcBufSize; // Encoder buffer size in bytes int numFrms; // Number of frames to be encoded int brcdisableMBLevel; // Disable MB Level Rate Control int intraFreq; int idrFreq; int useSEIMessages; int qpStart; int ignoreIDRBits; // these are 2 syntax elements that could be changed by the user int log2_max_frame_num_minus4; int frameSkipEnabled; // depends on the time scale and how much reordering is performed int log2_max_pic_order_cnt_lsb_minus4; } encParams_s;#endif // _ENC_PARAMS_H_
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -