Public Attributes | List of all members
dr2d_image Struct Reference

#include <dr_2d.h>

Public Attributes

dr2d_image_format format
 The format of the image data. More...
 
unsigned int height
 The height of the image. More...
 
bool isMapped
 Whether or not the image's data is already mapped. More...
 
dr2d_contextpContext
 A pointer to the context that owns the image. More...
 
dr2d_byte pExtraData [1]
 The extra bytes. The size of this buffer is equal to pContext->imageExtraBytes. More...
 
unsigned int width
 The width of the image. More...
 

Detailed Description

Definition at line 267 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

Member Data Documentation

◆ format

dr2d_image_format dr2d_image::format

The format of the image data.

Definition at line 279 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

◆ height

unsigned int dr2d_image::height

The height of the image.

Definition at line 276 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

◆ isMapped

bool dr2d_image::isMapped

Whether or not the image's data is already mapped.

Definition at line 282 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

◆ pContext

dr2d_context * dr2d_image::pContext

A pointer to the context that owns the image.

Definition at line 270 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

◆ pExtraData

dr2d_byte dr2d_image::pExtraData

The extra bytes. The size of this buffer is equal to pContext->imageExtraBytes.

Definition at line 285 of file porcupine/demo/c/dr_libs/old/dr_2d.h.

◆ width

unsigned int dr2d_image::width

The width of the image.

Definition at line 273 of file porcupine/demo/c/dr_libs/old/dr_2d.h.


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


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:19