FreeRDP
|
#include <freerdp/config.h>
#include <winpr/wlog.h>
#include <freerdp/log.h>
#include <freerdp/codec/h264.h>
#include <libavcodec/avcodec.h>
#include <libavutil/opt.h>
#include "h264.h"
Macros | |
#define | AV_PIX_FMT_YUV420P PIX_FMT_YUV420P |
#define | av_err2str(errnum) error_string((char[64]){ 0 }, 64, errnum) |
Functions | |
static char * | error_string (char *errbuf, size_t errbuf_size, int errnum) |
static void | libavcodec_destroy_encoder (H264_CONTEXT *WINPR_RESTRICT h264) |
static BOOL | libavcodec_create_encoder (H264_CONTEXT *WINPR_RESTRICT h264) |
static int | libavcodec_decompress (H264_CONTEXT *WINPR_RESTRICT h264, const BYTE *WINPR_RESTRICT pSrcData, UINT32 SrcSize) |
static int | libavcodec_compress (H264_CONTEXT *WINPR_RESTRICT h264, const BYTE **WINPR_RESTRICT pSrcYuv, const UINT32 *WINPR_RESTRICT pStride, BYTE **WINPR_RESTRICT ppDstData, UINT32 *WINPR_RESTRICT pDstSize) |
static void | libavcodec_uninit (H264_CONTEXT *h264) |
static BOOL | libavcodec_init (H264_CONTEXT *h264) |
Variables | |
const H264_CONTEXT_SUBSYSTEM | g_Subsystem_libavcodec |
#define av_err2str | ( | errnum | ) | error_string((char[64]){ 0 }, 64, errnum) |
#define AV_PIX_FMT_YUV420P PIX_FMT_YUV420P |
FreeRDP: A Remote Desktop Protocol Implementation H.264 Bitmap Compression
Copyright 2015 Marc-André Moreau marca Copyright 2014 Mike McDonald ndre .more au@g mail. comMike. Copyright 2014 erbth McDo nald@ soft ware. dell .comt.erb esdo bler@ team 103.c om
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.
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const H264_CONTEXT_SUBSYSTEM g_Subsystem_libavcodec |