~ubuntu-branches/ubuntu/vivid/freerdp/vivid

« back to all changes in this revision

Viewing changes to include/freerdp/codec/bitmap.h

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2014-11-11 12:20:50 UTC
  • mfrom: (1.2.5)
  • mto: This revision was merged to the branch mainline in revision 24.
  • Revision ID: package-import@ubuntu.com-20141111122050-7z628f4ab38qxad5
Tags: upstream-1.1.0~git20140921.1.440916e+dfsg1
ImportĀ upstreamĀ versionĀ 1.1.0~git20140921.1.440916e+dfsg1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * FreeRDP: A Remote Desktop Protocol Client
 
2
 * FreeRDP: A Remote Desktop Protocol Implementation
3
3
 * Compressed Bitmap
4
4
 *
5
5
 * Copyright 2011 Jay Sorg <jay.sorg@gmail.com>
17
17
 * limitations under the License.
18
18
 */
19
19
 
20
 
#ifndef __BITMAP_H
21
 
#define __BITMAP_H
 
20
#ifndef FREERDP_CODEC_BITMAP_H
 
21
#define FREERDP_CODEC_BITMAP_H
22
22
 
 
23
#include <freerdp/api.h>
23
24
#include <freerdp/types.h>
24
25
 
25
 
FREERDP_API boolean bitmap_decompress(uint8* srcData, uint8* dstData, int width, int height, int size, int srcBpp, int dstBpp);
26
 
 
27
 
#endif /* __BITMAP_H */
 
26
#include <winpr/crt.h>
 
27
#include <winpr/stream.h>
 
28
 
 
29
FREERDP_API BOOL bitmap_decompress(BYTE* srcData, BYTE* dstData, int width, int height, int size, int srcBpp, int dstBpp);
 
30
 
 
31
FREERDP_API int freerdp_bitmap_compress(char* in_data, int width, int height,
 
32
                wStream* s, int bpp, int byte_limit, int start_line, wStream* temp_s, int e);
 
33
 
 
34
#endif /* FREERDP_CODEC_BITMAP_H */