Go to the source code of this file.
 | 
| static int  | check_cu (AVCodecContext *avctx, CUresult err, const char *func) | 
|   | 
| static int CUDAAPI  | cuvid_handle_video_sequence (void *opaque, CUVIDEOFORMAT *format) | 
|   | 
| static int CUDAAPI  | cuvid_handle_picture_decode (void *opaque, CUVIDPICPARAMS *picparams) | 
|   | 
| static int CUDAAPI  | cuvid_handle_picture_display (void *opaque, CUVIDPARSERDISPINFO *dispinfo) | 
|   | 
| static int  | cuvid_is_buffer_full (AVCodecContext *avctx) | 
|   | 
| static int  | cuvid_decode_packet (AVCodecContext *avctx, const AVPacket *avpkt) | 
|   | 
| static int  | cuvid_output_frame (AVCodecContext *avctx, AVFrame *frame) | 
|   | 
| static int  | cuvid_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) | 
|   | 
| static av_cold int  | cuvid_decode_end (AVCodecContext *avctx) | 
|   | 
| static int  | cuvid_test_capabilities (AVCodecContext *avctx, const CUVIDPARSERPARAMS *cuparseinfo, int probed_width, int probed_height, int bit_depth) | 
|   | 
| static av_cold int  | cuvid_decode_init (AVCodecContext *avctx) | 
|   | 
| static void  | cuvid_flush (AVCodecContext *avctx) | 
|   | 
      
        
          | #define CHECK_CU | 
          ( | 
            | 
          x | ) | 
             check_cu(avctx, (x), #x) | 
        
      
 
 
      
        
          | #define DEFINE_CUVID_CODEC | 
          ( | 
            | 
          x,  | 
        
        
           | 
           | 
            | 
          X  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
Initial value:= {
    { 
"surfaces", 
"Maximum surfaces to be used for decoding", 
OFFSET(nb_surfaces), 
AV_OPT_TYPE_INT, { .i64 = 25 }, 0, INT_MAX, 
VD },
 
    { 
"drop_second_field", 
"Drop second field when deinterlacing", 
OFFSET(drop_second_field), 
AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, 
VD },
 
}
Weave both fields (no deinterlacing) 
 
 
Definition at line 1084 of file cuvid.c.