/******************************************************************
AVS Reference Software Manual
******************************************************************/
please send comments and additions to jianwen.chen@gmail.com
1. Compilation
2. Command line parameters
3. Input/Output file format
4. Configuration files
****************************************************************
1. Compilation
1.1 Windows
A workspace for MS Visual C++ is provided with the name "RM.dsw". It contains
the encoder and decoder projects. And you can also use the separate project files:
lencod.dsw , ldecod.dsw.
1.2 Unix
Makefiles are provided in the lencod and ldecod directory.
'make' comand will creat the obj directory and generate the executable file in
the 'bin' directory.
*******************************************************************
2. Command line parameters
2.1 Encoder
lencod.exe [-f file] [-p parameter=value]
All Parameters are initially taken from the 'file ', typically: "encoder.cfg"
-f file
If an -f <config> parameter is present in the command line then
the parameters will be taken from the config file
See configfile.h for a list of supported ParameterNames.
-p parameter=value
If -p <ParameterName = ParameterValue> parameters are present then
the ParameterValue will overide the config file's settings.
There must be whitespace between -f and -p commands and their respecitive
parameters.
2.2 Decoder
ldecod.exe decoder.cfg
The decoder configuration file name must be provided as the first parameter. All
decoding parameters are read from this file.
*******************************************************************
3. Input/Output file format
The codec can only support 4:2:0 format video sequences.
For encoder, the input files should be the 4:2:0 data files and the output is *.avs
which is the stream of AVS standard.
For decoder, the input files should be the AVS standard streams and the output is
the 4:2:0 video data.
*******************************************************************
4. Configuration files
Sample encoder and decode configuration files are provided in the bin/ directory.
These contain explanatory comments for each parameter.
4.1 Encoder
<ParameterName> = <ParameterValue> # Comments
Whitespace is space and \t
<ParameterName> are the predefined names for Parameters and are case sensitive.
See configfile.h for the definition of those names and their
mapping to configinput->values.
<ParameterValue> are either integers [0..9]* or strings.
Integers must fit into the wordlengths, signed values are generally
assumed. Strings containing no whitespace characters can be used directly.
Strings containing whitespace characters are to be inclosed in double
quotes ("string with whitespace")
If the ParameterName is undefined, the program will be terminated with an error message.
4.2 Decoder
<value> #comment
The values are read in a predefined order. See the example file for details.
*******************************************************************
没有合适的资源?快使用搜索试试~ 我知道了~
这是一个国产avs(jizhun)的编码器,是清华大学编写的,效率还可以,大家可以参考
共111个文件
h:37个
c:35个
txt:16个
需积分: 5 5 下载量 86 浏览量
2023-05-17
17:10:51
上传
评论
收藏 372KB ZIP 举报
温馨提示
里面有详细的代码,包括编码器和解码器,严格遵照avs标准,特别是stuffing bit做了填充,ffmpeg中的avs和avs2编码器插件都对这一块没有遵循,导致有些解码器无法解码ffmpeg编码后的avs/avs2
资源推荐
资源详情
资源评论
收起资源包目录
这是一个国产avs(jizhun)的编码器,是清华大学编写的,效率还可以,大家可以参考 (111个子文件)
decoder_avs1.0_script 132B
10 10KB
20 10KB
3 10KB
5 10KB
macroblock.c 116KB
macroblock.c 115KB
mv-search.c 88KB
rdopt.c 86KB
image.c 81KB
fast_me.c 74KB
image.c 65KB
block_const.c 63KB
block_const.c 63KB
lencod.c 53KB
ratectl.c 48KB
header.c 48KB
block.c 42KB
ldecod.c 38KB
block.c 36KB
vlc.c 31KB
configfile.c 27KB
bitstream.c 22KB
vlc.c 17KB
slice.c 16KB
loopfilter.c 15KB
loopfilter.c 15KB
header.c 14KB
bitstream.c 12KB
bbv.c 10KB
output.c 10KB
memalloc.c 9KB
memalloc.c 9KB
bbv.c 8KB
golomb_dec.c 6KB
rdopt_coding_state.c 5KB
refbuf.c 5KB
golomb.c 5KB
b_frame.c 5KB
mbuffer.c 3KB
encoder.cfg 7KB
decoder.cfg 903B
lencod.dsp 7KB
ldecod.dsp 6KB
RM.dsw 726B
lencod.dsw 535B
ldecod.dsw 535B
global.h 33KB
global.h 24KB
fast_me.h 14KB
defines.h 8KB
defines.h 7KB
configfile.h 6KB
checksyntax.h 5KB
ratectl.h 5KB
mbuffer.h 5KB
macroblock.h 4KB
avs.h 4KB
block.h 4KB
contributors.h 4KB
contributors.h 4KB
block.h 4KB
elements.h 4KB
vlc.h 3KB
vlc.h 3KB
bitstream.h 3KB
bbv.h 3KB
bbv.h 3KB
rdopt_coding_state.h 3KB
header.h 3KB
memalloc.h 3KB
memalloc.h 3KB
golomb_dec.h 3KB
golomb.h 3KB
header.h 2KB
mv-search.h 2KB
annexb.h 2KB
image.h 2KB
refbuf.h 2KB
macroblock.h 2KB
minmax.h 2KB
b_frame.h 2KB
mbuffer.h 2KB
loopfilter.h 2KB
Makefile 2KB
Makefile 2KB
Makefile 200B
RM.sln 1KB
ldecod.sln 876B
lencod.sln 876B
RM.suo 9KB
ldecod.suo 8KB
lencod.suo 8KB
changes_rm52f.txt 18KB
changes_rm52i.txt 7KB
Readme.txt 3KB
changes_rm52j.txt 2KB
changes_rm52_20080721.txt 2KB
copyright.txt 2KB
changes_old versions.txt 2KB
共 111 条
- 1
- 2
资源评论
泰勒朗斯
- 粉丝: 2069
- 资源: 12
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功