linux/include/uapi/linux/media/raspberrypi/pisp_common.h

/* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
/*
 * RP1 PiSP common definitions.
 *
 * Copyright (C) 2021 - Raspberry Pi Ltd.
 *
 */
#ifndef _UAPI_PISP_COMMON_H_
#define _UAPI_PISP_COMMON_H_

#include <linux/types.h>

struct pisp_image_format_config {} __attribute__((packed));

enum pisp_bayer_order {};

enum pisp_image_format {};

#define PISP_IMAGE_FORMAT_BPS_8(fmt)
#define PISP_IMAGE_FORMAT_BPS_10(fmt)
#define PISP_IMAGE_FORMAT_BPS_12(fmt)
#define PISP_IMAGE_FORMAT_BPS_16(fmt)
#define PISP_IMAGE_FORMAT_BPS(fmt)
#define PISP_IMAGE_FORMAT_SHIFT(fmt)
#define PISP_IMAGE_FORMAT_THREE_CHANNEL(fmt)
#define PISP_IMAGE_FORMAT_SINGLE_CHANNEL(fmt)
#define PISP_IMAGE_FORMAT_COMPRESSED(fmt)
#define PISP_IMAGE_FORMAT_SAMPLING_444(fmt)
#define PISP_IMAGE_FORMAT_SAMPLING_422(fmt)
#define PISP_IMAGE_FORMAT_SAMPLING_420(fmt)
#define PISP_IMAGE_FORMAT_ORDER_NORMAL(fmt)
#define PISP_IMAGE_FORMAT_ORDER_SWAPPED(fmt)
#define PISP_IMAGE_FORMAT_INTERLEAVED(fmt)
#define PISP_IMAGE_FORMAT_SEMIPLANAR(fmt)
#define PISP_IMAGE_FORMAT_PLANAR(fmt)
#define PISP_IMAGE_FORMAT_WALLPAPER(fmt)
#define PISP_IMAGE_FORMAT_BPP_32(fmt)
#define PISP_IMAGE_FORMAT_HOG(fmt)

#define PISP_WALLPAPER_WIDTH

struct pisp_bla_config {} __attribute__((packed));

struct pisp_wbg_config {} __attribute__((packed));

struct pisp_compress_config {} __attribute__((packed));

struct pisp_decompress_config {} __attribute__((packed));

enum pisp_axi_flags {};

struct pisp_axi_config {} __attribute__((packed));

#endif /* _UAPI_PISP_COMMON_H_ */