Searched refs:session_type (Results 1 – 14 of 14) sorted by relevance
/drivers/media/platform/qcom/venus/ |
D | helpers.c | 33 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 …]
|
D | hfi_msgs.c | 457 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()
|
D | hfi_parser.c | 208 *domain = inst->session_type; in parser_init() 221 dom = inst->session_type; in parser_fini()
|
D | hfi_venus.c | 1129 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()
|
D | hfi_parser.h | 22 caps = venus_caps_by_codec(core, inst->hfi_codec, inst->session_type); in get_cap()
|
D | helpers.h | 55 int venus_helper_power_enable(struct venus_core *core, u32 session_type,
|
D | hfi.h | 113 int (*session_init)(struct venus_inst *inst, u32 session_type,
|
D | hfi_cmds.h | 270 u32 session_type, u32 codec);
|
D | core.h | 341 u32 session_type; member
|
D | core.c | 190 inst->session_type = type; in venus_enumerate_codecs()
|
D | hfi.c | 207 ret = ops->session_init(inst, inst->session_type, inst->hfi_codec); in hfi_session_init()
|
D | hfi_cmds.c | 153 u32 session_type, u32 codec) in pkt_session_init() argument 161 pkt->session_domain = session_type; in pkt_session_init()
|
D | venc.c | 1157 inst->session_type = VIDC_SESSION_TYPE_ENC; in venc_open()
|
D | vdec.c | 1331 inst->session_type = VIDC_SESSION_TYPE_DEC; in vdec_open()
|