FreeRDP
h264_x264.c File Reference
#include <stdint.h>
#include <x264.h>
#include <freerdp/codec/h264.h>

Macros

#define NAL_UNKNOWN   X264_NAL_UNKNOWN
 
#define NAL_SLICE   X264_NAL_SLICE
 
#define NAL_SLICE_DPA   X264_NAL_SLICE_DPA
 
#define NAL_SLICE_DPB   X264_NAL_SLICE_DPB
 
#define NAL_SLICE_DPC   X264_NAL_SLICE_DPC
 
#define NAL_SLICE_IDR   X264_NAL_SLICE_IDR
 
#define NAL_SEI   X264_NAL_SEI
 
#define NAL_SPS   X264_NAL_SPS
 
#define NAL_PPS   X264_NAL_PPS
 
#define NAL_AUD   X264_NAL_AUD
 
#define NAL_FILLER   X264_NAL_FILLER
 
#define NAL_PRIORITY_DISPOSABLE   X264_NAL_PRIORITY_DISPOSABLE
 
#define NAL_PRIORITY_LOW   X264_NAL_PRIORITY_LOW
 
#define NAL_PRIORITY_HIGH   X264_NAL_PRIORITY_HIGH
 
#define NAL_PRIORITY_HIGHEST   X264_NAL_PRIORITY_HIGHEST
 

Functions

static int x264_decompress (H264_CONTEXT *h264, BYTE *pSrcData, UINT32 SrcSize)
 
static int x264_compress (H264_CONTEXT *h264, const BYTE **ppSrcYuv, const UINT32 *pStride, BYTE **ppDstData, UINT32 *pDstSize)
 
static void x264_uninit (H264_CONTEXT *h264)
 
static BOOL x264_init (H264_CONTEXT *h264)
 

Variables

H264_CONTEXT_SUBSYSTEM g_Subsystem_x264
 

Macro Definition Documentation

#define NAL_AUD   X264_NAL_AUD
#define NAL_FILLER   X264_NAL_FILLER
#define NAL_PPS   X264_NAL_PPS
#define NAL_PRIORITY_DISPOSABLE   X264_NAL_PRIORITY_DISPOSABLE
#define NAL_PRIORITY_HIGH   X264_NAL_PRIORITY_HIGH
#define NAL_PRIORITY_HIGHEST   X264_NAL_PRIORITY_HIGHEST
#define NAL_PRIORITY_LOW   X264_NAL_PRIORITY_LOW
#define NAL_SEI   X264_NAL_SEI
#define NAL_SLICE   X264_NAL_SLICE
#define NAL_SLICE_DPA   X264_NAL_SLICE_DPA
#define NAL_SLICE_DPB   X264_NAL_SLICE_DPB
#define NAL_SLICE_DPC   X264_NAL_SLICE_DPC
#define NAL_SLICE_IDR   X264_NAL_SLICE_IDR
#define NAL_SPS   X264_NAL_SPS
#define NAL_UNKNOWN   X264_NAL_UNKNOWN

FreeRDP: A Remote Desktop Protocol Implementation H.264 Bitmap Compression

Copyright 2015 Marc-André 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

static int x264_compress ( H264_CONTEXT *  h264,
const BYTE **  ppSrcYuv,
const UINT32 pStride,
BYTE **  ppDstData,
UINT32 pDstSize 
)
static
static int x264_decompress ( H264_CONTEXT *  h264,
BYTE pSrcData,
UINT32  SrcSize 
)
static
static BOOL x264_init ( H264_CONTEXT *  h264)
static

Here is the call graph for this function:

static void x264_uninit ( H264_CONTEXT *  h264)
static

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

H264_CONTEXT_SUBSYSTEM g_Subsystem_x264
Initial value:
=
{
"x264",
}
static int x264_compress(H264_CONTEXT *h264, const BYTE **ppSrcYuv, const UINT32 *pStride, BYTE **ppDstData, UINT32 *pDstSize)
Definition: h264_x264.c:55
static int x264_decompress(H264_CONTEXT *h264, BYTE *pSrcData, UINT32 SrcSize)
Definition: h264_x264.c:49
static BOOL x264_init(H264_CONTEXT *h264)
Definition: h264_x264.c:72
static void x264_uninit(H264_CONTEXT *h264)
Definition: h264_x264.c:61