Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
aom-rav1e
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
aom-rav1e
Commits
b651875e
Commit
b651875e
authored
Dec 21, 2011
by
James Zern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
squash some signed/unsigned comparison warnings
Change-Id: Ifc64cf990ae04d77934da3324d0afb3993f061e7
parent
bb191527
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
21 additions
and
20 deletions
+21
-20
args.c
args.c
+1
-1
vp8/decoder/decodframe.c
vp8/decoder/decodframe.c
+2
-1
vp8/encoder/bitstream.c
vp8/encoder/bitstream.c
+1
-1
vp8/encoder/lookahead.c
vp8/encoder/lookahead.c
+3
-3
vp8/encoder/lookahead.h
vp8/encoder/lookahead.h
+1
-1
vp8/encoder/mcomp.c
vp8/encoder/mcomp.c
+3
-3
vp8/encoder/onyx_if.c
vp8/encoder/onyx_if.c
+8
-8
vp8/encoder/temporal_filter.c
vp8/encoder/temporal_filter.c
+1
-1
vpxenc.c
vpxenc.c
+1
-1
No files found.
args.c
View file @
b651875e
...
...
@@ -57,7 +57,7 @@ int arg_match(struct arg *arg_, const struct arg_def *def, char **argv)
}
else
if
(
def
->
long_name
)
{
in
t
name_len
=
strlen
(
def
->
long_name
);
const
size_
t
name_len
=
strlen
(
def
->
long_name
);
if
(
strlen
(
arg
.
argv
[
0
])
>=
name_len
+
2
&&
arg
.
argv
[
0
][
1
]
==
'-'
...
...
vp8/decoder/decodframe.c
View file @
b651875e
...
...
@@ -484,7 +484,8 @@ static void setup_token_decoder(VP8D_COMP *pbi,
const
unsigned
char
*
token_part_sizes
)
{
vp8_reader
*
bool_decoder
=
&
pbi
->
bc2
;
int
fragment_idx
,
partition_idx
;
unsigned
int
partition_idx
;
int
fragment_idx
;
int
num_token_partitions
;
const
unsigned
char
*
first_fragment_end
=
pbi
->
fragments
[
0
]
+
pbi
->
fragment_sizes
[
0
];
...
...
vp8/encoder/bitstream.c
View file @
b651875e
...
...
@@ -1206,7 +1206,7 @@ static void sum_probs_over_prev_coef_context(
{
for
(
j
=
0
;
j
<
PREV_COEF_CONTEXTS
;
++
j
)
{
const
int
tmp
=
out
[
i
];
const
unsigned
int
tmp
=
out
[
i
];
out
[
i
]
+=
probs
[
j
][
i
];
/* check for wrap */
if
(
out
[
i
]
<
tmp
)
...
...
vp8/encoder/lookahead.c
View file @
b651875e
...
...
@@ -48,7 +48,7 @@ vp8_lookahead_destroy(struct lookahead_ctx *ctx)
{
if
(
ctx
->
buf
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
0
;
i
<
ctx
->
max_sz
;
i
++
)
vp8_yv12_de_alloc_frame_buffer
(
&
ctx
->
buf
[
i
].
img
);
...
...
@@ -65,7 +65,7 @@ vp8_lookahead_init(unsigned int width,
unsigned
int
depth
)
{
struct
lookahead_ctx
*
ctx
=
NULL
;
int
i
;
unsigned
int
i
;
/* Clamp the lookahead queue depth */
if
(
depth
<
1
)
...
...
@@ -188,7 +188,7 @@ vp8_lookahead_pop(struct lookahead_ctx *ctx,
struct
lookahead_entry
*
vp8_lookahead_peek
(
struct
lookahead_ctx
*
ctx
,
int
index
)
unsigned
int
index
)
{
struct
lookahead_entry
*
buf
=
NULL
;
...
...
vp8/encoder/lookahead.h
View file @
b651875e
...
...
@@ -92,7 +92,7 @@ vp8_lookahead_pop(struct lookahead_ctx *ctx,
*/
struct
lookahead_entry
*
vp8_lookahead_peek
(
struct
lookahead_ctx
*
ctx
,
int
index
);
unsigned
int
index
);
/**\brief Get the number of frames currently in the lookahead queue
...
...
vp8/encoder/mcomp.c
View file @
b651875e
...
...
@@ -1156,7 +1156,7 @@ int vp8_diamond_search_sadx4
int
tot_steps
;
int_mv
this_mv
;
int
bestsad
=
INT_MAX
;
unsigned
int
bestsad
=
U
INT_MAX
;
int
best_site
=
0
;
int
last_site
=
0
;
...
...
@@ -1397,7 +1397,7 @@ int vp8_full_search_sadx3(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv,
unsigned
char
*
bestaddress
;
int_mv
*
best_mv
=
&
d
->
bmi
.
mv
;
int_mv
this_mv
;
int
bestsad
=
INT_MAX
;
unsigned
int
bestsad
=
U
INT_MAX
;
int
r
,
c
;
unsigned
char
*
check_here
;
...
...
@@ -1527,7 +1527,7 @@ int vp8_full_search_sadx8(MACROBLOCK *x, BLOCK *b, BLOCKD *d, int_mv *ref_mv,
unsigned
char
*
bestaddress
;
int_mv
*
best_mv
=
&
d
->
bmi
.
mv
;
int_mv
this_mv
;
int
bestsad
=
INT_MAX
;
unsigned
int
bestsad
=
U
INT_MAX
;
int
r
,
c
;
unsigned
char
*
check_here
;
...
...
vp8/encoder/onyx_if.c
View file @
b651875e
...
...
@@ -1080,10 +1080,10 @@ void vp8_set_speed_features(VP8_COMP *cpi)
if
(
Speed
>
6
)
{
unsigned
int
i
,
sum
=
0
;
unsigned
int
sum
=
0
;
unsigned
int
total_mbs
=
cm
->
MBs
;
int
thresh
;
int
total_skip
;
int
i
,
thresh
;
unsigned
int
total_skip
;
int
min
=
2000
;
...
...
@@ -1513,8 +1513,8 @@ static void init_config(VP8_COMP *cpi, VP8_CONFIG *oxcf)
// Temporal scalabilty
if
(
cpi
->
oxcf
.
number_of_layers
>
1
)
{
int
i
;
int
prev_layer_frame_rate
=
0
;
unsigned
int
i
;
double
prev_layer_frame_rate
=
0
;
for
(
i
=
0
;
i
<
cpi
->
oxcf
.
number_of_layers
;
i
++
)
{
...
...
@@ -3539,7 +3539,7 @@ static void encode_frame_to_data_rate
if
(
cpi
->
oxcf
.
number_of_layers
>
1
)
{
int
i
;
unsigned
int
i
;
// Propagate bits saved by dropping the frame to higher layers
for
(
i
=
cpi
->
current_layer
+
1
;
i
<
cpi
->
oxcf
.
number_of_layers
;
i
++
)
...
...
@@ -4316,7 +4316,7 @@ static void encode_frame_to_data_rate
if
(
cpi
->
oxcf
.
number_of_layers
>
1
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
cpi
->
current_layer
+
1
;
i
<
cpi
->
oxcf
.
number_of_layers
;
i
++
)
cpi
->
layer_context
[
i
].
total_byte_count
+=
(
*
size
);
}
...
...
@@ -4427,7 +4427,7 @@ static void encode_frame_to_data_rate
// Propagate values to higher temporal layers
if
(
cpi
->
oxcf
.
number_of_layers
>
1
)
{
int
i
;
unsigned
int
i
;
for
(
i
=
cpi
->
current_layer
+
1
;
i
<
cpi
->
oxcf
.
number_of_layers
;
i
++
)
{
...
...
vp8/encoder/temporal_filter.c
View file @
b651875e
...
...
@@ -98,7 +98,7 @@ void vp8_temporal_filter_apply_c
unsigned
short
*
count
)
{
int
i
,
j
,
k
;
unsigned
int
i
,
j
,
k
;
int
modifier
;
int
byte
=
0
;
...
...
vpxenc.c
View file @
b651875e
...
...
@@ -807,7 +807,7 @@ write_webm_file_footer(EbmlGlobal *glob, long hash)
{
EbmlLoc
start
;
int
i
;
unsigned
int
i
;
glob
->
cue_pos
=
ftello
(
glob
->
stream
);
Ebml_StartSubElement
(
glob
,
&
start
,
Cues
);
...
...
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