FreeRDP
shadow_capture.c File Reference
#include <freerdp/config.h>
#include <winpr/crt.h>
#include <winpr/print.h>
#include <freerdp/log.h>
#include "shadow_surface.h"
#include "shadow_capture.h"

Macros

#define TAG   SERVER_TAG("shadow")
 

Functions

int shadow_capture_align_clip_rect (RECTANGLE_16 *rect, const RECTANGLE_16 *clip)
 
int shadow_capture_compare (const BYTE *WINPR_RESTRICT pData1, UINT32 nStep1, UINT32 nWidth, UINT32 nHeight, const BYTE *WINPR_RESTRICT pData2, UINT32 nStep2, RECTANGLE_16 *WINPR_RESTRICT rect)
 
static BOOL color_equal (UINT32 colorA, UINT32 formatA, UINT32 colorB, UINT32 formatB)
 
static BOOL pixel_equal (const BYTE *WINPR_RESTRICT a, UINT32 formatA, const BYTE *WINPR_RESTRICT b, UINT32 formatB, size_t count)
 
static BOOL color_equal_no_alpha (UINT32 colorA, UINT32 formatA, UINT32 colorB, UINT32 formatB)
 
static BOOL pixel_equal_no_alpha (const BYTE *WINPR_RESTRICT a, UINT32 formatA, const BYTE *WINPR_RESTRICT b, UINT32 formatB, size_t count)
 
static BOOL pixel_equal_same_format (const BYTE *WINPR_RESTRICT a, UINT32 formatA, const BYTE *WINPR_RESTRICT b, UINT32 formatB, size_t count)
 
int shadow_capture_compare_with_format (const BYTE *WINPR_RESTRICT pData1, UINT32 format1, UINT32 nStep1, UINT32 nWidth, UINT32 nHeight, const BYTE *WINPR_RESTRICT pData2, UINT32 format2, UINT32 nStep2, RECTANGLE_16 *WINPR_RESTRICT rect)
 
rdpShadowCapture * shadow_capture_new (rdpShadowServer *server)
 
void shadow_capture_free (rdpShadowCapture *capture)
 

Macro Definition Documentation

◆ TAG

#define TAG   SERVER_TAG("shadow")

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2014 Marc-Andre Moreau marca.nosp@m.ndre.nosp@m..more.nosp@m.au@g.nosp@m.mail..nosp@m.com

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.

Function Documentation

◆ color_equal()

static BOOL color_equal ( UINT32  colorA,
UINT32  formatA,
UINT32  colorB,
UINT32  formatB 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ color_equal_no_alpha()

static BOOL color_equal_no_alpha ( UINT32  colorA,
UINT32  formatA,
UINT32  colorB,
UINT32  formatB 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pixel_equal()

static BOOL pixel_equal ( const BYTE *WINPR_RESTRICT  a,
UINT32  formatA,
const BYTE *WINPR_RESTRICT  b,
UINT32  formatB,
size_t  count 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pixel_equal_no_alpha()

static BOOL pixel_equal_no_alpha ( const BYTE *WINPR_RESTRICT  a,
UINT32  formatA,
const BYTE *WINPR_RESTRICT  b,
UINT32  formatB,
size_t  count 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pixel_equal_same_format()

static BOOL pixel_equal_same_format ( const BYTE *WINPR_RESTRICT  a,
UINT32  formatA,
const BYTE *WINPR_RESTRICT  b,
UINT32  formatB,
size_t  count 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadow_capture_align_clip_rect()

int shadow_capture_align_clip_rect ( RECTANGLE_16 rect,
const RECTANGLE_16 clip 
)
Here is the caller graph for this function:

◆ shadow_capture_compare()

int shadow_capture_compare ( const BYTE *WINPR_RESTRICT  pData1,
UINT32  nStep1,
UINT32  nWidth,
UINT32  nHeight,
const BYTE *WINPR_RESTRICT  pData2,
UINT32  nStep2,
RECTANGLE_16 *WINPR_RESTRICT  rect 
)
Here is the call graph for this function:

◆ shadow_capture_compare_with_format()

int shadow_capture_compare_with_format ( const BYTE *WINPR_RESTRICT  pData1,
UINT32  format1,
UINT32  nStep1,
UINT32  nWidth,
UINT32  nHeight,
const BYTE *WINPR_RESTRICT  pData2,
UINT32  format2,
UINT32  nStep2,
RECTANGLE_16 *WINPR_RESTRICT  rect 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadow_capture_free()

void shadow_capture_free ( rdpShadowCapture *  capture)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ shadow_capture_new()

rdpShadowCapture* shadow_capture_new ( rdpShadowServer *  server)
Here is the call graph for this function:
Here is the caller graph for this function: