| Index: examples/unityplugin/unity_plugin_apis.h
|
| diff --git a/examples/unityplugin/unity_plugin_apis.h b/examples/unityplugin/unity_plugin_apis.h
|
| index 814b9675fb2e3fa75694a1aba026252312dd23e8..fb9ac30f667f7b1a128670d14b6fd034349b75bc 100644
|
| --- a/examples/unityplugin/unity_plugin_apis.h
|
| +++ b/examples/unityplugin/unity_plugin_apis.h
|
| @@ -16,12 +16,18 @@
|
| #include <stdint.h>
|
|
|
| // Definitions of callback functions.
|
| +// To support alpha channel, one needs to patch
|
| +// https://codereview.chromium.org/2951033003/. We put it in general
|
| +// interface in order to make this plugin work well with our Unity
|
| +// Demo even without the Alpha Support.
|
| typedef void (*I420FRAMEREADY_CALLBACK)(const uint8_t* data_y,
|
| const uint8_t* data_u,
|
| const uint8_t* data_v,
|
| + const uint8_t* data_a,
|
| int stride_y,
|
| int stride_u,
|
| int stride_v,
|
| + int stride_a,
|
| uint32_t width,
|
| uint32_t height);
|
| typedef void (*LOCALDATACHANNELREADY_CALLBACK)();
|
|
|