Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
a0f078d9
"git@developer.sourcefind.cn:OpenDAS/deepspeed.git" did not exist on "1ebcd6c50af7bc5c41507c60961f9031c729ec8c"
Commit
a0f078d9
authored
Sep 30, 2014
by
Davis King
Browse files
Minor changes to avoid errors and warnings in visual studio.
parent
9c8188ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dlib/external/libjpeg/jchuff.cpp
dlib/external/libjpeg/jchuff.cpp
+2
-2
dlib/external/libjpeg/jcphuff.cpp
dlib/external/libjpeg/jcphuff.cpp
+2
-2
No files found.
dlib/external/libjpeg/jchuff.cpp
View file @
a0f078d9
...
@@ -297,7 +297,7 @@ dump_buffer (working_state * state)
...
@@ -297,7 +297,7 @@ dump_buffer (working_state * state)
* between calls, so 24 bits are sufficient.
* between calls, so 24 bits are sufficient.
*/
*/
INLINE
inline
LOCAL
(
int
)
LOCAL
(
int
)
emit_bits
(
working_state
*
state
,
unsigned
int
code
,
int
size
)
emit_bits
(
working_state
*
state
,
unsigned
int
code
,
int
size
)
/* Emit some bits; return TRUE if successful, FALSE if must suspend */
/* Emit some bits; return TRUE if successful, FALSE if must suspend */
...
@@ -827,7 +827,7 @@ jpeg_gen_optimal_table (j_compress_ptr cinfo, JHUFF_TBL * htbl, long freq[])
...
@@ -827,7 +827,7 @@ jpeg_gen_optimal_table (j_compress_ptr cinfo, JHUFF_TBL * htbl, long freq[])
for
(
i
=
1
;
i
<=
MAX_CLEN
;
i
++
)
{
for
(
i
=
1
;
i
<=
MAX_CLEN
;
i
++
)
{
for
(
j
=
0
;
j
<=
255
;
j
++
)
{
for
(
j
=
0
;
j
<=
255
;
j
++
)
{
if
(
codesize
[
j
]
==
i
)
{
if
(
codesize
[
j
]
==
i
)
{
htbl
->
huffval
[
p
]
=
(
unsigned
short
)
j
;
htbl
->
huffval
[
p
]
=
(
unsigned
char
)
j
;
p
++
;
p
++
;
}
}
}
}
...
...
dlib/external/libjpeg/jcphuff.cpp
View file @
a0f078d9
...
@@ -223,7 +223,7 @@ dump_buffer (phuff_entropy_ptr entropy)
...
@@ -223,7 +223,7 @@ dump_buffer (phuff_entropy_ptr entropy)
* between calls, so 24 bits are sufficient.
* between calls, so 24 bits are sufficient.
*/
*/
INLINE
inline
LOCAL
(
void
)
LOCAL
(
void
)
emit_bits
(
phuff_entropy_ptr
entropy
,
unsigned
int
code
,
int
size
)
emit_bits
(
phuff_entropy_ptr
entropy
,
unsigned
int
code
,
int
size
)
/* Emit some bits, unless we are in gather mode */
/* Emit some bits, unless we are in gather mode */
...
@@ -276,7 +276,7 @@ flush_bits (phuff_entropy_ptr entropy)
...
@@ -276,7 +276,7 @@ flush_bits (phuff_entropy_ptr entropy)
* Emit (or just count) a Huffman symbol.
* Emit (or just count) a Huffman symbol.
*/
*/
INLINE
inline
LOCAL
(
void
)
LOCAL
(
void
)
emit_symbol
(
phuff_entropy_ptr
entropy
,
int
tbl_no
,
int
symbol
)
emit_symbol
(
phuff_entropy_ptr
entropy
,
int
tbl_no
,
int
symbol
)
{
{
...
...
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