xdc.loadCapsule('xdc/om2.xs'); var $om = xdc.om; /* ======== IMPORTS ======== */ xdc.loadPackage('ti.sdo.ce.video'); xdc.loadPackage('xdc'); /* ======== OBJECTS ======== */ // package codecs.h264dec var po = $om.$$bind('codecs.h264dec.Package', $$PObj()); $om.$$bind('codecs.h264dec', $$VObj('codecs.h264dec', po)); // module H264DEC var po = $om.$$bind('codecs.h264dec.H264DEC.Module', $$PObj()); $om.$$bind('codecs.h264dec.H264DEC', $$VObj('codecs.h264dec.H264DEC', po)); /* ======== CONSTS ======== */ // module H264DEC /* ======== CREATES ======== */ // module H264DEC /* ======== FUNCTIONS ======== */ /* ======== SIZES ======== */ /* ======== TYPES ======== */ // module H264DEC var cap = $om.$$bind('codecs.h264dec.H264DEC$$capsule', xdc.loadCapsule('../H264DEC.xs')); var po = $om['codecs.h264dec.H264DEC.Module'].$$init('codecs.h264dec.H264DEC.Module', $om['ti.sdo.ce.video.IVIDDEC.Module']); po.$$fld('$hostonly', $$T_Num, 1, 'r'); po.$$fld('ialgFxns', $$T_Str, "H264VDEC_TI_IALG", 'rh'); po.$$fld('idma3Fxns', $$T_Str, "H264VDEC_TI_IDMA3", 'rh'); var fxn = cap['module$meta$init']; if (fxn) $om.$$bind('codecs.h264dec.H264DEC$$module$meta$init', true); if (fxn) po.$$fxn('module$meta$init', $$T_Met, fxn); if (cap['getStackSize']) po.$$fxn('getStackSize', $om['ti.sdo.ce.ICodec$$getStackSize'], cap['getStackSize']); if (cap['getUUID']) po.$$fxn('getUUID', $om['ti.sdo.ce.ICodec$$getUUID'], cap['getUUID']); /* ======== SINGLETONS ======== */ // package codecs.h264dec var po = $om['codecs.h264dec.Package'].$$init('codecs.h264dec.Package', $om['xdc.IPackage.Module']); var cap = $om.$$bind('xdc.IPackage$$capsule', xdc.loadCapsule('../package.xs')); if (cap['init']) po.$$fxn('init', $om['xdc.IPackage$$init'], cap['init']); if (cap['close']) po.$$fxn('close', $om['xdc.IPackage$$close'], cap['close']); if (cap['validate']) po.$$fxn('validate', $om['xdc.IPackage$$validate'], cap['validate']); if (cap['exit']) po.$$fxn('exit', $om['xdc.IPackage$$exit'], cap['exit']); if (cap['getLibs']) po.$$fxn('getLibs', $om['xdc.IPackage$$getLibs'], cap['getLibs']); if (cap['getSects']) po.$$fxn('getSects', $om['xdc.IPackage$$getSects'], cap['getSects']); var pkg = $om['codecs.h264dec'].$$init(po, 'codecs.h264dec', $$DEFAULT, false); $om.$packages.$add(pkg); pkg.$$bind('$name', 'codecs.h264dec'); pkg.$$bind('$category', 'Package'); pkg.$$bind('$$qn', 'codecs.h264dec.'); pkg.$$bind('$vers', []); pkg.$attr.$seal('length'); pkg.$$bind('$imports', [ ['ti.sdo.ce.video', []], ]); var $PKG = pkg; pkg.build.libraries = [ ]; // module H264DEC var vo = $om['codecs.h264dec.H264DEC']; var po = $om['codecs.h264dec.H264DEC.Module']; vo.$$init(po, 'codecs.h264dec.H264DEC', $$DEFAULT, false); vo.$$bind('Module', po); vo.$$bind('$category', 'Module'); vo.$$bind('$capsule', $om['codecs.h264dec.H264DEC$$capsule']); vo.$$bind('$package', $om['codecs.h264dec']); vo.$$bind('$$tdefs', []); vo.$$bind('$$proxies', []); vo.$$bind('$private', {}); pkg.$modules.$add(vo); $om.$modules.$add(vo); vo.$$bind('$$instflag', 0); vo.$$bind('$$iobjflag', 1); vo.$$bind('$$sizeflag', 1); vo.$$bind('$$dlgflag', 0); vo.$$bind('$$iflag', 1); if ('Module__Object' in vo) vo.$$bind('$object', new vo.Module__Object); vo.$$bind('$$meta_iobj', 0 + ('codecs.h264dec.H264DEC$$instance$static$init' in $om)); vo.$$bind('$$fxntab', []); vo.$attr.$seal('length'); pkg.$$bind('H264DEC', vo); pkg.$unitNames.$add('H264DEC'); /* ======== INITIALIZATION ======== */ $om['codecs.h264dec.H264DEC'].module$meta$init(); pkg.init(); $om['codecs.h264dec.H264DEC'].$$bless();