Lines Matching full:codecs
41 u32 codecs, u32 domain, func cb, void *data, in for_each_codec() argument
51 if (cap->codec & codecs && cap->domain == domain) in for_each_codec()
66 parse_alloc_mode(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_alloc_mode() argument
81 codecs, domain, fill_buf_mode, type, 1); in parse_alloc_mode()
100 parse_profile_level(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_profile_level() argument
111 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_profile_level()
128 parse_caps(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_caps() argument
140 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_caps()
157 parse_raw_formats(struct venus_core *core, u32 codecs, u32 domain, void *data) in parse_raw_formats() argument
185 for_each_codec(core->caps, ARRAY_SIZE(core->caps), codecs, domain, in parse_raw_formats()
191 struct hfi_codec_supported *codecs = data; in parse_codecs() local
193 core->dec_codecs = codecs->dec_codecs; in parse_codecs()
194 core->enc_codecs = codecs->enc_codecs; in parse_codecs()
210 static void parse_codecs_mask(u32 *codecs, u32 *domain, void *data) in parse_codecs_mask() argument
214 *codecs = mask->codecs; in parse_codecs_mask()
218 static void parser_init(struct venus_inst *inst, u32 *codecs, u32 *domain) in parser_init() argument
223 *codecs = inst->hfi_codec; in parser_init()
227 static void parser_fini(struct venus_inst *inst, u32 codecs, u32 domain) in parser_fini() argument
241 if (cap->codec & codecs && cap->domain == dom) in parser_fini()
285 u32 *word = buf, *data, codecs = 0, domain = 0; in hfi_parser() local
295 parser_init(inst, &codecs, &domain); in hfi_parser()
314 parse_codecs_mask(&codecs, &domain, data); in hfi_parser()
317 parse_raw_formats(core, codecs, domain, data); in hfi_parser()
320 parse_caps(core, codecs, domain, data); in hfi_parser()
323 parse_profile_level(core, codecs, domain, data); in hfi_parser()
326 parse_alloc_mode(core, codecs, domain, data); in hfi_parser()
339 parser_fini(inst, codecs, domain); in hfi_parser()