Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
小白菜888
Ffmpeg
提交
e42dba48
F
Ffmpeg
项目概览
小白菜888
/
Ffmpeg
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
Ffmpeg
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
e42dba48
编写于
4月 07, 2007
作者:
D
Diego Biurrun
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
typos/grammar
Originally committed as revision 8641 to
svn://svn.ffmpeg.org/ffmpeg/trunk
上级
911406f2
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
15 addition
and
15 deletion
+15
-15
libavcodec/bitstream.h
libavcodec/bitstream.h
+1
-1
libavcodec/h264.c
libavcodec/h264.c
+1
-1
libavcodec/mpeg12.c
libavcodec/mpeg12.c
+1
-1
libavcodec/mpegvideo.h
libavcodec/mpegvideo.h
+1
-1
libavcodec/parser.c
libavcodec/parser.c
+1
-1
libavcodec/parser.h
libavcodec/parser.h
+1
-1
libavcodec/ppc/mpegvideo_altivec.c
libavcodec/ppc/mpegvideo_altivec.c
+1
-1
libavcodec/ps2/mpegvideo_mmi.c
libavcodec/ps2/mpegvideo_mmi.c
+1
-1
libavcodec/ratecontrol.c
libavcodec/ratecontrol.c
+1
-1
libavformat/avformat.h
libavformat/avformat.h
+2
-2
libavformat/http.c
libavformat/http.c
+2
-2
libavformat/mtv.c
libavformat/mtv.c
+1
-1
libpostproc/postprocess_template.c
libpostproc/postprocess_template.c
+1
-1
未找到文件。
libavcodec/bitstream.h
浏览文件 @
e42dba48
...
...
@@ -873,7 +873,7 @@ void free_vlc(VLC *vlc);
* parses a vlc code, faster then get_vlc()
* @param bits is the number of bits which will be read at once, must be
* identical to nb_bits in init_vlc()
* @param max_depth is the number of times bits bits must be read
ed to complet
ly
* @param max_depth is the number of times bits bits must be read
to complete
ly
* read the longest vlc code
* = (max_vlc_length + bits - 1) / bits
*/
...
...
libavcodec/h264.c
浏览文件 @
e42dba48
...
...
@@ -8133,7 +8133,7 @@ static int decode_nal_units(H264Context *h, uint8_t *buf, int buf_size){
}
else
{
// start code prefix search
for
(;
buf_index
+
3
<
buf_size
;
buf_index
++
){
//
this should allways succeed in the first iteration
//
This should always succeed in the first iteration.
if
(
buf
[
buf_index
]
==
0
&&
buf
[
buf_index
+
1
]
==
0
&&
buf
[
buf_index
+
2
]
==
1
)
break
;
}
...
...
libavcodec/mpeg12.c
浏览文件 @
e42dba48
...
...
@@ -1287,7 +1287,7 @@ static int mpeg_decode_mb(MpegEncContext *s,
}
else
{
assert
(
mb_type
&
MB_TYPE_L0L1
);
//FIXME decide if MBs in field pictures are MB_TYPE_INTERLACED
/* get addition
n
al motion vector type */
/* get additional motion vector type */
if
(
s
->
frame_pred_frame_dct
)
motion_type
=
MT_FRAME
;
else
{
...
...
libavcodec/mpegvideo.h
浏览文件 @
e42dba48
...
...
@@ -381,7 +381,7 @@ typedef struct MpegEncContext {
MotionEstContext
me
;
int
no_rounding
;
/**< apply no rounding to motion compensation (MPEG4, msmpeg4, ...)
for b-frames rounding mode is al
l
ways 0 */
for b-frames rounding mode is always 0 */
int
hurry_up
;
/**< when set to 1 during decoding, b frames will be skipped
when set to 2 idct/dequant will be skipped too */
...
...
libavcodec/parser.c
浏览文件 @
e42dba48
...
...
@@ -230,7 +230,7 @@ int ff_combine_frame(ParseContext *pc, int next, uint8_t **buf, int *buf_size)
}
#endif
/*
copy overreaded bytes from last frame into buffer
*/
/*
Copy overread bytes from last frame into buffer.
*/
for
(;
pc
->
overread
>
0
;
pc
->
overread
--
){
pc
->
buffer
[
pc
->
index
++
]
=
pc
->
buffer
[
pc
->
overread_index
++
];
}
...
...
libavcodec/parser.h
浏览文件 @
e42dba48
...
...
@@ -31,7 +31,7 @@ typedef struct ParseContext{
uint32_t
state
;
///< contains the last few bytes in MSB order
int
frame_start_found
;
int
overread
;
///< the number of bytes which where irreversibly read from the next frame
int
overread_index
;
///< the index into ParseContext.buffer of the overread
ed
bytes
int
overread_index
;
///< the index into ParseContext.buffer of the overread bytes
}
ParseContext
;
struct
MpegEncContext
;
...
...
libavcodec/ppc/mpegvideo_altivec.c
浏览文件 @
e42dba48
...
...
@@ -515,7 +515,7 @@ POWERPC_PERF_START_COUNT(altivec_dct_unquantize_h263_num, 1);
}
else
qadd
=
0
;
i
=
1
;
nCoeffs
=
63
;
//does not al
l
ways use zigzag table
nCoeffs
=
63
;
//does not always use zigzag table
}
else
{
i
=
0
;
nCoeffs
=
s
->
intra_scantable
.
raster_end
[
s
->
block_last_index
[
n
]
];
...
...
libavcodec/ps2/mpegvideo_mmi.c
浏览文件 @
e42dba48
...
...
@@ -45,7 +45,7 @@ static void dct_unquantize_h263_mmi(MpegEncContext *s,
qadd
=
0
;
level
=
block
[
0
];
}
nCoeffs
=
63
;
//does not al
l
ways use zigzag table
nCoeffs
=
63
;
//does not always use zigzag table
}
else
{
nCoeffs
=
s
->
intra_scantable
.
raster_end
[
s
->
block_last_index
[
n
]
];
}
...
...
libavcodec/ratecontrol.c
浏览文件 @
e42dba48
...
...
@@ -31,7 +31,7 @@
#include "mpegvideo.h"
#include "eval.h"
#undef NDEBUG //
allways check asserts, the speed effect is far too small to disable them
#undef NDEBUG //
Always check asserts, the speed effect is far too small to disable them.
#include <assert.h>
#ifndef M_E
...
...
libavformat/avformat.h
浏览文件 @
e42dba48
...
...
@@ -204,7 +204,7 @@ typedef struct AVInputFormat {
int
(
*
read_probe
)(
AVProbeData
*
);
/** read the format header and initialize the AVFormatContext
structure. Return 0 if OK. 'ap' if non NULL contains
addition
n
al paramters. Only used in raw format right
additional paramters. Only used in raw format right
now. 'av_new_stream' should be called to create new streams. */
int
(
*
read_header
)(
struct
AVFormatContext
*
,
AVFormatParameters
*
ap
);
...
...
@@ -526,7 +526,7 @@ int av_open_input_stream(AVFormatContext **ic_ptr,
* @param filename filename to open.
* @param fmt if non NULL, force the file format to use
* @param buf_size optional buffer size (zero if default is OK)
* @param ap addition
n
al parameters needed when opening the file (NULL if default)
* @param ap additional parameters needed when opening the file (NULL if default)
* @return 0 if OK. AVERROR_xxx otherwise.
*/
int
av_open_input_file
(
AVFormatContext
**
ic_ptr
,
const
char
*
filename
,
...
...
libavformat/http.c
浏览文件 @
e42dba48
...
...
@@ -24,8 +24,8 @@
#include "base64.h"
/* XXX: POST protocol is not complet
ly implemented because ffmpeg use
only a subset of it */
/* XXX: POST protocol is not complet
ely implemented because ffmpeg uses
only a subset of it
.
*/
//#define DEBUG
...
...
libavformat/mtv.c
浏览文件 @
e42dba48
...
...
@@ -89,7 +89,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
/* FIXME Add sanity check here */
/* first packet is al
l
ways audio*/
/* first packet is always audio*/
mtv
->
audio_packet_count
=
1
;
...
...
libpostproc/postprocess_template.c
浏览文件 @
e42dba48
...
...
@@ -3415,7 +3415,7 @@ static void RENAME(postProcess)(uint8_t src[], int srcStride, uint8_t dst[], int
sum
+=
yHistogram
[
i
];
}
/*
we allways get a completly black picture first
*/
/*
We always get a completely black picture first.
*/
maxClipped
=
(
uint64_t
)(
sum
*
c
.
ppMode
.
maxClippedThreshold
);
clipped
=
sum
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录