FFmpeg
Macros | Functions | Variables
floatimg_cmp.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <inttypes.h>
#include <float.h>
#include "libavutil/avutil.h"
#include "libavutil/imgutils.h"
#include "libavutil/intfloat.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/lfg.h"
#include "libavutil/mem.h"
#include "libavutil/parseutils.h"
#include "libavutil/pixdesc.h"
#include "libswscale/swscale.h"

Go to the source code of this file.

Macros

#define DEFAULT_W   96
 
#define DEFAULT_H   96
 

Functions

int main (int argc, char **argv)
 

Variables

static enum AVPixelFormat pix_fmts []
 
const char * usage = "floatimg_cmp -pixel_format <pix_fmt> -size <image_size> -ref <testfile>\n"
 

Macro Definition Documentation

#define DEFAULT_W   96

Definition at line 37 of file floatimg_cmp.c.

Referenced by main().

#define DEFAULT_H   96

Definition at line 38 of file floatimg_cmp.c.

Referenced by main().

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 62 of file floatimg_cmp.c.

Variable Documentation

enum AVPixelFormat pix_fmts[]
static
Initial value:
= {
}
planar GBR 4:4:4:4 40bpp, little-endian
Definition: pixfmt.h:291
packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is st...
Definition: pixfmt.h:208
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: pixfmt.h:71
packed RGB 8:8:8, 24bpp, RGBRGB...
Definition: pixfmt.h:68
planar GBR 4:4:4 24bpp
Definition: pixfmt.h:168
planar GBR 4:4:4 36bpp, little-endian
Definition: pixfmt.h:255
packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined
Definition: pixfmt.h:239
packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined
Definition: pixfmt.h:238
packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as lit...
Definition: pixfmt.h:103
planar YUV 4:4:4,36bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
Definition: pixfmt.h:251
packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
Definition: pixfmt.h:94
planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
Definition: pixfmt.h:165
packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
Definition: pixfmt.h:95
packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
Definition: pixfmt.h:92
packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as lit...
Definition: pixfmt.h:149
packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
Definition: pixfmt.h:93
packed RGB 8:8:8, 24bpp, BGRBGR...
Definition: pixfmt.h:69
planar GBR 4:4:4:4 48bpp, little-endian
Definition: pixfmt.h:288
planar GBR 4:4:4 42bpp, little-endian
Definition: pixfmt.h:257
packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined
Definition: pixfmt.h:240
planar YUV 4:4:4, 27bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
Definition: pixfmt.h:163
planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
Definition: pixfmt.h:135
planar GBRA 4:4:4:4 32bpp
Definition: pixfmt.h:215
planar GBR 4:4:4 27bpp, little-endian
Definition: pixfmt.h:171
planar YUV 4:4:4,42bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian
Definition: pixfmt.h:253
planar GBR 4:4:4 48bpp, little-endian
Definition: pixfmt.h:175
planar GBRA 4:4:4:4 64bpp, little-endian
Definition: pixfmt.h:217
packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined
Definition: pixfmt.h:237
planar GBR 4:4:4 30bpp, little-endian
Definition: pixfmt.h:173
packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is st...
Definition: pixfmt.h:206

Definition at line 40 of file floatimg_cmp.c.

Referenced by main().

const char* usage = "floatimg_cmp -pixel_format <pix_fmt> -size <image_size> -ref <testfile>\n"

Definition at line 60 of file floatimg_cmp.c.