DvppImageInfo

Description

Describes the DVPP image information.

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
struct DvppImageInfo {
    enum PictureType {
        PIXEL_FORMAT_ANY = 0,
        PIXEL_FORMAT_JPEG = 1,
        PIXEL_FORMAT_PNG = 2
    };
    const void* data;
    uint32_t size;
    PictureType pictureType;
};

Parameters

Parameter

Description

data

Memory address of the image data

size

Image size, in bytes.

The size must be the same as the actual image size. Otherwise, a core dump may occur.

pictureType

Image class. The options are as follows:

  • PIXEL_FORMAT_ANY = 0
  • PIXEL_FORMAT_JPEG = 1
  • PIXEL_FORMAT_PNG = 2