FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
CUVIDPICPARAMS Struct Reference

Picture parameters for decoding This structure is used in cuvidDecodePicture API IN for cuvidDecodePicture. More...

#include <dynlink_cuviddec.h>

Data Fields

int PicWidthInMbs
 IN: Coded frame size in macroblocks. More...
 
int FrameHeightInMbs
 IN: Coded frame height in macroblocks. More...
 
int CurrPicIdx
 IN: Output index of the current picture. More...
 
int field_pic_flag
 IN: 0=frame picture, 1=field picture. More...
 
int bottom_field_flag
 IN: 0=top field, 1=bottom field (ignored if field_pic_flag=0) More...
 
int second_field
 IN: Second field of a complementary field pair. More...
 
unsigned int nBitstreamDataLen
 IN: Number of bytes in bitstream data buffer. More...
 
const unsigned char * pBitstreamData
 IN: Ptr to bitstream data for this picture (slice-layer) More...
 
unsigned int nNumSlices
 IN: Number of slices in this picture. More...
 
const unsigned intpSliceDataOffsets
 IN: nNumSlices entries, contains offset of each slice within the bitstream data buffer. More...
 
int ref_pic_flag
 IN: This picture is a reference picture. More...
 
int intra_pic_flag
 IN: This picture is entirely intra coded. More...
 
unsigned int Reserved [30]
 Reserved for future use. More...
 
union {
   CUVIDMPEG2PICPARAMS   mpeg2
 Also used for MPEG-1. More...
 
   CUVIDH264PICPARAMS   h264
 
   CUVIDVC1PICPARAMS   vc1
 
   CUVIDMPEG4PICPARAMS   mpeg4
 
   CUVIDJPEGPICPARAMS   jpeg
 
   CUVIDHEVCPICPARAMS   hevc
 
   CUVIDVP8PICPARAMS   vp8
 
   CUVIDVP9PICPARAMS   vp9
 
   unsigned int   CodecReserved [1024]
 
CodecSpecific
 

Detailed Description

Picture parameters for decoding This structure is used in cuvidDecodePicture API IN for cuvidDecodePicture.

Definition at line 679 of file dynlink_cuviddec.h.

Field Documentation

int CUVIDPICPARAMS::PicWidthInMbs
int CUVIDPICPARAMS::FrameHeightInMbs

IN: Coded frame height in macroblocks.

Definition at line 682 of file dynlink_cuviddec.h.

int CUVIDPICPARAMS::CurrPicIdx

IN: Output index of the current picture.

Definition at line 683 of file dynlink_cuviddec.h.

Referenced by cuvid_handle_picture_decode().

int CUVIDPICPARAMS::field_pic_flag

IN: 0=frame picture, 1=field picture.

Definition at line 684 of file dynlink_cuviddec.h.

int CUVIDPICPARAMS::bottom_field_flag

IN: 0=top field, 1=bottom field (ignored if field_pic_flag=0)

Definition at line 685 of file dynlink_cuviddec.h.

int CUVIDPICPARAMS::second_field

IN: Second field of a complementary field pair.

Definition at line 686 of file dynlink_cuviddec.h.

unsigned int CUVIDPICPARAMS::nBitstreamDataLen

IN: Number of bytes in bitstream data buffer.

Definition at line 688 of file dynlink_cuviddec.h.

const unsigned char* CUVIDPICPARAMS::pBitstreamData

IN: Ptr to bitstream data for this picture (slice-layer)

Definition at line 689 of file dynlink_cuviddec.h.

unsigned int CUVIDPICPARAMS::nNumSlices

IN: Number of slices in this picture.

Definition at line 690 of file dynlink_cuviddec.h.

const unsigned int* CUVIDPICPARAMS::pSliceDataOffsets

IN: nNumSlices entries, contains offset of each slice within the bitstream data buffer.

Definition at line 691 of file dynlink_cuviddec.h.

int CUVIDPICPARAMS::ref_pic_flag

IN: This picture is a reference picture.

Definition at line 693 of file dynlink_cuviddec.h.

int CUVIDPICPARAMS::intra_pic_flag

IN: This picture is entirely intra coded.

Definition at line 694 of file dynlink_cuviddec.h.

Referenced by cuvid_handle_picture_decode().

unsigned int CUVIDPICPARAMS::Reserved[30]

Reserved for future use.

Definition at line 695 of file dynlink_cuviddec.h.

CUVIDMPEG2PICPARAMS CUVIDPICPARAMS::mpeg2

Also used for MPEG-1.

Definition at line 698 of file dynlink_cuviddec.h.

Referenced by nvdec_mpeg12_start_frame().

CUVIDH264PICPARAMS CUVIDPICPARAMS::h264

Definition at line 699 of file dynlink_cuviddec.h.

Referenced by nvdec_h264_start_frame().

CUVIDVC1PICPARAMS CUVIDPICPARAMS::vc1

Definition at line 700 of file dynlink_cuviddec.h.

CUVIDMPEG4PICPARAMS CUVIDPICPARAMS::mpeg4

Definition at line 701 of file dynlink_cuviddec.h.

Referenced by nvdec_mpeg4_start_frame().

CUVIDJPEGPICPARAMS CUVIDPICPARAMS::jpeg

Definition at line 702 of file dynlink_cuviddec.h.

CUVIDHEVCPICPARAMS CUVIDPICPARAMS::hevc

Definition at line 703 of file dynlink_cuviddec.h.

Referenced by nvdec_hevc_start_frame().

CUVIDVP8PICPARAMS CUVIDPICPARAMS::vp8

Definition at line 704 of file dynlink_cuviddec.h.

CUVIDVP9PICPARAMS CUVIDPICPARAMS::vp9

Definition at line 705 of file dynlink_cuviddec.h.

Referenced by nvdec_vp9_start_frame().

unsigned int CUVIDPICPARAMS::CodecReserved[1024]

Definition at line 706 of file dynlink_cuviddec.h.

union { ... } CUVIDPICPARAMS::CodecSpecific

The documentation for this struct was generated from the following file: