⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mp4etble.c

📁 Intel提供的在PCA(例如Sitsang开发板)使用IPP4.0库的MPEG-4编码源程序
💻 C
字号:
/******************************************************************************//               INTEL CORPORATION PROPRIETARY INFORMATION//  This software is supplied under the terms of a license agreement or//  nondisclosure agreement with Intel Corporation and may not be copied//  or disclosed except in accordance with the terms of that agreement.//        Copyright (c) 2003 Intel Corporation. All Rights Reserved.////  Description:    Constant tables of MPEG-4 video encoder sample code for//                  Intel(R) Integrated Performance Primitives.//  Functions List://******************************************************************************/#include "sampmp4.h"const int bits_mask_tbl[33] ={    0x00000000, 0x00000001, 0x00000003, 0x00000007,    0x0000000f, 0x0000001f, 0x0000003f, 0x0000007f,    0x000000ff, 0x000001ff, 0x000003ff, 0x000007ff,    0x00000fff, 0x00001fff, 0x00003fff, 0x00007fff,    0x0000ffff, 0x0001ffff, 0x0003ffff, 0x0007ffff,    0x000fffff, 0x001fffff, 0x003fffff, 0x007fffff,    0x00ffffff, 0x01ffffff, 0x03ffffff, 0x07ffffff,    0x0fffffff, 0x1fffffff, 0x3fffffff, 0x7fffffff,    0xffffffff};unsigned char default_qmat_intra_tbl [64] = {    8,  17, 18, 19, 21, 23, 25, 27,    17, 18, 19, 21, 23, 25, 27, 28,    20, 21, 22, 23, 24, 26, 28, 30,    21, 22, 23, 24, 26, 28, 30, 32,    22, 23, 24, 26, 28, 30, 32, 35,    23, 24, 26, 28, 30, 32, 35, 38,    25, 26, 28, 30, 32, 35, 38, 41,    27, 28, 30, 32, 35, 38, 41, 45};unsigned char default_qmat_inter_tbl [64] = {    16, 17, 18, 19, 20, 21, 22, 23,    17, 18, 19, 20, 21, 22, 23, 24,    18, 19, 20, 21, 22, 23, 24, 25,    19, 20, 21, 22, 23, 24, 26, 27,    20, 21, 22, 23, 25, 26, 27, 28,    21, 22, 23, 24, 26, 27, 28, 30,    22, 23, 24, 26, 27, 28, 30, 31,    23, 24, 25, 27, 28, 30, 31, 33};const Ipp16u dc_switch_thresh_tbl[8] = {512, 13, 15, 17, 19, 21, 23, 0};const int bits_stuf_tbl[8] ={	0x0, 0x1, 0x3, 0x7,	0xf, 0x1f, 0x3f, 0x7f};const mp4_table_node vlc_mcbpc_ivop_tbl[10] = {{1,1}, {1,3}, {2,3}, {3,3},{1,4}, {1,6}, {2,6}, {3,6},{1,9}, {0,0}};const mp4_table_node vlc_mcbpc_pvop_tbl[22] = {{1,1}, {3,4}, {2,4}, {5,6},{3,3}, {7,7}, {6,7}, {5,9},{2,3}, {5,7}, {4,7}, {5,8},{3,5}, {4,8}, {3,8}, {3,7},{4,6}, {4,9}, {3,9}, {2,9},{1,9}, {0,0}};const mp4_table_node vlc_cbpy_tbl[19] = {{3,4}, {5,5}, {4,5}, {9,4},{3,5}, {7,4}, {2,6}, {11,4},{2,5}, {3,6}, {5,4}, {10,4},{4,4}, {8,4}, {6,4}, {3,2},{0,6}, {1,6}, {0,0}};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -