Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
钟尚武
dlib
Commits
fa25ae78
Commit
fa25ae78
authored
Dec 04, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Just removed unused variable names to avoid warnings from gcc.
parent
c2ff0cf8
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
32 deletions
+32
-32
jdatasrc.cpp
dlib/external/libjpeg/jdatasrc.cpp
+1
-1
jdcoefct.cpp
dlib/external/libjpeg/jdcoefct.cpp
+1
-1
jdcolor.cpp
dlib/external/libjpeg/jdcolor.cpp
+1
-1
jdmerge.cpp
dlib/external/libjpeg/jdmerge.cpp
+3
-3
jdpostct.cpp
dlib/external/libjpeg/jdpostct.cpp
+4
-4
jdsample.cpp
dlib/external/libjpeg/jdsample.cpp
+6
-6
jmemnobs.cpp
dlib/external/libjpeg/jmemnobs.cpp
+10
-10
jquant1.cpp
dlib/external/libjpeg/jquant1.cpp
+4
-4
jquant2.cpp
dlib/external/libjpeg/jquant2.cpp
+2
-2
No files found.
dlib/external/libjpeg/jdatasrc.cpp
View file @
fa25ae78
...
...
@@ -166,7 +166,7 @@ skip_input_data (j_decompress_ptr cinfo, long num_bytes)
*/
METHODDEF
(
void
)
term_source
(
j_decompress_ptr
cinfo
)
term_source
(
j_decompress_ptr
)
{
/* no work necessary here */
}
...
...
dlib/external/libjpeg/jdcoefct.cpp
View file @
fa25ae78
...
...
@@ -225,7 +225,7 @@ decompress_onepass (j_decompress_ptr cinfo, JSAMPIMAGE output_buf)
*/
METHODDEF
(
int
)
dummy_consume_data
(
j_decompress_ptr
cinfo
)
dummy_consume_data
(
j_decompress_ptr
)
{
return
JPEG_SUSPENDED
;
/* Always indicate nothing was done */
}
...
...
dlib/external/libjpeg/jdcolor.cpp
View file @
fa25ae78
...
...
@@ -290,7 +290,7 @@ ycck_cmyk_convert (j_decompress_ptr cinfo,
*/
METHODDEF
(
void
)
start_pass_dcolor
(
j_decompress_ptr
cinfo
)
start_pass_dcolor
(
j_decompress_ptr
)
{
/* no work needed */
}
...
...
dlib/external/libjpeg/jdmerge.cpp
View file @
fa25ae78
...
...
@@ -143,7 +143,7 @@ start_pass_merged_upsample (j_decompress_ptr cinfo)
METHODDEF
(
void
)
merged_2v_upsample
(
j_decompress_ptr
cinfo
,
JSAMPIMAGE
input_buf
,
JDIMENSION
*
in_row_group_ctr
,
JDIMENSION
in_row_groups_avail
,
JDIMENSION
,
JSAMPARRAY
output_buf
,
JDIMENSION
*
out_row_ctr
,
JDIMENSION
out_rows_avail
)
/* 2:1 vertical sampling case: may need a spare row. */
...
...
@@ -192,9 +192,9 @@ merged_2v_upsample (j_decompress_ptr cinfo,
METHODDEF
(
void
)
merged_1v_upsample
(
j_decompress_ptr
cinfo
,
JSAMPIMAGE
input_buf
,
JDIMENSION
*
in_row_group_ctr
,
JDIMENSION
in_row_groups_avail
,
JDIMENSION
,
JSAMPARRAY
output_buf
,
JDIMENSION
*
out_row_ctr
,
JDIMENSION
out_rows_avail
)
JDIMENSION
)
/* 1:1 vertical sampling case: much easier, never need a spare row. */
{
my_upsample_ptr
upsample
=
(
my_upsample_ptr
)
cinfo
->
upsample
;
...
...
dlib/external/libjpeg/jdpostct.cpp
View file @
fa25ae78
...
...
@@ -158,8 +158,8 @@ METHODDEF(void)
post_process_prepass
(
j_decompress_ptr
cinfo
,
JSAMPIMAGE
input_buf
,
JDIMENSION
*
in_row_group_ctr
,
JDIMENSION
in_row_groups_avail
,
JSAMPARRAY
output_buf
,
JDIMENSION
*
out_row_ctr
,
JDIMENSION
out_rows_avail
)
JSAMPARRAY
,
JDIMENSION
*
out_row_ctr
,
JDIMENSION
)
{
my_post_ptr
post
=
(
my_post_ptr
)
cinfo
->
post
;
JDIMENSION
old_next_row
,
num_rows
;
...
...
@@ -200,8 +200,8 @@ post_process_prepass (j_decompress_ptr cinfo,
METHODDEF
(
void
)
post_process_2pass
(
j_decompress_ptr
cinfo
,
JSAMPIMAGE
input_buf
,
JDIMENSION
*
in_row_group_ctr
,
JDIMENSION
in_row_groups_avail
,
JSAMPIMAGE
,
JDIMENSION
*
,
JDIMENSION
,
JSAMPARRAY
output_buf
,
JDIMENSION
*
out_row_ctr
,
JDIMENSION
out_rows_avail
)
{
...
...
dlib/external/libjpeg/jdsample.cpp
View file @
fa25ae78
...
...
@@ -88,7 +88,7 @@ start_pass_upsample (j_decompress_ptr cinfo)
METHODDEF
(
void
)
sep_upsample
(
j_decompress_ptr
cinfo
,
JSAMPIMAGE
input_buf
,
JDIMENSION
*
in_row_group_ctr
,
JDIMENSION
in_row_groups_avail
,
JDIMENSION
,
JSAMPARRAY
output_buf
,
JDIMENSION
*
out_row_ctr
,
JDIMENSION
out_rows_avail
)
{
...
...
@@ -154,7 +154,7 @@ sep_upsample (j_decompress_ptr cinfo,
*/
METHODDEF
(
void
)
fullsize_upsample
(
j_decompress_ptr
cinfo
,
jpeg_component_info
*
compptr
,
fullsize_upsample
(
j_decompress_ptr
,
jpeg_component_info
*
,
JSAMPARRAY
input_data
,
JSAMPARRAY
*
output_data_ptr
)
{
*
output_data_ptr
=
input_data
;
...
...
@@ -167,8 +167,8 @@ fullsize_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
*/
METHODDEF
(
void
)
noop_upsample
(
j_decompress_ptr
cinfo
,
jpeg_component_info
*
compptr
,
JSAMPARRAY
input_data
,
JSAMPARRAY
*
output_data_ptr
)
noop_upsample
(
j_decompress_ptr
,
jpeg_component_info
*
,
JSAMPARRAY
,
JSAMPARRAY
*
output_data_ptr
)
{
*
output_data_ptr
=
NULL
;
/* safety check */
}
...
...
@@ -230,7 +230,7 @@ int_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
*/
METHODDEF
(
void
)
h2v1_upsample
(
j_decompress_ptr
cinfo
,
jpeg_component_info
*
compptr
,
h2v1_upsample
(
j_decompress_ptr
cinfo
,
jpeg_component_info
*
,
JSAMPARRAY
input_data
,
JSAMPARRAY
*
output_data_ptr
)
{
JSAMPARRAY
output_data
=
*
output_data_ptr
;
...
...
@@ -258,7 +258,7 @@ h2v1_upsample (j_decompress_ptr cinfo, jpeg_component_info * compptr,
*/
METHODDEF
(
void
)
h2v2_upsample
(
j_decompress_ptr
cinfo
,
jpeg_component_info
*
compptr
,
h2v2_upsample
(
j_decompress_ptr
cinfo
,
jpeg_component_info
*
,
JSAMPARRAY
input_data
,
JSAMPARRAY
*
output_data_ptr
)
{
JSAMPARRAY
output_data
=
*
output_data_ptr
;
...
...
dlib/external/libjpeg/jmemnobs.cpp
View file @
fa25ae78
...
...
@@ -32,13 +32,13 @@ extern void free JPP((void *ptr));
*/
GLOBAL
(
void
*
)
jpeg_get_small
(
j_common_ptr
cinfo
,
size_t
sizeofobject
)
jpeg_get_small
(
j_common_ptr
,
size_t
sizeofobject
)
{
return
(
void
*
)
malloc
(
sizeofobject
);
}
GLOBAL
(
void
)
jpeg_free_small
(
j_common_ptr
cinfo
,
void
*
object
,
size_t
sizeofobject
)
jpeg_free_small
(
j_common_ptr
,
void
*
object
,
size_t
)
{
free
(
object
);
}
...
...
@@ -52,13 +52,13 @@ jpeg_free_small (j_common_ptr cinfo, void * object, size_t sizeofobject)
*/
GLOBAL
(
void
FAR
*
)
jpeg_get_large
(
j_common_ptr
cinfo
,
size_t
sizeofobject
)
jpeg_get_large
(
j_common_ptr
,
size_t
sizeofobject
)
{
return
(
void
FAR
*
)
malloc
(
sizeofobject
);
}
GLOBAL
(
void
)
jpeg_free_large
(
j_common_ptr
cinfo
,
void
FAR
*
object
,
size_t
sizeofobject
)
jpeg_free_large
(
j_common_ptr
,
void
FAR
*
object
,
size_t
)
{
free
(
object
);
}
...
...
@@ -70,8 +70,8 @@ jpeg_free_large (j_common_ptr cinfo, void FAR * object, size_t sizeofobject)
*/
GLOBAL
(
long
)
jpeg_mem_available
(
j_common_ptr
cinfo
,
long
min_bytes_needed
,
long
max_bytes_needed
,
long
already_allocated
)
jpeg_mem_available
(
j_common_ptr
,
long
,
long
max_bytes_needed
,
long
)
{
return
max_bytes_needed
;
}
...
...
@@ -84,8 +84,8 @@ jpeg_mem_available (j_common_ptr cinfo, long min_bytes_needed,
*/
GLOBAL
(
void
)
jpeg_open_backing_store
(
j_common_ptr
cinfo
,
backing_store_ptr
info
,
long
total_bytes_needed
)
jpeg_open_backing_store
(
j_common_ptr
cinfo
,
backing_store_ptr
,
long
)
{
ERREXIT
(
cinfo
,
JERR_NO_BACKING_STORE
);
}
...
...
@@ -97,13 +97,13 @@ jpeg_open_backing_store (j_common_ptr cinfo, backing_store_ptr info,
*/
GLOBAL
(
long
)
jpeg_mem_init
(
j_common_ptr
cinfo
)
jpeg_mem_init
(
j_common_ptr
)
{
return
0
;
/* just set max_memory_to_use to 0 */
}
GLOBAL
(
void
)
jpeg_mem_term
(
j_common_ptr
cinfo
)
jpeg_mem_term
(
j_common_ptr
)
{
/* no work */
}
dlib/external/libjpeg/jquant1.cpp
View file @
fa25ae78
...
...
@@ -242,7 +242,7 @@ select_ncolors (j_decompress_ptr cinfo, int Ncolors[])
LOCAL
(
int
)
output_value
(
j_decompress_ptr
cinfo
,
int
ci
,
int
j
,
int
maxj
)
output_value
(
j_decompress_ptr
,
int
,
int
j
,
int
maxj
)
/* Return j'th output value, where j will range from 0 to maxj */
/* The output values must fall in 0..MAXJSAMPLE in increasing order */
{
...
...
@@ -256,7 +256,7 @@ output_value (j_decompress_ptr cinfo, int ci, int j, int maxj)
LOCAL
(
int
)
largest_input_value
(
j_decompress_ptr
cinfo
,
int
ci
,
int
j
,
int
maxj
)
largest_input_value
(
j_decompress_ptr
,
int
,
int
j
,
int
maxj
)
/* Return largest input value that should map to j'th output value */
/* Must have largest(j=0) >= 0, and largest(j=maxj) >= MAXJSAMPLE */
{
...
...
@@ -738,7 +738,7 @@ alloc_fs_workspace (j_decompress_ptr cinfo)
*/
METHODDEF
(
void
)
start_pass_1_quant
(
j_decompress_ptr
cinfo
,
boolean
is_pre_scan
)
start_pass_1_quant
(
j_decompress_ptr
cinfo
,
boolean
)
{
my_cquantize_ptr
cquantize
=
(
my_cquantize_ptr
)
cinfo
->
cquantize
;
size_t
arraysize
;
...
...
@@ -795,7 +795,7 @@ start_pass_1_quant (j_decompress_ptr cinfo, boolean is_pre_scan)
*/
METHODDEF
(
void
)
finish_pass_1_quant
(
j_decompress_ptr
cinfo
)
finish_pass_1_quant
(
j_decompress_ptr
)
{
/* no work in 1-pass case */
}
...
...
dlib/external/libjpeg/jquant2.cpp
View file @
fa25ae78
...
...
@@ -222,7 +222,7 @@ typedef my_cquantizer * my_cquantize_ptr;
METHODDEF
(
void
)
prescan_quantize
(
j_decompress_ptr
cinfo
,
JSAMPARRAY
input_buf
,
JSAMPARRAY
output_buf
,
int
num_rows
)
JSAMPARRAY
,
int
num_rows
)
{
my_cquantize_ptr
cquantize
=
(
my_cquantize_ptr
)
cinfo
->
cquantize
;
register
JSAMPROW
ptr
;
...
...
@@ -1153,7 +1153,7 @@ finish_pass1 (j_decompress_ptr cinfo)
METHODDEF
(
void
)
finish_pass2
(
j_decompress_ptr
cinfo
)
finish_pass2
(
j_decompress_ptr
)
{
/* no work */
}
...
...
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