FFmpeg
Loading...
Searching...
No Matches
rematrix.c File Reference
#include <limits.h>
#include <stdio.h>
#include "libavutil/channel_layout.h"
#include "libavutil/mathematics.h"
#include "libswresample/swresample.h"

Go to the source code of this file.

Macros

#define MATRIX_STRIDE   64
 

Functions

static int channel_is_unused (const AVChannelLayout *layout, int index)
 
static void print_matrix_row (const double *matrix, const AVChannelLayout *in_layout, int out, const char *out_name)
 
static int print_matrix (const AVChannelLayout *in_layout, const AVChannelLayout *out_layout)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

◆ MATRIX_STRIDE

#define MATRIX_STRIDE   64

Definition at line 29 of file rematrix.c.

Referenced by main(), print_matrix(), and print_matrix_row().

Function Documentation

◆ channel_is_unused()

static int channel_is_unused ( const AVChannelLayout * layout,
int index )
static

Definition at line 31 of file rematrix.c.

Referenced by print_matrix().

◆ print_matrix_row()

static void print_matrix_row ( const double * matrix,
const AVChannelLayout * in_layout,
int out,
const char * out_name )
static

Definition at line 36 of file rematrix.c.

Referenced by print_matrix().

◆ print_matrix()

static int print_matrix ( const AVChannelLayout * in_layout,
const AVChannelLayout * out_layout )
static

Definition at line 57 of file rematrix.c.

Referenced by main().

◆ main()

int main ( int argc,
char ** argv )

Definition at line 107 of file rematrix.c.