/dports/archivers/lazperf/laz-perf-2.0.0/cpp/lazperf/detail/ |
H A D | field_rgb10.cpp | 40 const las::rgb& b = this_val; in color_diff_bits() 73 las::rgb this_val(buf); in compress() local 79 last = this_val; in compress() 139 last = this_val; in compress() 164 las::rgb this_val; in decompress() local 173 this_val.r = last.r & 0xFF; in decompress() 183 this_val.r |= last.r & 0xFF00; in decompress() 198 this_val.g = last.g & 0xFF; in decompress() 238 this_val.g = this_val.r; in decompress() 239 this_val.b = this_val.r; in decompress() [all …]
|
H A D | field_point10.cpp | 171 las::point10 this_val(buf); in compress() local 183 last_ = this_val; in compress() 191 unsigned int r = this_val.return_number, in compress() 206 unsigned char b = this_val.from_bitfields(); in compress() 215 last_intensity[m] = this_val.intensity; in compress() 222 this_val.classification); in compress() 246 diff = this_val.x - last_.x; in compress() 253 diff = this_val.y - last_.y; in compress() 259 ic_z.compress(enc_, last_height[l], this_val.z, in compress() 261 last_height[l] = this_val.z; in compress() [all …]
|
H A D | field_gpstime10.cpp | 65 las::gpstime this_val(buf); in compress() local 75 last_gpstime[0] = this_val; in compress() 86 if (this_val.value == last_gpstime[last].value) in compress() 109 int64_t other_gpstime_diff_64 = this_val.value - in compress() 125 static_cast<int>(this_val.value >> 32), 8); in compress() 126 enc_.writeInt(static_cast<unsigned int>(this_val.value)); in compress() 133 last_gpstime[last] = this_val; in compress() 137 if (this_val.value == last_gpstime[last].value) in compress() 227 int64_t other_gpstime_diff_64 = this_val.value - in compress() 243 static_cast<int>(this_val.value >> 32), 8); in compress() [all …]
|
H A D | field_gpstime.hpp | 84 common_.last_gpstime[0] = this_val; in compressWith() 96 if (this_val.value == common_.last_gpstime[common_.last].value) { in compressWith() 118 int64_t other_gpstime_diff_64 = this_val.value - in compressWith() 133 static_cast<int>(this_val.value >> 32), 8); in compressWith() 135 enc.writeInt(static_cast<unsigned int>(this_val.value)); in compressWith() 142 common_.last_gpstime[common_.last] = this_val; in compressWith() 146 if (this_val.value == common_.last_gpstime[common_.last].value) { in compressWith() 153 int64_t curr_gpstime_diff_64 = this_val.value - in compressWith() 252 static_cast<int>(this_val.value >> 32), 8); in compressWith() 253 enc.writeInt(static_cast<unsigned int>(this_val.value)); in compressWith() [all …]
|
/dports/graphics/qgis/qgis-3.22.3/external/laz-perf/detail/ |
H A D | field_rgb.hpp | 59 b = this_val; in color_diff_bits() 101 las::rgb this_val; in compressWith() local 108 last = this_val; in compressWith() 159 last = this_val; in compressWith() 183 las::rgb this_val; in decompressWith() local 190 this_val.r = last.r & 0xFF; in decompressWith() 209 this_val.g = last.g & 0xFF; in decompressWith() 218 this_val.b = last.b & 0xFF; in decompressWith() 244 this_val.g = this_val.r; in decompressWith() 245 this_val.b = this_val.r; in decompressWith() [all …]
|
H A D | field_point10.hpp | 42 (last.return_number ^ this_val.return_number) | in changed_values() 50 (last_intensity ^ this_val.intensity) != 0; in changed_values() 59 (last.user_data ^ this_val.user_data) != 0; in changed_values() 161 las::point10 this_val; in compressWith() local 172 common_.last_ = this_val; in compressWith() 182 unsigned int r = this_val.return_number, in compressWith() 205 common_.last_intensity[m] = this_val.intensity; in compressWith() 231 diff = this_val.x - common_.last_.x; in compressWith() 238 diff = this_val.y - common_.last_.y; in compressWith() 245 common_.last_height[l] = this_val.z; in compressWith() [all …]
|
H A D | field_gpstime.hpp | 84 common_.last_gpstime[0] = this_val; in compressWith() 96 if (this_val.value == common_.last_gpstime[common_.last].value) { in compressWith() 118 int64_t other_gpstime_diff_64 = this_val.value - in compressWith() 133 static_cast<int>(this_val.value >> 32), 8); in compressWith() 135 enc.writeInt(static_cast<unsigned int>(this_val.value)); in compressWith() 142 common_.last_gpstime[common_.last] = this_val; in compressWith() 146 if (this_val.value == common_.last_gpstime[common_.last].value) { in compressWith() 153 int64_t curr_gpstime_diff_64 = this_val.value - in compressWith() 252 static_cast<int>(this_val.value >> 32), 8); in compressWith() 253 enc.writeInt(static_cast<unsigned int>(this_val.value)); in compressWith() [all …]
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/jsmods/ |
H A D | WebGLRenderingContextBase.c | 7 static JSValue wgl_getContextAttributes(JSContext *ctx, JSValueConst this_val, int argc, JSValueCon… 9 static JSValue wgl_isContextLost(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *arg… 13 static JSValue wgl_getExtension(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv… 17 static JSValue wgl_attachShader(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) in wgl_attachShader() argument 59 JSValue wgl_bindFramebuffer(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv); 198 static JSValue wgl_clear(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) in wgl_clear() argument 390 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createBuffer() 407 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createFramebuffer() 424 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createProgram() 441 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createRenderbuffer() [all …]
|
H A D | scene_js.c | 229 GF_GPACJSExt *ext = JS_GetOpaque(this_val, gpac_class_id); in gpac_getProperty() 405 GF_GPACJSExt *ext = JS_GetOpaque(this_val, gpac_class_id); in gpac_setProperty() 770 compositor = gpac_get_compositor(ctx, this_val); in gpac_enum_directory() 930 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in odm_getProperty() 1262 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_get_quality() 1374 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_get_srd() 1424 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_select_quality() 1463 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_disable_main_addon() 1591 GF_GPACJSExt *gjs = JS_GetOpaque(this_val, gpac_class_id); in gpac_get_object_manager() 1764 GF_GPACJSExt *gjs = JS_GetOpaque(this_val, gpac_class_id); in gpac_set_event_filter() [all …]
|
H A D | webgl.c | 330 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getContextAttributes() 356 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getSupportedExtensions() 382 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getExtension() 422 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getParameter() 748 return wgl_getInfoLog(ctx, this_val, argc, argv, 0); in wgl_getProgramInfoLog() 752 return wgl_getInfoLog(ctx, this_val, argc, argv, 1); in wgl_getShaderInfoLog() 756 return wgl_getInfoLog(ctx, this_val, argc, argv, 2); in wgl_getShaderSource() 1410 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createTexture() 1492 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getUniformLocation() 1900 GF_WebGLNamedTexture *named_tx = JS_GetOpaque(this_val, NamedTexture_class_id); in wgl_named_tx_upload() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/jsmods/ |
H A D | WebGLRenderingContextBase.c | 7 static JSValue wgl_getContextAttributes(JSContext *ctx, JSValueConst this_val, int argc, JSValueCon… 9 static JSValue wgl_isContextLost(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *arg… 13 static JSValue wgl_getExtension(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv… 17 static JSValue wgl_attachShader(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) in wgl_attachShader() argument 59 JSValue wgl_bindFramebuffer(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv); 198 static JSValue wgl_clear(JSContext *ctx, JSValueConst this_val, int argc, JSValueConst *argv) in wgl_clear() argument 390 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createBuffer() 407 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createFramebuffer() 424 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createProgram() 441 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createRenderbuffer() [all …]
|
H A D | scene_js.c | 229 GF_GPACJSExt *ext = JS_GetOpaque(this_val, gpac_class_id); in gpac_getProperty() 405 GF_GPACJSExt *ext = JS_GetOpaque(this_val, gpac_class_id); in gpac_setProperty() 770 compositor = gpac_get_compositor(ctx, this_val); in gpac_enum_directory() 930 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in odm_getProperty() 1262 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_get_quality() 1374 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_get_srd() 1424 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_select_quality() 1463 GF_ObjectManager *odm = JS_GetOpaque(this_val, odm_class_id); in gjs_odm_disable_main_addon() 1591 GF_GPACJSExt *gjs = JS_GetOpaque(this_val, gpac_class_id); in gpac_get_object_manager() 1764 GF_GPACJSExt *gjs = JS_GetOpaque(this_val, gpac_class_id); in gpac_set_event_filter() [all …]
|
H A D | webgl.c | 330 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getContextAttributes() 356 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getSupportedExtensions() 382 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getExtension() 422 GF_WebGLContext *glc = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getParameter() 748 return wgl_getInfoLog(ctx, this_val, argc, argv, 0); in wgl_getProgramInfoLog() 752 return wgl_getInfoLog(ctx, this_val, argc, argv, 1); in wgl_getShaderInfoLog() 756 return wgl_getInfoLog(ctx, this_val, argc, argv, 2); in wgl_getShaderSource() 1410 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_createTexture() 1492 wglo->par_ctx = JS_GetOpaque(this_val, WebGLRenderingContextBase_class_id); in wgl_getUniformLocation() 1900 GF_WebGLNamedTexture *named_tx = JS_GetOpaque(this_val, NamedTexture_class_id); in wgl_named_tx_upload() [all …]
|
/dports/games/libretro-mame2000/mame2000-libretro-e364a15/src/machine/ |
H A D | subs.c | 49 int this_val; in subs_steering_1() local 52 this_val=input_port_3_r(0); in subs_steering_1() 54 delta=this_val-last_val; in subs_steering_1() 55 last_val=this_val; in subs_steering_1() 78 int this_val; in subs_steering_2() local 81 this_val=input_port_4_r(0); in subs_steering_2() 83 delta=this_val-last_val; in subs_steering_2() 84 last_val=this_val; in subs_steering_2()
|
H A D | sprint2.c | 214 int this_val; in READ_HANDLER() local 217 this_val=input_port_5_r(0); in READ_HANDLER() 219 delta=this_val-last_val; in READ_HANDLER() 220 last_val=this_val; in READ_HANDLER() 243 int this_val; in READ_HANDLER() local 246 this_val=input_port_6_r(0); in READ_HANDLER() 247 delta=this_val-last_val; in READ_HANDLER() 248 last_val=this_val; in READ_HANDLER()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/machine/ |
H A D | subs_machine.c | 46 int this_val; in subs_steering_1() local 49 this_val=input_port_3_r(0); in subs_steering_1() 51 delta=this_val-last_val; in subs_steering_1() 52 last_val=this_val; in subs_steering_1() 75 int this_val; in subs_steering_2() local 78 this_val=input_port_4_r(0); in subs_steering_2() 80 delta=this_val-last_val; in subs_steering_2() 81 last_val=this_val; in subs_steering_2()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/machine/ |
H A D | subs_machine.c | 46 int this_val; in subs_steering_1() local 49 this_val=input_port_3_r(0); in subs_steering_1() 51 delta=this_val-last_val; in subs_steering_1() 52 last_val=this_val; in subs_steering_1() 75 int this_val; in subs_steering_2() local 78 this_val=input_port_4_r(0); in subs_steering_2() 80 delta=this_val-last_val; in subs_steering_2() 81 last_val=this_val; in subs_steering_2()
|
/dports/emulators/mess/mame-mame0226/src/mame/machine/ |
H A D | subs.cpp | 54 int this_val; in steering_1() local 57 this_val=ioport("DIAL2")->read(); in steering_1() 59 delta=this_val-m_last_val_1; in steering_1() 60 m_last_val_1=this_val; in steering_1() 82 int this_val; in steering_2() local 85 this_val=ioport("DIAL1")->read(); in steering_2() 87 delta=this_val-m_last_val_2; in steering_2() 88 m_last_val_2=this_val; in steering_2()
|
/dports/emulators/mame/mame-mame0226/src/mame/machine/ |
H A D | subs.cpp | 54 int this_val; in steering_1() local 57 this_val=ioport("DIAL2")->read(); in steering_1() 59 delta=this_val-m_last_val_1; in steering_1() 60 m_last_val_1=this_val; in steering_1() 82 int this_val; in steering_2() local 85 this_val=ioport("DIAL1")->read(); in steering_2() 87 delta=this_val-m_last_val_2; in steering_2() 88 m_last_val_2=this_val; in steering_2()
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/filters/ |
H A D | jsfilter.c | 1762 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_set_prop() 1810 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_get_prop() 1873 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_send_event() 1892 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_enum_properties() 1919 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_get_property_ex() 1963 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_get_packet() 1995 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_drop_packet() 2016 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_is_filter_in_parents() 2432 JS_SetOpaque(this_val, NULL); in jsf_pid_remove() 3293 JS_SetOpaque(this_val, NULL); in jsf_pck_unref() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/filters/ |
H A D | jsfilter.c | 1762 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_set_prop() 1810 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_get_prop() 1873 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_send_event() 1892 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_enum_properties() 1919 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_get_property_ex() 1963 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_get_packet() 1995 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_drop_packet() 2016 GF_JSPidCtx *pctx = JS_GetOpaque(this_val, jsf_pid_class_id); in jsf_pid_is_filter_in_parents() 2432 JS_SetOpaque(this_val, NULL); in jsf_pid_remove() 3293 JS_SetOpaque(this_val, NULL); in jsf_pck_unref() [all …]
|
/dports/editors/emacs/emacs-27.2/src/ |
H A D | chartab.c | 270 Lisp_Object this_val; in sub_char_table_ref_and_range() local 278 this_val = sub_char_table_ref_and_range (this_val, c, from, to, defalt, in sub_char_table_ref_and_range() 281 this_val = defalt; in sub_char_table_ref_and_range() 293 Lisp_Object this_val; in sub_char_table_ref_and_range() local 300 this_val = sub_char_table_ref_and_range (this_val, c, from, to, defalt, in sub_char_table_ref_and_range() 303 this_val = defalt; in sub_char_table_ref_and_range() 343 Lisp_Object this_val; in char_table_ref_and_range() local 351 this_val = sub_char_table_ref_and_range (this_val, c, from, to, in char_table_ref_and_range() 354 this_val = tbl->defalt; in char_table_ref_and_range() 372 this_val = sub_char_table_ref_and_range (this_val, c, from, to, in char_table_ref_and_range() [all …]
|
/dports/graphics/scantailor/scantailor-advanced-1.0.16/imageproc/ |
H A D | ConnectivityMap.cpp | 492 if (this_val + 1 < *neighbor + 1) { in processNeighbor() 493 *neighbor = this_val; in processNeighbor() 505 const uint32_t this_val = *p; in processQueue4() local 509 processNeighbor(queue, this_val, p); in processQueue4() 513 processNeighbor(queue, this_val, p); in processQueue4() 517 processNeighbor(queue, this_val, p); in processQueue4() 520 processNeighbor(queue, this_val, p); in processQueue4() 531 const uint32_t this_val = *p; in processQueue8() local 535 processNeighbor(queue, this_val, p); in processQueue8() 539 processNeighbor(queue, this_val, p); in processQueue8() [all …]
|
/dports/lang/quickjs/quickjs-2021-03-27/examples/ |
H A D | point.c | 77 static JSValue js_point_get_xy(JSContext *ctx, JSValueConst this_val, int magic) in js_point_get_xy() argument 79 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_get_xy() 88 static JSValue js_point_set_xy(JSContext *ctx, JSValueConst this_val, JSValue val, int magic) in js_point_set_xy() argument 90 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_set_xy() 103 static JSValue js_point_norm(JSContext *ctx, JSValueConst this_val, in js_point_norm() argument 106 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_norm()
|
/dports/games/warzone2100/warzone2100/3rdparty/quickjs/examples/ |
H A D | point.c | 77 static JSValue js_point_get_xy(JSContext *ctx, JSValueConst this_val, int magic) in js_point_get_xy() argument 79 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_get_xy() 88 static JSValue js_point_set_xy(JSContext *ctx, JSValueConst this_val, JSValue val, int magic) in js_point_set_xy() argument 90 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_set_xy() 103 static JSValue js_point_norm(JSContext *ctx, JSValueConst this_val, in js_point_norm() argument 106 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_norm()
|