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

◆ NAL_AUD

#define NAL_AUD   X264_NAL_AUD

◆ NAL_FILLER

#define NAL_FILLER   X264_NAL_FILLER

◆ NAL_PPS

#define NAL_PPS   X264_NAL_PPS

◆ NAL_PRIORITY_DISPOSABLE

#define NAL_PRIORITY_DISPOSABLE   X264_NAL_PRIORITY_DISPOSABLE

◆ NAL_PRIORITY_HIGH

#define NAL_PRIORITY_HIGH   X264_NAL_PRIORITY_HIGH

◆ NAL_PRIORITY_HIGHEST

#define NAL_PRIORITY_HIGHEST   X264_NAL_PRIORITY_HIGHEST

◆ NAL_PRIORITY_LOW

#define NAL_PRIORITY_LOW   X264_NAL_PRIORITY_LOW

◆ NAL_SEI

#define NAL_SEI   X264_NAL_SEI

◆ NAL_SLICE

#define NAL_SLICE   X264_NAL_SLICE

◆ NAL_SLICE_DPA

#define NAL_SLICE_DPA   X264_NAL_SLICE_DPA

◆ NAL_SLICE_DPB

#define NAL_SLICE_DPB   X264_NAL_SLICE_DPB

◆ NAL_SLICE_DPC

#define NAL_SLICE_DPC   X264_NAL_SLICE_DPC

◆ NAL_SLICE_IDR

#define NAL_SLICE_IDR   X264_NAL_SLICE_IDR

◆ NAL_SPS

#define NAL_SPS   X264_NAL_SPS

◆ NAL_UNKNOWN

#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

◆ x264_compress()

static int x264_compress ( H264_CONTEXT *  h264,
const BYTE **  ppSrcYuv,
const UINT32 *  pStride,
BYTE **  ppDstData,
UINT32 *  pDstSize 
)
static

◆ x264_decompress()

static int x264_decompress ( H264_CONTEXT *  h264,
BYTE pSrcData,
UINT32  SrcSize 
)
static

◆ x264_init()

static BOOL x264_init ( H264_CONTEXT *  h264)
static
Here is the call graph for this function:

◆ x264_uninit()

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

◆ g_Subsystem_x264

H264_CONTEXT_SUBSYSTEM g_Subsystem_x264
Initial value:
x264_compress
static int x264_compress(H264_CONTEXT *h264, const BYTE **ppSrcYuv, const UINT32 *pStride, BYTE **ppDstData, UINT32 *pDstSize)
Definition: h264_x264.c:55
x264_uninit
static void x264_uninit(H264_CONTEXT *h264)
Definition: h264_x264.c:62
x264_init
static BOOL x264_init(H264_CONTEXT *h264)
Definition: h264_x264.c:73
x264_decompress
static int x264_decompress(H264_CONTEXT *h264, BYTE *pSrcData, UINT32 SrcSize)
Definition: h264_x264.c:49