#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <stdint.h>
#include <float.h>
#include <xavs.h>
#include "avcodec.h"
#include "internal.h"
#include "libavutil/opt.h"
Go to the source code of this file.
Functions |
static void | XAVS_log (void *p, int level, const char *fmt, va_list args) |
static int | encode_nals (AVCodecContext *ctx, uint8_t *buf, int size, xavs_nal_t *nals, int nnal, int skip_sei) |
static int | XAVS_frame (AVCodecContext *ctx, uint8_t *buf, int bufsize, void *data) |
static av_cold int | XAVS_close (AVCodecContext *avctx) |
static av_cold int | XAVS_init (AVCodecContext *avctx) |
Macro Definition Documentation
#define END_OF_STREAM 0x001 |
#define XAVS_PART_B8X8 0x100 /* Analyze b16x8, b*/ |
#define XAVS_PART_I8X8 0x002 /* Analyze i8x8 (requires 8x8 transform) */ |
#define XAVS_PART_P8X8 0x010 /* Analyze p16x8, p8x16 and p8x8 */ |
Typedef Documentation
Function Documentation
static int encode_nals |
( |
AVCodecContext * |
ctx, |
|
|
uint8_t * |
buf, |
|
|
int |
size, |
|
|
xavs_nal_t * |
nals, |
|
|
int |
nnal, |
|
|
int |
skip_sei |
|
) |
| |
|
static |
static void XAVS_log |
( |
void * |
p, |
|
|
int |
level, |
|
|
const char * |
fmt, |
|
|
va_list |
args |
|
) |
| |
|
static |
Variable Documentation
Initial value: {
.name = "libxavs",
.priv_class = &class,
}
Definition at line 409 of file libxavs.c.
Initial value: {
{
"qp",
"Constant quantization parameter rate control method",
OFFSET(cqp),
AV_OPT_TYPE_INT, {-1 }, -1, INT_MAX,
VE },
{
"b-bias",
"Influences how often B-frames are used",
OFFSET(b_bias),
AV_OPT_TYPE_INT, {INT_MIN}, INT_MIN, INT_MAX,
VE },
{
"cplxblur",
"Reduce fluctuations in QP (before curve compression)",
OFFSET(cplxblur),
AV_OPT_TYPE_FLOAT, {-1 }, -1, FLT_MAX,
VE},
{
"direct-pred",
"Direct MV prediction mode",
OFFSET(direct_pred),
AV_OPT_TYPE_INT, {-1 }, -1, INT_MAX,
VE,
"direct-pred" },
{
"mixed-refs",
"One reference per partition, as opposed to one reference per macroblock",
OFFSET(mixed_refs),
AV_OPT_TYPE_INT, {-1}, -1, 1,
VE },
}
Definition at line 380 of file libxavs.c.