Home | History | Annotate | Download | only in rs

Lines Matching refs:scriptgroup

23 ScriptGroup::ScriptGroup(Context *rsc) : ObjectBase(rsc) {
26 ScriptGroup::~ScriptGroup() {
27 if (mRSC->mHal.funcs.scriptgroup.destroy) {
28 mRSC->mHal.funcs.scriptgroup.destroy(mRSC, this);
36 ScriptGroup::IO::IO(const ScriptKernelID *kid) {
40 ScriptGroup::Node::Node(Script *s) {
46 ScriptGroup::Node * ScriptGroup::findNode(Script *s) const {
59 bool ScriptGroup::calcOrderRecurse(Node *n, int depth) {
82 static int CompareNodeForSort(ScriptGroup::Node *const* lhs,
83 ScriptGroup::Node *const* rhs) {
92 bool operator() (const ScriptGroup::Node* lhs,
93 const ScriptGroup::Node* rhs) {
102 bool ScriptGroup::calcOrder() {
193 ScriptGroup * ScriptGroup::create(Context *rsc,
203 //ALOGE("ScriptGroup::create kernels=%i links=%i", (int)kernelCount, (int)linkCount);
208 ScriptGroup *sg = new ScriptGroup(rsc);
249 if (rsc->mHal.funcs.scriptgroup.init) {
250 rsc->mHal.funcs.scriptgroup.init(rsc, sg);
256 void ScriptGroup::setInput(Context *rsc, ScriptKernelID *kid, Allocation *a) {
261 if (rsc->mHal.funcs.scriptgroup.setInput) {
262 rsc->mHal.funcs.scriptgroup.setInput(rsc, this, kid, a);
267 rsAssert(!"ScriptGroup:setInput kid not found");
270 void ScriptGroup::setOutput(Context *rsc, ScriptKernelID *kid, Allocation *a) {
275 if (rsc->mHal.funcs.scriptgroup.setOutput) {
276 rsc->mHal.funcs.scriptgroup.setOutput(rsc, this, kid, a);
281 rsAssert(!"ScriptGroup:setOutput kid not found");
284 void ScriptGroup::execute(Context *rsc) {
285 //ALOGE("ScriptGroup::execute");
286 if (rsc->mHal.funcs.scriptgroup.execute) {
287 rsc->mHal.funcs.scriptgroup.execute(rsc, this);
333 void ScriptGroup::serialize(Context *rsc, OStream *stream) const {
336 RsA3DClassID ScriptGroup::getClassId() const {
340 ScriptGroup::Link::Link() {
343 ScriptGroup::Link::~Link() {
358 return ScriptGroup::create(rsc,
370 ScriptGroup *s = (ScriptGroup *)sg;
377 ScriptGroup *s = (ScriptGroup *)sg;
383 ScriptGroup *s = (ScriptGroup *)sg;