FreeRDP
encoding.c File Reference
#include <winpr/assert.h>
#include "camera.h"

Macros

#define TAG   CHANNELS_TAG("rdpecam-video.client")
 

Functions

static UINT32 ecam_encoder_h264_get_max_bitrate (CameraDeviceStream *stream)
 
static enum AVPixelFormat ecamToAVPixFormat (CAM_MEDIA_FORMAT ecamFormat)
 
static BOOL ecam_encoder_compress_h264 (CameraDeviceStream *stream, const BYTE *srcData, size_t srcSize, BYTE **ppDstData, size_t *pDstSize)
 
static void ecam_encoder_context_free_h264 (CameraDeviceStream *stream)
 
static BOOL ecam_encoder_context_init_h264 (CameraDeviceStream *stream)
 
BOOL ecam_encoder_context_init (CameraDeviceStream *stream)
 
BOOL ecam_encoder_context_free (CameraDeviceStream *stream)
 
BOOL ecam_encoder_compress (CameraDeviceStream *stream, const BYTE *srcData, size_t srcSize, BYTE **ppDstData, size_t *pDstSize)
 

Macro Definition Documentation

◆ TAG

#define TAG   CHANNELS_TAG("rdpecam-video.client")

FreeRDP: A Remote Desktop Protocol Implementation MS-RDPECAM Implementation, Video Encoding

Copyright 2024 Oleg Turovski oleg2.nosp@m.104@.nosp@m.hotma.nosp@m.il.c.nosp@m.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.

Function Documentation

◆ ecam_encoder_compress()

BOOL ecam_encoder_compress ( CameraDeviceStream stream,
const BYTE srcData,
size_t  srcSize,
BYTE **  ppDstData,
size_t *  pDstSize 
)

Function description

Returns
success/failure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ecam_encoder_compress_h264()

static BOOL ecam_encoder_compress_h264 ( CameraDeviceStream stream,
const BYTE srcData,
size_t  srcSize,
BYTE **  ppDstData,
size_t *  pDstSize 
)
static

Function description

Returns
success/failure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ecam_encoder_context_free()

BOOL ecam_encoder_context_free ( CameraDeviceStream stream)

Function description

Returns
success/failure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ecam_encoder_context_free_h264()

static void ecam_encoder_context_free_h264 ( CameraDeviceStream stream)
static

Function description

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ecam_encoder_context_init()

BOOL ecam_encoder_context_init ( CameraDeviceStream stream)

Function description

Returns
success/failure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ecam_encoder_context_init_h264()

static BOOL ecam_encoder_context_init_h264 ( CameraDeviceStream stream)
static

Function description

Returns
success/failure
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ecam_encoder_h264_get_max_bitrate()

static UINT32 ecam_encoder_h264_get_max_bitrate ( CameraDeviceStream stream)
static

Function description

Returns
bitrate in bps
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ecamToAVPixFormat()

static enum AVPixelFormat ecamToAVPixFormat ( CAM_MEDIA_FORMAT  ecamFormat)
static

Function description

Returns
enum AVPixelFormat value
Here is the caller graph for this function: