FFmpeg  3.4.9
Data Fields
CUVIDPICPARAMS Struct Reference

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

#include <compat/cuda/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

◆ PicWidthInMbs

int CUVIDPICPARAMS::PicWidthInMbs

IN: Coded frame size in macroblocks.

Definition at line 681 of file dynlink_cuviddec.h.

◆ FrameHeightInMbs

int CUVIDPICPARAMS::FrameHeightInMbs

IN: Coded frame height in macroblocks.

Definition at line 682 of file dynlink_cuviddec.h.

◆ CurrPicIdx

int CUVIDPICPARAMS::CurrPicIdx

IN: Output index of the current picture.

Definition at line 683 of file dynlink_cuviddec.h.

◆ field_pic_flag

int CUVIDPICPARAMS::field_pic_flag

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

Definition at line 684 of file dynlink_cuviddec.h.

◆ bottom_field_flag

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.

◆ second_field

int CUVIDPICPARAMS::second_field

IN: Second field of a complementary field pair.

Definition at line 686 of file dynlink_cuviddec.h.

◆ nBitstreamDataLen

unsigned int CUVIDPICPARAMS::nBitstreamDataLen

IN: Number of bytes in bitstream data buffer.

Definition at line 688 of file dynlink_cuviddec.h.

◆ pBitstreamData

const unsigned char* CUVIDPICPARAMS::pBitstreamData

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

Definition at line 689 of file dynlink_cuviddec.h.

◆ nNumSlices

unsigned int CUVIDPICPARAMS::nNumSlices

IN: Number of slices in this picture.

Definition at line 690 of file dynlink_cuviddec.h.

◆ pSliceDataOffsets

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.

◆ ref_pic_flag

int CUVIDPICPARAMS::ref_pic_flag

IN: This picture is a reference picture.

Definition at line 693 of file dynlink_cuviddec.h.

◆ intra_pic_flag

int CUVIDPICPARAMS::intra_pic_flag

IN: This picture is entirely intra coded.

Definition at line 694 of file dynlink_cuviddec.h.

◆ Reserved

unsigned int CUVIDPICPARAMS::Reserved[30]

Reserved for future use.

Definition at line 695 of file dynlink_cuviddec.h.

◆ mpeg2

CUVIDMPEG2PICPARAMS CUVIDPICPARAMS::mpeg2

Also used for MPEG-1.

Definition at line 698 of file dynlink_cuviddec.h.

◆ h264

CUVIDH264PICPARAMS CUVIDPICPARAMS::h264

Definition at line 699 of file dynlink_cuviddec.h.

◆ vc1

CUVIDVC1PICPARAMS CUVIDPICPARAMS::vc1

Definition at line 700 of file dynlink_cuviddec.h.

◆ mpeg4

CUVIDMPEG4PICPARAMS CUVIDPICPARAMS::mpeg4

Definition at line 701 of file dynlink_cuviddec.h.

◆ jpeg

CUVIDJPEGPICPARAMS CUVIDPICPARAMS::jpeg

Definition at line 702 of file dynlink_cuviddec.h.

◆ hevc

CUVIDHEVCPICPARAMS CUVIDPICPARAMS::hevc

Definition at line 703 of file dynlink_cuviddec.h.

◆ vp8

CUVIDVP8PICPARAMS CUVIDPICPARAMS::vp8

Definition at line 704 of file dynlink_cuviddec.h.

◆ vp9

CUVIDVP9PICPARAMS CUVIDPICPARAMS::vp9

Definition at line 705 of file dynlink_cuviddec.h.

◆ CodecReserved

unsigned int CUVIDPICPARAMS::CodecReserved[1024]

Definition at line 706 of file dynlink_cuviddec.h.

◆ CodecSpecific

union { ... } CUVIDPICPARAMS::CodecSpecific

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