#include <linux/bitops.h>
#include <linux/kernel.h>
#include "core.h"
#include "hfi_helper.h"
#include "hfi_parser.h"
func;
static void init_codecs(struct venus_core *core)
{ … }
static void for_each_codec(struct hfi_plat_caps *caps, unsigned int caps_num,
u32 codecs, u32 domain, func cb, void *data,
unsigned int size)
{ … }
static void
fill_buf_mode(struct hfi_plat_caps *cap, const void *data, unsigned int num)
{ … }
static void
parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data)
{ … }
static void fill_profile_level(struct hfi_plat_caps *cap, const void *data,
unsigned int num)
{ … }
static void
parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data)
{ … }
static void
fill_caps(struct hfi_plat_caps *cap, const void *data, unsigned int num)
{ … }
static void
parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data)
{ … }
static void fill_raw_fmts(struct hfi_plat_caps *cap, const void *fmts,
unsigned int num_fmts)
{ … }
static void
parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data)
{ … }
static void parse_codecs(struct venus_core *core, void *data)
{ … }
static void parse_max_sessions(struct venus_core *core, const void *data)
{ … }
static void parse_codecs_mask(u32 *codecs, u32 *domain, void *data)
{ … }
static void parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain)
{ … }
static void parser_fini(struct venus_inst *inst, u32 codecs, u32 domain)
{ … }
static int hfi_platform_parser(struct venus_core *core, struct venus_inst *inst)
{ … }
u32 hfi_parser(struct venus_core *core, struct venus_inst *inst, void *buf,
u32 size)
{ … }