VPU_INST_TYPE_DEC
bool is_decoder = inst->type == VPU_INST_TYPE_DEC;
return type == VPU_INST_TYPE_DEC ? W_AVC_DEC : W_AVC_ENC;
return type == VPU_INST_TYPE_DEC ? W_HEVC_DEC : W_HEVC_ENC;
cmd_to_str(cmd, inst->type == VPU_INST_TYPE_DEC));
cmd_to_str(cmd, inst->type == VPU_INST_TYPE_DEC));
inst->type = VPU_INST_TYPE_DEC;
inst->type == VPU_INST_TYPE_DEC ? "DECODER" : "ENCODER", inst->id,
inst->type == VPU_INST_TYPE_DEC ? "DECODER" : "ENCODER", inst->id);