Created
July 1, 2017 05:39
-
-
Save LongChair/b97cf74cf66d72c4fdb518bee12663df to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct AVDRMLayerDescriptor { | |
/** | |
* Format of the layer (DRM_FORMAT_*). | |
* | |
* Note that this can be a multiple-plane format such as NV12: | |
* if so, this structure is only describes one plane of the | |
* image. | |
*/ | |
uint32_t format; | |
/** | |
* Index of the object containing this layer in the objects | |
* array of the enclosing frame descriptor. | |
*/ | |
int object_index; | |
/** | |
* Planes offsets within that layer. | |
*/ | |
ptrdiff_t offsets[AV_NUM_DATA_POINTERS]; | |
/** | |
* Pitches (linesize) of this layer. | |
*/ | |
ptrdiff_t pitches[AV_NUM_DATA_POINTERS]; | |
} AVDRMLayerDescriptor; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment