forked from marfrit/libva-v4l2-request-fourier
Remove INIT_DRIVER_DATA and replace it with explicit definition
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
+3
-5
@@ -23,8 +23,8 @@
|
||||
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifndef _SUNXI_CEDRUS_DRV_VIDEO_H_
|
||||
#define _SUNXI_CEDRUS_DRV_VIDEO_H_
|
||||
#ifndef _SUNXI_CEDRUS_H_
|
||||
#define _SUNXI_CEDRUS_H_
|
||||
|
||||
#include <va/va.h>
|
||||
#include "object_heap.h"
|
||||
@@ -32,8 +32,6 @@
|
||||
|
||||
#include <linux/videodev2.h>
|
||||
|
||||
#define INIT_DRIVER_DATA struct sunxi_cedrus_driver_data * const driver_data = (struct sunxi_cedrus_driver_data *) ctx->pDriverData;
|
||||
|
||||
#define SUNXI_CEDRUS_STR_VENDOR "Sunxi Cedrus Driver 1.0"
|
||||
|
||||
#define SUNXI_CEDRUS_MAX_PROFILES 11
|
||||
@@ -59,4 +57,4 @@ struct sunxi_cedrus_driver_data {
|
||||
int slice_offset[INPUT_BUFFERS_NB];
|
||||
};
|
||||
|
||||
#endif /* _SUNXI_CEDRUS_DRV_VIDEO_H_ */
|
||||
#endif /* _SUNXI_CEDRUS_H_ */
|
||||
|
||||
Reference in New Issue
Block a user