FreeRDP
|
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <limits.h>
#include <inttypes.h>
#include <fdk-aac/aacdecoder_lib.h>
#include <fdk-aac/aacenc_lib.h>
#include "dsp_fdk_impl.h"
Macros | |
#define | WLOG_TRACE 0 |
#define | WLOG_DEBUG 1 |
#define | WLOG_INFO 2 |
#define | WLOG_WARN 3 |
#define | WLOG_ERROR 4 |
#define | WLOG_FATAL 5 |
Functions | |
static const char * | enc_err_str (AACENC_ERROR err) |
static const char * | dec_err_str (AAC_DECODER_ERROR err) |
static void | log_dec_info (const CStreamInfo *info, void(*log)(const char *fmt,...)) |
static void | log_enc_info (const AACENC_InfoStruct *info, fdk_log_fkt_t log) |
static const char * | aac_enc_param_str (AACENC_PARAM param) |
int | fdk_aac_dsp_impl_init (void **handle, int encoder, fdk_log_fkt_t log) |
void | fdk_aac_dsp_impl_uninit (void **handle, int encoder, fdk_log_fkt_t log) |
ssize_t | fdk_aac_dsp_impl_decode_read (void *handle, void *dst, size_t dstSize, fdk_log_fkt_t log) |
static unsigned | get_channelmode (unsigned channels) |
int | fdk_aac_dsp_impl_config (void *handle, size_t *pbuffersize, int encoder, unsigned samplerate, unsigned channels, unsigned bytes_per_second, unsigned frames_per_packet, fdk_log_fkt_t log) |
ssize_t | fdk_aac_dsp_impl_decode_fill (void *handle, const void *data, size_t size, fdk_log_fkt_t log) |
ssize_t | fdk_aac_dsp_impl_stream_info (void *handle, int encoder, fdk_log_fkt_t log) |
ssize_t | fdk_aac_dsp_impl_encode (void *handle, const void *data, size_t size, void *dst, size_t dstSize, fdk_log_fkt_t log) |
#define WLOG_DEBUG 1 |
#define WLOG_ERROR 4 |
#define WLOG_FATAL 5 |
#define WLOG_INFO 2 |
#define WLOG_TRACE 0 |
FreeRDP: A Remote Desktop Protocol Implementation Digital Sound Processing
Copyright 2022 Armin Novak anova Copyright 2022 Thincast Technologies GmbH k@th incas t.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.
#define WLOG_WARN 3 |
|
static |
|
static |
|
static |
int fdk_aac_dsp_impl_config | ( | void * | handle, |
size_t * | pbuffersize, | ||
int | encoder, | ||
unsigned | samplerate, | ||
unsigned | channels, | ||
unsigned | bytes_per_second, | ||
unsigned | frames_per_packet, | ||
fdk_log_fkt_t | log | ||
) |
ssize_t fdk_aac_dsp_impl_decode_fill | ( | void * | handle, |
const void * | data, | ||
size_t | size, | ||
fdk_log_fkt_t | log | ||
) |
ssize_t fdk_aac_dsp_impl_decode_read | ( | void * | handle, |
void * | dst, | ||
size_t | dstSize, | ||
fdk_log_fkt_t | log | ||
) |
ssize_t fdk_aac_dsp_impl_encode | ( | void * | handle, |
const void * | data, | ||
size_t | size, | ||
void * | dst, | ||
size_t | dstSize, | ||
fdk_log_fkt_t | log | ||
) |
int fdk_aac_dsp_impl_init | ( | void ** | handle, |
int | encoder, | ||
fdk_log_fkt_t | log | ||
) |
ssize_t fdk_aac_dsp_impl_stream_info | ( | void * | handle, |
int | encoder, | ||
fdk_log_fkt_t | log | ||
) |
void fdk_aac_dsp_impl_uninit | ( | void ** | handle, |
int | encoder, | ||
fdk_log_fkt_t | log | ||
) |
|
static |
|
static |
|
static |