Home
last modified time | relevance | path

Searched refs:session_type (Results 1 – 14 of 14) sorted by relevance

/drivers/media/platform/qcom/venus/
Dhelpers.c33 u32 session_type = inst->session_type; in venus_helper_check_codec() local
72 if (session_type == VIDC_SESSION_TYPE_ENC && core->enc_codecs & codec) in venus_helper_check_codec()
75 if (session_type == VIDC_SESSION_TYPE_DEC && core->dec_codecs & codec) in venus_helper_check_codec()
374 static u32 load_per_type(struct venus_core *core, u32 session_type) in load_per_type() argument
381 if (inst->session_type != session_type) in load_per_type()
542 if (inst->session_type == VIDC_SESSION_TYPE_DEC) in session_process_buf()
545 if (inst->session_type == VIDC_SESSION_TYPE_ENC) in session_process_buf()
572 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in is_dynamic_bufmode()
871 if (inst->session_type == VIDC_SESSION_TYPE_DEC) in venus_helper_set_color_format()
873 else if (inst->session_type == VIDC_SESSION_TYPE_ENC) in venus_helper_set_color_format()
[all …]
Dhfi_msgs.c457 u32 session_type = inst->session_type; in hfi_session_ftb_done() local
464 if (session_type == VIDC_SESSION_TYPE_ENC) { in hfi_session_ftb_done()
477 } else if (session_type == VIDC_SESSION_TYPE_DEC) { in hfi_session_ftb_done()
Dhfi_parser.c208 *domain = inst->session_type; in parser_init()
221 dom = inst->session_type; in parser_fini()
Dhfi_venus.c1129 static int venus_session_init(struct venus_inst *inst, u32 session_type, in venus_session_init() argument
1136 ret = pkt_session_init(&pkt, inst, session_type, codec); in venus_session_init()
1205 u32 session_type = inst->session_type; in venus_session_etb() local
1208 if (session_type == VIDC_SESSION_TYPE_DEC) { in venus_session_etb()
1216 } else if (session_type == VIDC_SESSION_TYPE_ENC) { in venus_session_etb()
Dhfi_parser.h22 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in get_cap()
Dhelpers.h55 int venus_helper_power_enable(struct venus_core *core, u32 session_type,
Dhfi.h113 int (*session_init)(struct venus_inst *inst, u32 session_type,
Dhfi_cmds.h270 u32 session_type, u32 codec);
Dcore.h341 u32 session_type; member
Dcore.c190 inst->session_type = type; in venus_enumerate_codecs()
Dhfi.c207 ret = ops->session_init(inst, inst->session_type, inst->hfi_codec); in hfi_session_init()
Dhfi_cmds.c153 u32 session_type, u32 codec) in pkt_session_init() argument
161 pkt->session_domain = session_type; in pkt_session_init()
Dvenc.c1157 inst->session_type = VIDC_SESSION_TYPE_ENC; in venc_open()
Dvdec.c1331 inst->session_type = VIDC_SESSION_TYPE_DEC; in vdec_open()