DvppImageInfo

Function

Describes the DVPP image information.

Structure Definition

struct DvppImageInfo {
    enum PictureType {
        PIXEL_FORMAT_ANY = 0,
        PIXEL_FORMAT_JPEG = 1,
        PIXEL_FORMAT_PNG = 2
    };
    const void* data;
    uint32_t size;
    PictureType pictureType;
};

Parameter Description

Parameter

Input/Output

Description

data

Input

Memory address of the image data

size

Input

Image size, in bytes.

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

pictureType

Input

Image class. The options are as follows:

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