#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <inttypes.h>
#include <stdarg.h>
#include "libavutil/cpu.h"
#include "libavutil/imgutils.h"
#include "libavutil/mem.h"
#include "libavutil/avutil.h"
#include "libavutil/crc.h"
#include "libavutil/pixdesc.h"
#include "libavutil/lfg.h"
#include "libswscale/swscale.h"
 
Go to the source code of this file.
 | 
| static uint64_t  | getSSD (const uint8_t *src1, const uint8_t *src2, int stride1, int stride2, int w, int h) | 
|   | 
| static int  | doTest (uint8_t *ref[4], int refStride[4], int w, int h, enum AVPixelFormat srcFormat, enum AVPixelFormat dstFormat, int srcW, int srcH, int dstW, int dstH, int flags, struct Results *r) | 
|   | 
| static void  | selfTest (uint8_t *ref[4], int refStride[4], int w, int h, enum AVPixelFormat srcFormat_in, enum AVPixelFormat dstFormat_in) | 
|   | 
| static int  | fileTest (uint8_t *ref[4], int refStride[4], int w, int h, FILE *fp, enum AVPixelFormat srcFormat_in, enum AVPixelFormat dstFormat_in) | 
|   | 
| int  | main (int argc, char **argv) | 
|   | 
Value:
8 bits gray, 8 bits alpha 
 
16 bits gray, 16 bits alpha (big-endian) 
 
Y , 16bpp, little-endian. 
 
16 bits gray, 16 bits alpha (little-endian) 
 
 
Definition at line 40 of file swscale.c.
Referenced by ff_init_filters(), ff_init_vscale(), ff_init_vscale_pfn(), ff_sws_alphablendaway(), sws_init_swscale(), and sws_setColorspaceDetails().
 
 
Value:
Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb...
 
Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb...
 
 
Definition at line 47 of file swscale.c.
Referenced by doTest().
 
 
Value:
planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples) 
 
#define AV_PIX_FMT_BGR32_1
 
#define AV_PIX_FMT_RGB32_1
 
 
Definition at line 51 of file swscale.c.
Referenced by doTest(), ff_init_desc_chscale(), ff_init_desc_fmt_convert(), ff_init_desc_hscale(), ff_init_vscale(), ff_init_vscale_pfn(), ff_yuv2rgb_c_init_tables(), ff_yuv2rgb_get_func_ptr(), reset_ptr(), sws_init_context(), sws_scale(), sws_setColorspaceDetails(), and swscale().
 
 
  
  
      
        
          | static int doTest  | 
          ( | 
          uint8_t *  | 
          ref[4],  | 
         
        
           | 
           | 
          int  | 
          refStride[4],  | 
         
        
           | 
           | 
          int  | 
          w,  | 
         
        
           | 
           | 
          int  | 
          h,  | 
         
        
           | 
           | 
          enum AVPixelFormat  | 
          srcFormat,  | 
         
        
           | 
           | 
          enum AVPixelFormat  | 
          dstFormat,  | 
         
        
           | 
           | 
          int  | 
          srcW,  | 
         
        
           | 
           | 
          int  | 
          srcH,  | 
         
        
           | 
           | 
          int  | 
          dstW,  | 
         
        
           | 
           | 
          int  | 
          dstH,  | 
         
        
           | 
           | 
          int  | 
          flags,  | 
         
        
           | 
           | 
          struct Results *  | 
          r  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  |