diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2012-02-07 16:36:16 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2012-02-07 16:36:16 -0800 |
commit | 7411c42e7b0dbc141ba2e8a4e1b9c75b4ab3b35c (patch) | |
tree | 8c9797958a1158c3ea1f25b6aa0e89807e5ee657 /freerdp1/xrdp-color.h | |
parent | fd5ee6570acea21aa0a8930800585662bcc5337d (diff) | |
download | xrdp-proprietary-7411c42e7b0dbc141ba2e8a4e1b9c75b4ab3b35c.tar.gz xrdp-proprietary-7411c42e7b0dbc141ba2e8a4e1b9c75b4ab3b35c.zip |
freerdp module, color conversion
Diffstat (limited to 'freerdp1/xrdp-color.h')
-rw-r--r-- | freerdp1/xrdp-color.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/freerdp1/xrdp-color.h b/freerdp1/xrdp-color.h new file mode 100644 index 00000000..6a3f7362 --- /dev/null +++ b/freerdp1/xrdp-color.h @@ -0,0 +1,29 @@ +/** + * FreeRDP: A Remote Desktop Protocol Server + * freerdp wrapper + * + * Copyright 2011-2012 Jay Sorg + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef __XRDP_COLOR_H +#define __XRDP_COLOR_H + +char* APP_CC +convert_bitmap(int in_bpp, int out_bpp, char* bmpdata, + int width, int height, int* palette); +int APP_CC +convert_color(int in_bpp, int out_bpp, int in_color, int* palette); + +#endif |