Lines Matching refs:psize
416 if (param == nullptr || param->psize == 0 || param->vsize == 0) { in setParameter()
420 uint32_t psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameter() local
423 (param->psize == 8) ? *((int *)param->data + 1): -1); in setParameter()
426 appendToBuffer(param, sizeof(effect_param_t) + psize, &cmd); in setParameter()
451 if (param == nullptr || param->psize == 0 || param->vsize == 0) { in setParameterDeferred()
457 int psize = ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + param->vsize; in setParameterDeferred() local
458 int size = ((sizeof(effect_param_t) + psize - 1) / sizeof(int) + 1) * sizeof(int); in setParameterDeferred()
465 memcpy(p, param, sizeof(effect_param_t) + psize); in setParameterDeferred()
506 if (param == nullptr || param->psize == 0 || param->vsize == 0) { in getParameter()
511 (param->psize == 8) ? *((int *)param->data + 1): -1); in getParameter()
513 uint32_t psize = sizeof(effect_param_t) + ((param->psize - 1) / sizeof(int) + 1) * sizeof(int) + in getParameter() local
519 appendToBuffer(param, sizeof(effect_param_t) + param->psize, &cmd); in getParameter()
521 Status bs = mIEffect->command(EFFECT_CMD_GET_PARAM, cmd, psize, &response, &status); in getParameter()