Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
df3a80b5
Commit
df3a80b5
authored
Jul 28, 2007
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cosmetics: misc typo fixes
Originally committed as revision 9815 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
bd35bdf1
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
15 additions
and
15 deletions
+15
-15
avcodec.h
libavcodec/avcodec.h
+2
-2
bitstream.c
libavcodec/bitstream.c
+1
-1
bitstream.h
libavcodec/bitstream.h
+1
-1
cabac.h
libavcodec/cabac.h
+1
-1
cook.c
libavcodec/cook.c
+1
-1
libgsm.c
libavcodec/libgsm.c
+1
-1
snow_altivec.c
libavcodec/ppc/snow_altivec.c
+4
-4
ratecontrol.c
libavcodec/ratecontrol.c
+1
-1
snow.c
libavcodec/snow.c
+2
-2
swf.c
libavformat/swf.c
+1
-1
No files found.
libavcodec/avcodec.h
View file @
df3a80b5
...
@@ -2834,7 +2834,7 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size);
...
@@ -2834,7 +2834,7 @@ void *av_fast_realloc(void *ptr, unsigned int *size, unsigned int min_size);
* Frees all static arrays and resets their pointers to 0.
* Frees all static arrays and resets their pointers to 0.
* Call this function to release all statically allocated tables.
* Call this function to release all statically allocated tables.
*
*
* @deprecated. Code which uses av_free_static is broken/mis
s
designed
* @deprecated. Code which uses av_free_static is broken/misdesigned
* and should correctly use static arrays
* and should correctly use static arrays
*
*
*/
*/
...
@@ -2847,7 +2847,7 @@ attribute_deprecated void av_free_static(void);
...
@@ -2847,7 +2847,7 @@ attribute_deprecated void av_free_static(void);
*
*
* @param[in] size The amount of memory you need in bytes.
* @param[in] size The amount of memory you need in bytes.
* @return block of memory of the requested size
* @return block of memory of the requested size
* @deprecated. Code which uses av_mallocz_static is broken/mis
s
designed
* @deprecated. Code which uses av_mallocz_static is broken/misdesigned
* and should correctly use static arrays
* and should correctly use static arrays
*/
*/
attribute_deprecated
void
*
av_mallocz_static
(
unsigned
int
size
);
attribute_deprecated
void
*
av_mallocz_static
(
unsigned
int
size
);
...
...
libavcodec/bitstream.c
View file @
df3a80b5
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
* @param[in] ptr The block of memory to reallocate.
* @param[in] ptr The block of memory to reallocate.
* @param[in] size The requested size.
* @param[in] size The requested size.
* @return Block of memory of requested size.
* @return Block of memory of requested size.
* @deprecated. Code which uses ff_realloc_static is broken/mis
sdesigned
* @deprecated. Code which uses ff_realloc_static is broken/mis
designed.
* and should correctly use static arrays
* and should correctly use static arrays
*/
*/
attribute_deprecated
void
*
ff_realloc_static
(
void
*
ptr
,
unsigned
int
size
);
attribute_deprecated
void
*
ff_realloc_static
(
void
*
ptr
,
unsigned
int
size
);
...
...
libavcodec/bitstream.h
View file @
df3a80b5
...
@@ -176,7 +176,7 @@ typedef struct RL_VLC_ELEM {
...
@@ -176,7 +176,7 @@ typedef struct RL_VLC_ELEM {
#define UNALIGNED_STORES_ARE_BAD
#define UNALIGNED_STORES_ARE_BAD
#endif
#endif
/* used to avoid mis
s
aligned exceptions on some archs (alpha, ...) */
/* used to avoid misaligned exceptions on some archs (alpha, ...) */
#if defined(ARCH_X86)
#if defined(ARCH_X86)
# define unaligned16(a) (*(const uint16_t*)(a))
# define unaligned16(a) (*(const uint16_t*)(a))
# define unaligned32(a) (*(const uint32_t*)(a))
# define unaligned32(a) (*(const uint32_t*)(a))
...
...
libavcodec/cabac.h
View file @
df3a80b5
...
@@ -457,7 +457,7 @@ static av_always_inline int get_cabac_inline(CABACContext *c, uint8_t * const st
...
@@ -457,7 +457,7 @@ static av_always_inline int get_cabac_inline(CABACContext *c, uint8_t * const st
"2:
\n\t
"
"2:
\n\t
"
"movl %%edx, "
RANGE
"(%2)
\n\t
"
"movl %%edx, "
RANGE
"(%2)
\n\t
"
"movl %%ebx, "
LOW
"(%2)
\n\t
"
"movl %%ebx, "
LOW
"(%2)
\n\t
"
:
"=&a"
(
bit
)
//FIXME this is fragile gcc either runs out of registers or mis
s
compiles it (for example if "+a"(bit) or "+m"(*state) is used
:
"=&a"
(
bit
)
//FIXME this is fragile gcc either runs out of registers or miscompiles it (for example if "+a"(bit) or "+m"(*state) is used
:
"r"
(
state
),
"r"
(
c
)
:
"r"
(
state
),
"r"
(
c
)
:
"%"
REG_c
,
"%ebx"
,
"%edx"
,
"%"
REG_S
,
"memory"
:
"%"
REG_c
,
"%ebx"
,
"%edx"
,
"%"
REG_S
,
"memory"
);
);
...
...
libavcodec/cook.c
View file @
df3a80b5
...
@@ -283,7 +283,7 @@ static int init_cplscales_table (COOKContext *q) {
...
@@ -283,7 +283,7 @@ static int init_cplscales_table (COOKContext *q) {
* Why? No idea, some checksum/error detection method maybe.
* Why? No idea, some checksum/error detection method maybe.
*
*
* Out buffer size: extra bytes are needed to cope with
* Out buffer size: extra bytes are needed to cope with
* padding/mis
s
alignment.
* padding/misalignment.
* Subpackets passed to the decoder can contain two, consecutive
* Subpackets passed to the decoder can contain two, consecutive
* half-subpackets, of identical but arbitrary size.
* half-subpackets, of identical but arbitrary size.
* 1234 1234 1234 1234 extraA extraB
* 1234 1234 1234 1234 extraA extraB
...
...
libavcodec/libgsm.c
View file @
df3a80b5
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
#include "avcodec.h"
#include "avcodec.h"
#include <gsm.h>
#include <gsm.h>
// gsm.h miss some essential constants
// gsm.h miss
es
some essential constants
#define GSM_BLOCK_SIZE 33
#define GSM_BLOCK_SIZE 33
#define GSM_MS_BLOCK_SIZE 65
#define GSM_MS_BLOCK_SIZE 65
#define GSM_FRAME_SIZE 160
#define GSM_FRAME_SIZE 160
...
...
libavcodec/ppc/snow_altivec.c
View file @
df3a80b5
...
@@ -522,7 +522,7 @@ static void inner_add_yblock_bw_8_obmc_16_altivec(uint8_t *obmc,
...
@@ -522,7 +522,7 @@ static void inner_add_yblock_bw_8_obmc_16_altivec(uint8_t *obmc,
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
for
(
y
=
0
;
y
<
b_h
;
y
++
){
for
(
y
=
0
;
y
<
b_h
;
y
++
){
//FIXME ugly mis
s
ue of obmc_stride
//FIXME ugly misue of obmc_stride
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
...
@@ -588,7 +588,7 @@ static void inner_add_yblock_bw_16_obmc_32_altivec(uint8_t *obmc,
...
@@ -588,7 +588,7 @@ static void inner_add_yblock_bw_16_obmc_32_altivec(uint8_t *obmc,
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
for
(
y
=
0
;
y
<
b_h
;
y
++
){
for
(
y
=
0
;
y
<
b_h
;
y
++
){
//FIXME ugly mis
s
ue of obmc_stride
//FIXME ugly misue of obmc_stride
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
...
@@ -671,7 +671,7 @@ static void inner_add_yblock_a_bw_8_obmc_16_altivec(uint8_t *obmc,
...
@@ -671,7 +671,7 @@ static void inner_add_yblock_a_bw_8_obmc_16_altivec(uint8_t *obmc,
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
for
(
y
=
0
;
y
<
b_h
;
y
++
){
for
(
y
=
0
;
y
<
b_h
;
y
++
){
//FIXME ugly mis
s
ue of obmc_stride
//FIXME ugly misue of obmc_stride
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
...
@@ -717,7 +717,7 @@ static void inner_add_yblock_a_bw_16_obmc_32_altivec(uint8_t *obmc,
...
@@ -717,7 +717,7 @@ static void inner_add_yblock_a_bw_16_obmc_32_altivec(uint8_t *obmc,
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
vector
signed
int
*
v
=
(
vector
signed
int
*
)
vbuf
,
*
d
;
for
(
y
=
0
;
y
<
b_h
;
y
++
){
for
(
y
=
0
;
y
<
b_h
;
y
++
){
//FIXME ugly mis
s
ue of obmc_stride
//FIXME ugly misue of obmc_stride
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
...
...
libavcodec/ratecontrol.c
View file @
df3a80b5
...
@@ -243,7 +243,7 @@ int ff_rate_control_init(MpegEncContext *s)
...
@@ -243,7 +243,7 @@ int ff_rate_control_init(MpegEncContext *s)
bits
=
rce
.
i_tex_bits
+
rce
.
p_tex_bits
;
bits
=
rce
.
i_tex_bits
+
rce
.
p_tex_bits
;
q
=
get_qscale
(
s
,
&
rce
,
rcc
->
pass1_wanted_bits
/
rcc
->
pass1_rc_eq_output_sum
,
i
);
q
=
get_qscale
(
s
,
&
rce
,
rcc
->
pass1_wanted_bits
/
rcc
->
pass1_rc_eq_output_sum
,
i
);
rcc
->
pass1_wanted_bits
+=
s
->
bit_rate
/
(
1
/
av_q2d
(
s
->
avctx
->
time_base
));
//FIXME mis
s
behaves a little for variable fps
rcc
->
pass1_wanted_bits
+=
s
->
bit_rate
/
(
1
/
av_q2d
(
s
->
avctx
->
time_base
));
//FIXME misbehaves a little for variable fps
}
}
}
}
...
...
libavcodec/snow.c
View file @
df3a80b5
...
@@ -2520,7 +2520,7 @@ void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_
...
@@ -2520,7 +2520,7 @@ void ff_snow_inner_add_yblock(const uint8_t *obmc, const int obmc_stride, uint8_
int
y
,
x
;
int
y
,
x
;
DWTELEM
*
dst
;
DWTELEM
*
dst
;
for
(
y
=
0
;
y
<
b_h
;
y
++
){
for
(
y
=
0
;
y
<
b_h
;
y
++
){
//FIXME ugly mis
s
ue of obmc_stride
//FIXME ugly misue of obmc_stride
const
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
const
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
const
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
const
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
const
uint8_t
*
obmc3
=
obmc1
+
obmc_stride
*
(
obmc_stride
>>
1
);
const
uint8_t
*
obmc3
=
obmc1
+
obmc_stride
*
(
obmc_stride
>>
1
);
...
@@ -2680,7 +2680,7 @@ assert(src_stride > 2*MB_SIZE + 5);
...
@@ -2680,7 +2680,7 @@ assert(src_stride > 2*MB_SIZE + 5);
STOP_TIMER
(
"inner_add_yblock"
)
STOP_TIMER
(
"inner_add_yblock"
)
}
else
}
else
for
(
y
=
0
;
y
<
b_h
;
y
++
){
for
(
y
=
0
;
y
<
b_h
;
y
++
){
//FIXME ugly mis
s
ue of obmc_stride
//FIXME ugly misue of obmc_stride
const
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
const
uint8_t
*
obmc1
=
obmc
+
y
*
obmc_stride
;
const
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
const
uint8_t
*
obmc2
=
obmc1
+
(
obmc_stride
>>
1
);
const
uint8_t
*
obmc3
=
obmc1
+
obmc_stride
*
(
obmc_stride
>>
1
);
const
uint8_t
*
obmc3
=
obmc1
+
obmc_stride
*
(
obmc_stride
>>
1
);
...
...
libavformat/swf.c
View file @
df3a80b5
...
@@ -283,7 +283,7 @@ static int swf_write_header(AVFormatContext *s)
...
@@ -283,7 +283,7 @@ static int swf_write_header(AVFormatContext *s)
}
}
if
(
!
video_enc
)
{
if
(
!
video_enc
)
{
/* currenty, cannot work correctly if audio only */
/* current
l
y, cannot work correctly if audio only */
swf
->
video_type
=
0
;
swf
->
video_type
=
0
;
width
=
320
;
width
=
320
;
height
=
200
;
height
=
200
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment