summaryrefslogtreecommitdiffstats
path: root/libxrdp/xrdp_jpeg_compress.c
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2017-03-12 09:35:00 -0700
committerjsorg71 <jay.sorg@gmail.com>2017-03-14 00:21:48 -0700
commit6ed4c969f4d646a7751fe2da29ba94eddd3d6477 (patch)
tree951c72b16a0be1a1cc8c77e6d2ecaa1f25f2bcd6 /libxrdp/xrdp_jpeg_compress.c
parent8be83473b72c926d3c056fd8a81965dbce0a0e5e (diff)
downloadxrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.tar.gz
xrdp-proprietary-6ed4c969f4d646a7751fe2da29ba94eddd3d6477.zip
Eliminate APP_CC and DEFAULT_CC
Diffstat (limited to 'libxrdp/xrdp_jpeg_compress.c')
-rw-r--r--libxrdp/xrdp_jpeg_compress.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/libxrdp/xrdp_jpeg_compress.c b/libxrdp/xrdp_jpeg_compress.c
index e516861d..dbd4d73f 100644
--- a/libxrdp/xrdp_jpeg_compress.c
+++ b/libxrdp/xrdp_jpeg_compress.c
@@ -35,7 +35,7 @@
#include "log.h"
/*****************************************************************************/
-int APP_CC
+int
xrdp_jpeg_compress(void *handle, char *in_data, int width, int height,
struct stream *s, int bpp, int byte_limit,
int start_line, struct stream *temp_s,
@@ -118,7 +118,7 @@ xrdp_jpeg_compress(void *handle, char *in_data, int width, int height,
* frame buffer (inp_data)
*****************************************************************************/
-int APP_CC
+int
xrdp_codec_jpeg_compress(void *handle,
int format, /* input data format */
char *inp_data, /* input data */
@@ -198,7 +198,7 @@ xrdp_codec_jpeg_compress(void *handle,
}
/*****************************************************************************/
-void *APP_CC
+void *
xrdp_jpeg_init(void)
{
tjhandle tj_han;
@@ -208,7 +208,7 @@ xrdp_jpeg_init(void)
}
/*****************************************************************************/
-int APP_CC
+int
xrdp_jpeg_deinit(void *handle)
{
tjhandle tj_han;
@@ -243,7 +243,7 @@ struct mydata_comp
/*****************************************************************************/
/* called at beginning */
-static void DEFAULT_CC
+static void
my_init_destination(j_compress_ptr cinfo)
{
struct mydata_comp *md;
@@ -257,7 +257,7 @@ my_init_destination(j_compress_ptr cinfo)
/*****************************************************************************/
/* called when buffer is full and we need more space */
-static int DEFAULT_CC
+static int
my_empty_output_buffer(j_compress_ptr cinfo)
{
struct mydata_comp *md;
@@ -274,7 +274,7 @@ my_empty_output_buffer(j_compress_ptr cinfo)
/*****************************************************************************/
/* called at end */
-static void DEFAULT_CC
+static void
my_term_destination(j_compress_ptr cinfo)
{
struct mydata_comp *md;
@@ -286,7 +286,7 @@ my_term_destination(j_compress_ptr cinfo)
}
/*****************************************************************************/
-static int APP_CC
+static int
jp_do_compress(JOCTET *data, int width, int height, int bpp, int quality,
JOCTET *comp_data, int *comp_data_bytes)
{
@@ -353,7 +353,7 @@ jp_do_compress(JOCTET *data, int width, int height, int bpp, int quality,
}
/*****************************************************************************/
-static int APP_CC
+static int
jpeg_compress(char *in_data, int width, int height,
struct stream *s, struct stream *temp_s, int bpp,
int byte_limit, int e, int quality)
@@ -411,7 +411,7 @@ jpeg_compress(char *in_data, int width, int height,
}
/*****************************************************************************/
-int APP_CC
+int
xrdp_jpeg_compress(void *handle, char *in_data, int width, int height,
struct stream *s, int bpp, int byte_limit,
int start_line, struct stream *temp_s,
@@ -423,7 +423,7 @@ xrdp_jpeg_compress(void *handle, char *in_data, int width, int height,
}
/*****************************************************************************/
-int APP_CC
+int
xrdp_codec_jpeg_compress(void *handle, int format, char *inp_data, int width,
int height, int stride, int x, int y, int cx, int cy,
int quality, char *out_data, int *io_len)
@@ -432,14 +432,14 @@ xrdp_codec_jpeg_compress(void *handle, int format, char *inp_data, int width,
}
/*****************************************************************************/
-void *APP_CC
+void *
xrdp_jpeg_init(void)
{
return 0;
}
/*****************************************************************************/
-int APP_CC
+int
xrdp_jpeg_deinit(void *handle)
{
return 0;
@@ -448,7 +448,7 @@ xrdp_jpeg_deinit(void *handle)
#else
/*****************************************************************************/
-int APP_CC
+int
xrdp_jpeg_compress(void *handle, char *in_data, int width, int height,
struct stream *s, int bpp, int byte_limit,
int start_line, struct stream *temp_s,
@@ -458,7 +458,7 @@ xrdp_jpeg_compress(void *handle, char *in_data, int width, int height,
}
/*****************************************************************************/
-int APP_CC
+int
xrdp_codec_jpeg_compress(void *handle, int format, char *inp_data, int width,
int height, int stride, int x, int y, int cx, int cy,
int quality, char *out_data, int *io_len)
@@ -467,14 +467,14 @@ xrdp_codec_jpeg_compress(void *handle, int format, char *inp_data, int width,
}
/*****************************************************************************/
-void *APP_CC
+void *
xrdp_jpeg_init(void)
{
return 0;
}
/*****************************************************************************/
-int APP_CC
+int
xrdp_jpeg_deinit(void *handle)
{
return 0;