Lines Matching refs:rsc

29 ScriptGroup::ScriptGroup(Context *rsc) : ScriptGroupBase(rsc) {  in ScriptGroup()  argument
192 ScriptGroup * ScriptGroup::create(Context *rsc, in create() argument
207 ScriptGroup *sg = new ScriptGroup(rsc); in create()
234 Allocation * alloc = Allocation::createAllocation(rsc, in create()
246 if (rsc->mHal.funcs.scriptgroup.init) { in create()
247 rsc->mHal.funcs.scriptgroup.init(rsc, sg); in create()
253 void ScriptGroup::setInput(Context *rsc, ScriptKernelID *kid, Allocation *a) { in setInput() argument
258 if (rsc->mHal.funcs.scriptgroup.setInput) { in setInput()
259 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a); in setInput()
267 void ScriptGroup::setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a) { in setOutput() argument
272 if (rsc->mHal.funcs.scriptgroup.setOutput) { in setOutput()
273 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a); in setOutput()
281 bool ScriptGroup::validateInputAndOutput(Context *rsc) { in validateInputAndOutput() argument
284 rsc->setError(RS_ERROR_BAD_VALUE, "ScriptGroup missing input."); in validateInputAndOutput()
291 rsc->setError(RS_ERROR_BAD_VALUE, "ScriptGroup missing output."); in validateInputAndOutput()
299 void ScriptGroup::execute(Context *rsc) { in execute() argument
300 if (!validateInputAndOutput(rsc)) { in execute()
304 if (rsc->mHal.funcs.scriptgroup.execute) { in execute()
305 rsc->mHal.funcs.scriptgroup.execute(rsc, this); in execute()
345 n->mScript->runForEach(rsc, k->mSlot, NULL, 0, aout, NULL, 0); in execute()
349 n->mScript->runForEach(rsc, k->mSlot, ains, in execute()
366 RsScriptGroup rsi_ScriptGroupCreate(Context *rsc, in rsi_ScriptGroupCreate() argument
374 return ScriptGroup::create(rsc, in rsi_ScriptGroupCreate()
383 void rsi_ScriptGroupSetInput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, in rsi_ScriptGroupSetInput() argument
387 s->setInput(rsc, (ScriptKernelID *)kid, (Allocation *)alloc); in rsi_ScriptGroupSetInput()
390 void rsi_ScriptGroupSetOutput(Context *rsc, RsScriptGroup sg, RsScriptKernelID kid, in rsi_ScriptGroupSetOutput() argument
394 s->setOutput(rsc, (ScriptKernelID *)kid, (Allocation *)alloc); in rsi_ScriptGroupSetOutput()
397 void rsi_ScriptGroupExecute(Context *rsc, RsScriptGroup sg) { in rsi_ScriptGroupExecute() argument
399 s->execute(rsc); in rsi_ScriptGroupExecute()