2 #include "../gfx/nvioctl.h" 31 u32 numPendingBuffers;
85 NATIVE_WINDOW_WIDTH = 0,
86 NATIVE_WINDOW_HEIGHT = 1,
87 NATIVE_WINDOW_FORMAT = 2,
99 NATIVE_WINDOW_API_CPU = 2,
115 HAL_TRANSFORM_FLIP_H = 0x01,
117 HAL_TRANSFORM_FLIP_V = 0x02,
119 HAL_TRANSFORM_ROT_90 = 0x04,
121 HAL_TRANSFORM_ROT_180 = 0x03,
123 HAL_TRANSFORM_ROT_270 = 0x07,
130 NATIVE_WINDOW_TRANSFORM_FLIP_H = HAL_TRANSFORM_FLIP_H,
132 NATIVE_WINDOW_TRANSFORM_FLIP_V = HAL_TRANSFORM_FLIP_V,
134 NATIVE_WINDOW_TRANSFORM_ROT_90 = HAL_TRANSFORM_ROT_90,
136 NATIVE_WINDOW_TRANSFORM_ROT_180 = HAL_TRANSFORM_ROT_180,
138 NATIVE_WINDOW_TRANSFORM_ROT_270 = HAL_TRANSFORM_ROT_270,
142 void bufferProducerExit(
void);
146 Result bufferProducerDetachBuffer(
s32 slot);
150 Result bufferProducerDisconnect(
s32 api);
#define PACKED
Packs a struct (and other types?) so it won't include padding bytes.
Definition: types.h:56
Definition: buffer_producer.h:9
Definition: buffer_producer.h:34
u32 Result
Function error code result type.
Definition: types.h:46
uint64_t u64
64-bit unsigned integer.
Definition: types.h:24
uint32_t u32
32-bit unsigned integer.
Definition: types.h:23
Definition: buffer_producer.h:27
int32_t s32
32-bit signed integer.
Definition: types.h:29
Definition: buffer_producer.h:4
int64_t s64
64-bit signed integer.
Definition: types.h:30