FreeRDP
|
#include <freerdp/config.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <winpr/crt.h>
#include <freerdp/codec/nsc.h>
#include <freerdp/codec/color.h>
#include "nsc_types.h"
#include "nsc_encode.h"
#include "nsc_sse2.h"
#include <freerdp/log.h>
Macros | |
#define | TAG FREERDP_TAG("codec.nsc") |
#define | NSC_INIT_SIMD(_nsc_context) |
Functions | |
static BOOL | nsc_decode (NSC_CONTEXT *context) |
static BOOL | nsc_rle_decode (BYTE *in, BYTE *out, UINT32 outSize, UINT32 originalSize) |
static BOOL | nsc_rle_decompress_data (NSC_CONTEXT *context) |
static BOOL | nsc_stream_initialize (NSC_CONTEXT *context, wStream *s) |
static BOOL | nsc_context_initialize (NSC_CONTEXT *context, wStream *s) |
static void | nsc_profiler_print (NSC_CONTEXT_PRIV *priv) |
BOOL | nsc_context_reset (NSC_CONTEXT *context, UINT32 width, UINT32 height) |
NSC_CONTEXT * | nsc_context_new (void) |
void | nsc_context_free (NSC_CONTEXT *context) |
BOOL | nsc_context_set_parameters (NSC_CONTEXT *context, NSC_PARAMETER what, UINT32 value) |
BOOL | nsc_process_message (NSC_CONTEXT *context, UINT16 bpp, UINT32 width, UINT32 height, const BYTE *data, UINT32 length, BYTE *pDstData, UINT32 DstFormat, UINT32 nDstStride, UINT32 nXDst, UINT32 nYDst, UINT32 nWidth, UINT32 nHeight, UINT32 flip) |
#define NSC_INIT_SIMD | ( | _nsc_context | ) |
#define TAG FREERDP_TAG("codec.nsc") |
FreeRDP: A Remote Desktop Protocol Implementation NSCodec Codec
Copyright 2011 Samsung, Author Jiten Pathy Copyright 2012 Vic Lee Copyright 2016 Armin Novak armin Copyright 2016 Thincast Technologies GmbH .nov ak@th inca st.co m
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.
void nsc_context_free | ( | NSC_CONTEXT * | context | ) |
|
static |
NSC_CONTEXT* nsc_context_new | ( | void | ) |
BOOL nsc_context_reset | ( | NSC_CONTEXT * | context, |
UINT32 | width, | ||
UINT32 | height | ||
) |
BOOL nsc_context_set_parameters | ( | NSC_CONTEXT * | context, |
NSC_PARAMETER | what, | ||
UINT32 | value | ||
) |
|
static |
BOOL nsc_process_message | ( | NSC_CONTEXT * | context, |
UINT16 | bpp, | ||
UINT32 | width, | ||
UINT32 | height, | ||
const BYTE * | data, | ||
UINT32 | length, | ||
BYTE * | pDstData, | ||
UINT32 | DstFormat, | ||
UINT32 | nDstStride, | ||
UINT32 | nXDst, | ||
UINT32 | nYDst, | ||
UINT32 | nWidth, | ||
UINT32 | nHeight, | ||
UINT32 | flip | ||
) |
|
static |
|
static |
|
static |