#ifndef __VENUS_HFI_PARSER_H__
#define __VENUS_HFI_PARSER_H__
#include "core.h"
u32 hfi_parser(struct venus_core *core, struct venus_inst *inst,
void *buf, u32 size);
#define WHICH_CAP_MIN …
#define WHICH_CAP_MAX …
#define WHICH_CAP_STEP …
static inline u32 get_cap(struct venus_inst *inst, u32 type, u32 which)
{ … }
static inline u32 cap_min(struct venus_inst *inst, u32 type)
{ … }
static inline u32 cap_max(struct venus_inst *inst, u32 type)
{ … }
static inline u32 cap_step(struct venus_inst *inst, u32 type)
{ … }
static inline u32 frame_width_min(struct venus_inst *inst)
{ … }
static inline u32 frame_width_max(struct venus_inst *inst)
{ … }
static inline u32 frame_width_step(struct venus_inst *inst)
{ … }
static inline u32 frame_height_min(struct venus_inst *inst)
{ … }
static inline u32 frame_height_max(struct venus_inst *inst)
{ … }
static inline u32 frame_height_step(struct venus_inst *inst)
{ … }
static inline u32 frate_min(struct venus_inst *inst)
{ … }
static inline u32 frate_max(struct venus_inst *inst)
{ … }
static inline u32 frate_step(struct venus_inst *inst)
{ … }
static inline u32 core_num_max(struct venus_inst *inst)
{ … }
static inline u32 mbs_per_frame_max(struct venus_inst *inst)
{ … }
#endif