资源简介
mpeg4的c语言源代码及数字压缩和编码标准ISO/IEC 10918-1

代码片段和文件信息
/*****************************************************************************
*
* XVID MPEG-4 VIDEO CODEC
* - Decoder Module -
*
* Copyright(C) 2002 MinChen
* 2002-2004 Peter Ross
*
* This program is free software ; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation ; either version 2 of the License or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program ; if not write to the Free Software
* Foundation Inc. 59 Temple Place Suite 330 Boston MA 02111-1307 USA
*
* $Id$
*
****************************************************************************/
#include
#include
#include
#ifdef BframeS_DEC_DEBUG
#define BframeS_DEC
#endif
#include “xvid.h“
#include “portab.h“
#include “global.h“
#include “decoder.h“
#include “bitstream/bitstream.h“
#include “bitstream/mbcoding.h“
#include “quant/quant.h“
#include “quant/quant_matrix.h“
#include “dct/idct.h“
#include “dct/fdct.h“
#include “utils/mem_transfer.h“
#include “image/interpolate8x8.h“
#include “image/font.h“
#include “image/qpel.h“
#include “bitstream/mbcoding.h“
#include “prediction/mbprediction.h“
#include “utils/timer.h“
#include “utils/emms.h“
#include “motion/motion.h“
#include “motion/gmc.h“
#include “image/image.h“
#include “image/colorspace.h“
#include “image/postprocessing.h“
#include “utils/mem_align.h“
static int
decoder_resize(DECODER * dec)
{
/* free existing */
image_destroy(&dec->cur dec->edged_width dec->edged_height);
image_destroy(&dec->refn[0] dec->edged_width dec->edged_height);
image_destroy(&dec->refn[1] dec->edged_width dec->edged_height);
image_destroy(&dec->tmp dec->edged_width dec->edged_height);
image_destroy(&dec->qtmp dec->edged_width dec->edged_height);
image_destroy(&dec->gmc dec->edged_width dec->edged_height);
if (dec->last_mbs)
xvid_free(dec->last_mbs);
if (dec->mbs)
xvid_free(dec->mbs);
if (dec->qscale)
xvid_free(dec->qscale);
/* realloc */
dec->mb_width = (dec->width + 15) / 16;
dec->mb_height = (dec->height + 15) / 16;
dec->edged_width = 16 * dec->mb_width + 2 * EDGE_SIZE;
dec->edged_height = 16 * dec->mb_height + 2 * EDGE_SIZE;
if (image_create(&dec->cur dec->edged_width dec->edged_height)) {
xvid_free(dec);
return XVID_ERR_MEMORY;
}
if (image_create(&dec->refn[0] dec->edged_width dec->edged_height)) {
image_destroy(&dec->cur dec->edged_width dec->edged_height);
xvid_free(dec);
return XVID_ERR_MEMORY;
}
/* Support B-frame to reference last 2 frame */
if (imag
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 42422 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\bitstream.c
文件 10338 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\bitstream.h
文件 2759 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\cbp.c
文件 1474 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\cbp.h
文件 56341 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\mbcoding.c
文件 2507 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\mbcoding.h
文件 2351 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\vlc_codes.h
文件 3100 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\x86_asm\cbp_3dne.asm
文件 3034 2007-04-04 22:20 mpeg4视频解码源码\src\bitstream\x86_asm\cbp_mmx.asm
文件 3488 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\x86_asm\cbp_sse2.asm
文件 2033 2007-04-04 22:10 mpeg4视频解码源码\src\bitstream\zigzag.h
文件 10863 2007-04-04 22:10 mpeg4视频解码源码\src\dct\fdct.c
文件 1475 2007-04-04 22:10 mpeg4视频解码源码\src\dct\fdct.h
文件 41865 2007-04-04 22:10 mpeg4视频解码源码\src\dct\ia64_asm\fdct_ia64.s
文件 8532 2007-04-04 22:10 mpeg4视频解码源码\src\dct\ia64_asm\genidct.py
文件 39 2007-04-04 22:10 mpeg4视频解码源码\src\dct\ia64_asm\idct_fini.s
文件 33498 2007-04-04 22:10 mpeg4视频解码源码\src\dct\ia64_asm\idct_ia64_ecc.s
文件 33530 2007-04-04 22:10 mpeg4视频解码源码\src\dct\ia64_asm\idct_ia64_gcc.s
文件 670 2007-04-04 22:10 mpeg4视频解码源码\src\dct\ia64_asm\idct_init.s
文件 13934 2007-04-04 22:10 mpeg4视频解码源码\src\dct\idct.c
文件 1987 2007-04-04 22:10 mpeg4视频解码源码\src\dct\idct.h
文件 6767 2007-04-04 22:10 mpeg4视频解码源码\src\dct\ppc_asm\idct_altivec.c
文件 19945 2007-04-04 22:10 mpeg4视频解码源码\src\dct\README.IJG
文件 6952 2007-04-04 22:10 mpeg4视频解码源码\src\dct\simple_idct.c
文件 14399 2007-04-04 22:10 mpeg4视频解码源码\src\dct\x86_64_asm\fdct_mmx_skal.asm
文件 18321 2007-04-04 22:10 mpeg4视频解码源码\src\dct\x86_64_asm\idct_mmx.asm
文件 11988 2007-04-04 22:10 mpeg4视频解码源码\src\dct\x86_asm\fdct_mmx_ffmpeg.asm
文件 16680 2007-04-04 22:10 mpeg4视频解码源码\src\dct\x86_asm\fdct_mmx_skal.asm
文件 21666 2007-04-04 22:10 mpeg4视频解码源码\src\dct\x86_asm\fdct_sse2_skal.asm
文件 31723 2007-04-04 22:10 mpeg4视频解码源码\src\dct\x86_asm\idct_3dne.asm
............此处省略208个文件信息
相关资源
- 国际象棋的qt源代码
- C语言开发实战宝典
- 小甲鱼C语言课件 源代码
- c语言看发的网络协议 ,源代码
- C语言实现的DES对称加密算法
- 数据结构,迷宫问题C语言版源代码
- C语言 学生信息管理系统 源代码
- C语言版3D魔方游戏源代码
- QT5开发及源代码
- USB CAN Tool 源代码(LabVIEW 2011环境)
- 超声波水表源代码
- 一个模糊PID温度控制算法源代码
- 数据结构 图的遍历源代码
- 数据结构实验源代码集
- TCP/IP客户端和服务器端源代码,好用
- 交互式计算机图形学 第六版 OpenGL源代
- 数据结构教程李春葆第五版书中例题
- 三次样条插值类源代码!
- diy写字机grbl v1.1源代码
- C语言常用算法源代码
- 关于LED制作的源代码合集(38套)
-
STM32-ba
se64加密源代码 - 51超声波避障源代码
- 一个C++实现的源代码行数统计工具
- ZZULIOJ部分答案C语言免费.7z
- 吉他调音软件源代码
- 连连看源代码C语言版
- AVR单片机SPI通讯程序 (C语言源代码)
- Visual+C++数字图像处理-谢凤英-源代码
- 大富翁源代码
评论
共有 条评论