FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
display.c File Reference
#include <stdint.h>
#include <string.h>
#include <math.h>
#include "display.h"
#include "mathematics.h"

Go to the source code of this file.

Macros

#define CONV_FP(x)   ((double) (x)) / (1 << 16)
 
#define CONV_DB(x)   (int32_t) ((x) * (1 << 16))
 

Functions

double av_display_rotation_get (const int32_t matrix[9])
 Extract the rotation component of the transformation matrix. More...
 
void av_display_rotation_set (int32_t matrix[9], double angle)
 Initialize a transformation matrix describing a pure counterclockwise rotation by the specified angle (in degrees). More...
 
void av_display_matrix_flip (int32_t matrix[9], int hflip, int vflip)
 Flip the input matrix horizontally and/or vertically. More...
 

Macro Definition Documentation

#define CONV_FP (   x)    ((double) (x)) / (1 << 16)

Definition at line 29 of file display.c.

Referenced by av_display_rotation_get().

#define CONV_DB (   x)    (int32_t) ((x) * (1 << 16))

Definition at line 32 of file display.c.

Referenced by av_display_rotation_set().