DOUBLE_TO_JSVAL 331 include/gpac/internal/smjs_api.h #define JS_MAKE_DOUBLE(__c, __double) DOUBLE_TO_JSVAL(JS_NewDouble(__c, __double) ) DOUBLE_TO_JSVAL 233 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, FIX2FLT(term->compositor->scale_x)) ); DOUBLE_TO_JSVAL 237 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, FIX2FLT(term->compositor->scale_y)) ); DOUBLE_TO_JSVAL 241 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, FIX2FLT(term->compositor->trans_x)) ); DOUBLE_TO_JSVAL 245 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, FIX2FLT(term->compositor->trans_y)) ); DOUBLE_TO_JSVAL 371 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, gf_term_get_framerate(term, 0) ) ); DOUBLE_TO_JSVAL 375 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, term->compositor->frame_rate) ); DOUBLE_TO_JSVAL 398 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, (Double) ext->rti.physical_memory ) ); DOUBLE_TO_JSVAL 984 modules/gpac_js/gpac_js.c SMJS_SET_RVAL( DOUBLE_TO_JSVAL( JS_NewDouble(c, sg->GetSceneTime(sg->userpriv) ) ) ); DOUBLE_TO_JSVAL 1056 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, odi.duration) ); DOUBLE_TO_JSVAL 1059 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, odi.current_time) ); DOUBLE_TO_JSVAL 1220 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, ((Double) odm->timeshift_depth) / 1000.0 ) ); DOUBLE_TO_JSVAL 1222 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, 0.0) ); DOUBLE_TO_JSVAL 1283 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, res) ); DOUBLE_TO_JSVAL 1382 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, -1) ); DOUBLE_TO_JSVAL 1392 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, now) ); DOUBLE_TO_JSVAL 1453 modules/gpac_js/gpac_js.c JS_DefineProperty(c, a, "fps", DOUBLE_TO_JSVAL( JS_NewDouble(c, com.quality_query.fps) ), 0, 0, JSPROP_READONLY | JSPROP_PERMANENT); DOUBLE_TO_JSVAL 1847 modules/gpac_js/gpac_js.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, FIX2FLT(evt->mouse.wheel_pos)) ); DOUBLE_TO_JSVAL 237 modules/platinum/GPACPlatinum.cpp argv[0] = DOUBLE_TO_JSVAL( JS_NewDouble(m_pJSCtx, time) ); DOUBLE_TO_JSVAL 269 modules/platinum/GPACPlatinum.cpp argv[1] = DOUBLE_TO_JSVAL( JS_NewDouble(m_pJSCtx, time) ); DOUBLE_TO_JSVAL 288 modules/platinum/GPACPlatinum.cpp argv[1] = DOUBLE_TO_JSVAL( JS_NewDouble(m_pJSCtx, dur) ); DOUBLE_TO_JSVAL 1688 modules/platinum/GPACPlatinum.cpp argv[0] = DOUBLE_TO_JSVAL( JS_NewDouble(upnp->m_pJSCtx, (Double)now / 1000.0) ); DOUBLE_TO_JSVAL 1322 modules/widgetman/widgetman.c argv[0] = DOUBLE_TO_JSVAL( JS_NewDouble(handler->js_context, FIX2FLT( *((SFFloat*)info.far_ptr) ) ) ); DOUBLE_TO_JSVAL 1325 modules/widgetman/widgetman.c argv[0] = DOUBLE_TO_JSVAL( JS_NewDouble(handler->js_context, *((SFTime *)info.far_ptr) ) ); DOUBLE_TO_JSVAL 1388 modules/widgetman/widgetman.c SMJS_SET_RVAL( DOUBLE_TO_JSVAL( JS_NewDouble(c, FIX2FLT( *((SFFloat*)info.far_ptr) ) ) )); DOUBLE_TO_JSVAL 1391 modules/widgetman/widgetman.c SMJS_SET_RVAL( DOUBLE_TO_JSVAL( JS_NewDouble(c, *((SFTime *)info.far_ptr) ) )); DOUBLE_TO_JSVAL 1918 modules/widgetman/widgetman.c *vp = DOUBLE_TO_JSVAL( JS_NewDouble(c, val) ); DOUBLE_TO_JSVAL 781 src/scenegraph/html5_media_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, dur)); DOUBLE_TO_JSVAL 802 src/scenegraph/html5_media_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, me->defaultPlaybackRate)); DOUBLE_TO_JSVAL 822 src/scenegraph/html5_media_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, speed)); DOUBLE_TO_JSVAL 1005 src/scenegraph/html5_media_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, FIX2FLT(volume))); DOUBLE_TO_JSVAL 1121 src/scenegraph/html5_media_smjs.c SMJS_SET_RVAL(DOUBLE_TO_JSVAL(JS_NewDouble(c, (*start_value)*1.0/timeranges->timescale))); DOUBLE_TO_JSVAL 1147 src/scenegraph/html5_media_smjs.c SMJS_SET_RVAL(DOUBLE_TO_JSVAL(JS_NewDouble(c, (*end_value)*1.0/timeranges->timescale))); DOUBLE_TO_JSVAL 367 src/scenegraph/html5_mse_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, p->duration)); DOUBLE_TO_JSVAL 619 src/scenegraph/html5_mse_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, sb->timestampOffset*1.0/sb->timescale)); DOUBLE_TO_JSVAL 651 src/scenegraph/html5_mse_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, sb->appendWindowStart)); DOUBLE_TO_JSVAL 674 src/scenegraph/html5_mse_smjs.c *vp = DOUBLE_TO_JSVAL(JS_NewDouble(c, sb->appendWindowEnd));