#include "libavutil/eval.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/stereo3d.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "internal.h"
#include <x264.h>
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
 
Go to the source code of this file.
 | 
| static void  | X264_log (void *p, int level, const char *fmt, va_list args) | 
|   | 
| static int  | encode_nals (AVCodecContext *ctx, AVPacket *pkt, const x264_nal_t *nals, int nnal) | 
|   | 
| static int  | avfmt2_num_planes (int avfmt) | 
|   | 
| static void  | reconfig_encoder (AVCodecContext *ctx, const AVFrame *frame) | 
|   | 
| static int  | X264_frame (AVCodecContext *ctx, AVPacket *pkt, const AVFrame *frame, int *got_packet) | 
|   | 
| static av_cold int  | X264_close (AVCodecContext *avctx) | 
|   | 
| static int  | convert_pix_fmt (enum AVPixelFormat pix_fmt) | 
|   | 
| static av_cold int  | X264_init (AVCodecContext *avctx) | 
|   | 
| static av_cold void  | X264_init_static (AVCodec *codec) | 
|   | 
      
        
          | #define OPT_STR | 
          ( | 
            | 
          opt,  | 
        
        
           | 
           | 
            | 
          param  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:do {                                                                      \
        if ((ret = x264_param_parse(&x4->params, opt, param)) < 0) { 
\ 
            if(ret == X264_PARAM_BAD_NAME)                                    
\ 
                        "bad option '%s': '%s'\n", opt, param);               
\ 
                        "bad value for '%s': '%s'\n", opt, param);            
\ 
        }                                                                     \
    } while (0)
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered. 
 
 
Definition at line 399 of file libx264.c.
Referenced by X264_init().
 
 
      
        
          | #define PARSE_X264_OPT | 
          ( | 
            | 
          name,  | 
        
        
           | 
           | 
            | 
          var  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Value:if (x4->var && x264_param_parse(&x4->params, 
name, x4->var) < 0) {
\ 
    }
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered. 
 
 
Definition at line 446 of file libx264.c.
Referenced by X264_init().
 
 
  
  
      
        
          | static void X264_log  | 
          ( | 
          void *  | 
          p,  | 
         
        
           | 
           | 
          int  | 
          level,  | 
         
        
           | 
           | 
          const char *  | 
          fmt,  | 
         
        
           | 
           | 
          va_list  | 
          args  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static int avfmt2_num_planes  | 
          ( | 
          int  | 
          avfmt | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
Initial value:= {
}
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples) 
 
planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting col...
 
planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (firs...
 
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples) 
 
planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting col...
 
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples) 
 
planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting col...
 
interleaved chroma YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples) 
 
 
Definition at line 855 of file libx264.c.
Referenced by X264_init_static().
 
 
Initial value:= {
}
#define AV_PIX_FMT_YUV444P9
 
#define AV_PIX_FMT_YUV420P9
 
 
Definition at line 869 of file libx264.c.
Referenced by X264_init_static().
 
 
Initial value:= {
}
#define AV_PIX_FMT_YUV444P10
 
#define AV_PIX_FMT_YUV420P10
 
#define AV_PIX_FMT_YUV422P10
 
 
Definition at line 874 of file libx264.c.
Referenced by X264_init_static().