FreeRDP
palette.c File Reference
#include <stdio.h>
#include <winpr/crt.h>
#include <freerdp/log.h>
#include <freerdp/cache/palette.h>
#include "palette.h"

Macros

#define TAG   FREERDP_TAG("cache.palette")
 

Functions

static voidpalette_cache_get (rdpPaletteCache *palette, UINT32 index)
 
static void palette_cache_put (rdpPaletteCache *palette, UINT32 index, void *entry)
 
static BOOL update_gdi_cache_color_table (rdpContext *context, const CACHE_COLOR_TABLE_ORDER *cacheColorTable)
 
void palette_cache_register_callbacks (rdpUpdate *update)
 
rdpPaletteCache * palette_cache_new (rdpSettings *settings)
 
void palette_cache_free (rdpPaletteCache *paletteCache)
 
void free_palette_update (rdpContext *context, PALETTE_UPDATE *pointer)
 
PALETTE_UPDATE * copy_palette_update (rdpContext *context, const PALETTE_UPDATE *pointer)
 

Macro Definition Documentation

#define TAG   FREERDP_TAG("cache.palette")

FreeRDP: A Remote Desktop Protocol Implementation Palette (Color Table) Cache

Copyright 2011 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

PALETTE_UPDATE* copy_palette_update ( rdpContext *  context,
const PALETTE_UPDATE *  pointer 
)

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2018 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2018 Thincast Technologies GmbH

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.

Here is the call graph for this function:

Here is the caller graph for this function:

void free_palette_update ( rdpContext *  context,
PALETTE_UPDATE *  pointer 
)

Here is the caller graph for this function:

void palette_cache_free ( rdpPaletteCache *  paletteCache)

Here is the caller graph for this function:

void * palette_cache_get ( rdpPaletteCache *  palette,
UINT32  index 
)
static
rdpPaletteCache* palette_cache_new ( rdpSettings *  settings)

Here is the caller graph for this function:

void palette_cache_put ( rdpPaletteCache *  palette,
UINT32  index,
void entry 
)
static

Here is the caller graph for this function:

void palette_cache_register_callbacks ( rdpUpdate *  update)

Here is the call graph for this function:

Here is the caller graph for this function:

static BOOL update_gdi_cache_color_table ( rdpContext *  context,
const CACHE_COLOR_TABLE_ORDER *  cacheColorTable 
)
static

Here is the call graph for this function:

Here is the caller graph for this function: