#include <linux/platform_device.h>
#include "mtk_mdp_core.h"
#include "mtk_mdp_regs.h"
#define MDP_COLORFMT_PACK(VIDEO, PLANE, COPLANE, HF, VF, BITS, GROUP, SWAP, ID) …
enum MDP_COLOR_ENUM { … };
static int32_t mtk_mdp_map_color_format(int v4l2_format)
{ … }
void mtk_mdp_hw_set_input_addr(struct mtk_mdp_ctx *ctx,
struct mtk_mdp_addr *addr)
{ … }
void mtk_mdp_hw_set_output_addr(struct mtk_mdp_ctx *ctx,
struct mtk_mdp_addr *addr)
{ … }
void mtk_mdp_hw_set_in_size(struct mtk_mdp_ctx *ctx)
{ … }
void mtk_mdp_hw_set_in_image_format(struct mtk_mdp_ctx *ctx)
{ … }
void mtk_mdp_hw_set_out_size(struct mtk_mdp_ctx *ctx)
{ … }
void mtk_mdp_hw_set_out_image_format(struct mtk_mdp_ctx *ctx)
{ … }
void mtk_mdp_hw_set_rotation(struct mtk_mdp_ctx *ctx)
{ … }
void mtk_mdp_hw_set_global_alpha(struct mtk_mdp_ctx *ctx)
{ … }