repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
rlatkddn212/rts-project
RTSProject/RTSProject/Font.h
#pragma once #include <string> #include <unordered_map> #include "Texture.h" #include <SDL/SDL_ttf.h> class Font { public: Font(); ~Font(); void Initialize(); void Terminate(); bool Load(const std::string& fileName); void Unload(); std::shared_ptr<Texture...
rlatkddn212/rts-project
RTSProject/RTSProject/DirectionalLight.h
<filename>RTSProject/RTSProject/DirectionalLight.h #pragma once class DirectionalLight { public: DirectionalLight(); ~DirectionalLight(); };
rlatkddn212/rts-project
RTSProject/RTSProject/UnitStateGotoObj.h
<gh_stars>0 #pragma once #include "UnitState.h" class Unit; class UnitStateGotoObj : public UnitState { public: virtual void Update(Unit * ownUnit, float deltaTime); virtual bool FindEnemyInRange(Unit* ownUnit, std::shared_ptr<Terrain> terrain, std::vector<std::weak_ptr<RTSObject> >& mEnemy, UnitCommand c...
rlatkddn212/rts-project
RTSProject/RTSProject/GameStage.h
<reponame>rlatkddn212/rts-project #pragma once #include "WindowGroup.h" #include "HeightMap.h" #include "Terrain.h" #include "StaticMesh.h" #include "Camera.h" #include "Mouse.h" #include "SkinnedMesh.h" #include "AxisObject.h" #include "Unit.h" #include "Building.h" #include "MoveComponent.h" #include "MiniMap.h" #inc...
rlatkddn212/rts-project
RTSProject/RTSProject/Mouse.h
#pragma once #include "Texture.h" #include "Shader.h" #include "Camera.h" #include "RenderObject.h" #include "SpriteUI.h" #include "RenderManager.h" enum RightState { RIGHT_MOUSE_PRESSED, RIGHT_MOUSE_RELEASE, }; enum LeftState { LEFT_MOUSE_PRESSED, LEFT_MOUSE_RELEASE, }; enum MidState { }; enum WheelState { ...
rlatkddn212/rts-project
RTSProject/RTSProject/RenderObject.h
<reponame>rlatkddn212/rts-project #pragma once #include "Camera.h" #include "Texture.h" enum RenderState { DeferedRendering, ForwardRendering, EffectRendering, AlphaRendering, UIRendering, }; class RenderObject { public: virtual void RenderShadow(std::shared_ptr<Camera> camera); virtual void Render...
rlatkddn212/rts-project
RTSProject/RTSProject/SSAO.h
#pragma once #include "Texture.h" #include <vector> class SSAO { public: SSAO(); ~SSAO(); bool Initialize(int width, int height); void Terminate(); unsigned int GetSSAOFrameBufferID() const { return mSsaoFrameBufferID; } unsigned int GetBlurFrameBufferID() const { re...
rlatkddn212/rts-project
RTSProject/RTSProject/AiPlayer.h
#pragma once #include "Player.h" #include "MasterAI.h" class AiPlayer : public Player { public: AiPlayer(); virtual ~AiPlayer(); virtual void Initialize(std::shared_ptr<Terrain> terrain, int w, int h); virtual void Terminate(); protected: std::shared_ptr<MasterAI> mMasterAI; }...
rlatkddn212/rts-project
RTSProject/RTSProject/Unit.h
<filename>RTSProject/RTSProject/Unit.h #pragma once #include "RTSObject.h" #include "SkinnedMesh.h" #include "BoxObject.h" #include "Terrain.h" #include "MoveComponent.h" #include "RTSObjectInfo.h" #include "UnitState.h" #include "Effect.h" class Effect; class MoveComponent; enum UnitCommand { UNITCOMMAND_NONE, UN...
rlatkddn212/rts-project
RTSProject/RTSProject/RTSObject.h
#pragma once #include "CameraRay.h" #include "Camera.h" #include "Texture.h" #include "RenderObject.h" #include "RenderManager.h" class CameraRay; class RTSObject : public RenderObject { public: RTSObject(); virtual ~RTSObject(); void MakeModel() {} virtual void Update(float delt...
rlatkddn212/rts-project
RTSProject/RTSProject/Effect.h
<filename>RTSProject/RTSProject/Effect.h #pragma once #include "Texture.h" #include "EffectResourcePool.h" #include "Unit.h" #include "RenderObject.h" #include "RTSObject.h" #include "RenderManager.h" struct Particle { glm::vec3 position; glm::vec3 velocity; glm::vec3 acceleration; glm::vec4 color; float liveTi...
rlatkddn212/rts-project
RTSProject/RTSProject/AxisObject.h
#pragma once #include "Shader.h" #include "VertexArray.h" #include "Camera.h" #include "RenderObject.h" #include "RenderManager.h" class AxisObject : public RenderObject { public: AxisObject(int type) {} AxisObject(); ~AxisObject(); void MakeModel(); void Rend...
rlatkddn212/rts-project
RTSProject/RTSProject/PointLight.h
<filename>RTSProject/RTSProject/PointLight.h #pragma once #include "Light.h" class PointLight : public Light { public: PointLight(); ~PointLight(); };
rlatkddn212/rts-project
RTSProject/RTSProject/Precompiled.h
<gh_stars>0 #pragma warning(disable:4996) #pragma comment(lib, "opengl32.lib") #pragma comment(lib, "glew32.lib") #pragma comment(lib, "glew32s.lib") #pragma comment(lib, "glfw3.lib") #pragma comment(lib, "SDL2.lib") #pragma comment(lib, "SDL2main.lib") #pragma comment(lib, "SDL2_ttf.lib") #pragma comment(lib, "SOIL.l...
rlatkddn212/rts-project
RTSProject/RTSProject/BoxObject.h
#pragma once #include "Shader.h" #include "VertexArray.h" #include "Camera.h" #include "RenderObject.h" #include "RenderManager.h" class BoxObject : public RenderObject { public: BoxObject(glm::vec3 minV, glm::vec3 maxV); ~BoxObject(); void MakeModel(glm::vec3 minV, glm::vec3 maxV); ...
rlatkddn212/rts-project
RTSProject/RTSProject/WindowGroup.h
#pragma once #include "Precompiled.h" #include "Shader.h" #include "Font.h" #include "VertexArray.h" #include "TextUI.h" #include "Camera.h" #include "CameraRay.h" #include "Mouse.h" class WindowGroup { public: WindowGroup(); virtual ~WindowGroup(); virtual void Initialize(GLFWwindow* win...
rlatkddn212/rts-project
RTSProject/RTSProject/CameraRay.h
#pragma once #include "Camera.h" #include "Mouse.h" class CameraRay { public: CameraRay(); CameraRay(glm::vec3 o, glm::vec3 d); ~CameraRay(); void SetRay(std::shared_ptr<Camera> camera, int x, int y); glm::vec3 org; glm::vec3 dir; };
rlatkddn212/rts-project
RTSProject/RTSProject/TextUI.h
<filename>RTSProject/RTSProject/TextUI.h #pragma once #include <string> #include "Shader.h" #include "VertexArray.h" #include "Texture.h" #include "Font.h" #include "Camera.h" #include "RenderObject.h" class TextUI : public RenderObject { public: TextUI(const std::string& str); ~TextUI(); vo...
rlatkddn212/rts-project
RTSProject/RTSProject/SpriteUI.h
<reponame>rlatkddn212/rts-project<gh_stars>0 #pragma once #include "VertexArray.h" #include "Shader.h" #include "Texture.h" #include "Camera.h" #include "RenderObject.h" #include "RenderManager.h" class SpriteUI : public RenderObject { public: SpriteUI(); ~SpriteUI(); void MakeMod...
rlatkddn212/rts-project
RTSProject/RTSProject/FogOfWar.h
<reponame>rlatkddn212/rts-project<filename>RTSProject/RTSProject/FogOfWar.h<gh_stars>0 #pragma once #include "Texture.h" #include "RTSObject.h" class RTSObject; class FogOfWar { public: FogOfWar(int w, int h); virtual void MakeFogTexture(const std::vector<std::shared_ptr<RTSObject> >& renderobj); v...
rlatkddn212/rts-project
RTSProject/RTSProject/SoundManager.h
<filename>RTSProject/RTSProject/SoundManager.h<gh_stars>0 #pragma once class SoundManager { };
rlatkddn212/rts-project
RTSProject/RTSProject/ObjectPool.h
#pragma once #include "Singleton.h" class ObjectPool : public Singleton<ObjectPool> { void Initialize(); };
rlatkddn212/rts-project
RTSProject/RTSProject/Singleton.h
<filename>RTSProject/RTSProject/Singleton.h #pragma once template<typename T> class Singleton { private: Singleton(const Singleton&); protected: Singleton() {} public: static T* GetInstance() { static T* instance = nullptr; if (instance == nullptr) { instance = new T; } return in...
rlatkddn212/rts-project
RTSProject/RTSProject/Light.h
<filename>RTSProject/RTSProject/Light.h #pragma once class Light { public: Light(); ~Light(); };
rlatkddn212/rts-project
RTSProject/RTSProject/NetPlayer.h
#pragma once #include "Player.h" class NetPlayer : public Player { };
agaelema/MSP430_TLV_register_ADC_calibrate
FR6989 - TLV - CRC ref and adc12 correction - v01/main.c
<gh_stars>1-10 //****************************************************************************** // MSP430FR6989 Demo - ADC12B, Sample A3, 2.5V Shared Ref, TLV, CRC16 // // Based in example "tlv_ex3_calibrateTempSensor" of "MSP430 DriverLib - TI" // This example show how to get and use TLV data to increase accuracy o...
igorconom/t-digest-c
src/tdigest.c
#include <stdlib.h> #include <stdbool.h> #include <string.h> #include <math.h> #include "tdigest.h" #ifndef TD_MALLOC_INCLUDE #define TD_MALLOC_INCLUDE "td_malloc.h" #endif #include TD_MALLOC_INCLUDE #define MAX(x, y) (((x) > (y)) ? (x) : (y)) #define MIN(x, y) (((x) < (y)) ? (x) : (y)) static inline double weighte...
igorconom/t-digest-c
examples/quantile_example.c
#include <stdio.h> #include "tdigest.h" #define STREAM_SIZE 1000000 static inline double randMToN(double M, double N) { return M + (rand() / (RAND_MAX / (N - M))); } int main() { td_histogram_t *mdigest = td_new(500); printf("compression is %f capacity is %d\n", mdigest->compression, mdigest->cap); ...
igorconom/t-digest-c
src/td_malloc.h
<reponame>igorconom/t-digest-c /** * Adaptive histogram based on something like streaming k-means crossed with Q-digest. * The implementation is a direct descendent of MergingDigest * https://github.com/tdunning/t-digest/ * * Copyright (c) 2021 Redis, All rights reserved. * * Allocator selection. * * This file...
igorconom/t-digest-c
tests/td_test.c
/** * td_test.c * Written by <NAME> and released to the public domain, * as explained at http://creativecommons.org/publicdomain/zero/1.0/ */ #include <stdint.h> #include <stdbool.h> #include <stdlib.h> #include <errno.h> #include <stdio.h> #include "tdigest.h" #include "minunit.h" #define STREAM_SIZE 1000000 ...
npoltorapavlo/tcp-delay
Source/serverargs.h
<gh_stars>0 #pragma once #include <cstdlib> struct ServerArgs { ServerArgs(int argc, char** argv) : port(strtoul(argv[1], nullptr, 10)) , receiveBuffer(strtoul(argv[2], nullptr, 10)) , sendBuffer(strtoul(argv[3], nullptr, 10)) , acceptReceiveBuffer(strtoul(argv[4], nullptr, 10)) ...
npoltorapavlo/tcp-delay
Source/clientargs.h
<gh_stars>0 #pragma once #include <cstdlib> struct ClientArgs { ClientArgs(int argc, char** argv) : port(strtoul(argv[1], nullptr, 10)) , receiveBuffer(strtoul(argv[2], nullptr, 10)) , sendBuffer(strtoul(argv[3], nullptr, 10)) , connectReceiveBuffer(strtoul(argv[4], nullptr, 10)) ...
npoltorapavlo/tcp-delay
Source/testsocket.h
<filename>Source/testsocket.h #pragma once #include "socket.h" class TestSocket : public Socket { public: TestSocket(); TestSocket(int new_fd); public: auto Receive(const size_t len) -> bool; auto Send(const size_t len) -> bool; auto SetAppRcvBuf(uint32_t receiveBuffer) -> void; auto SetAppSn...
npoltorapavlo/tcp-delay
Source/socket.h
<reponame>npoltorapavlo/tcp-delay #pragma once #include <stdint.h> #include <sys/types.h> class Socket { public: Socket(); Socket(int new_fd); virtual ~Socket(); public: auto Create() -> bool; auto Connect(uint16_t port) -> bool; auto Listen(uint16_t port, int backlog) -> bool; auto Accep...
ZoMa-Toys/ESPWifiAndWeb
WifiAndWeb.h
<reponame>ZoMa-Toys/ESPWifiAndWeb<gh_stars>0 #ifndef WiFIAndWeb_h #define WiFIAndWeb_h #define DO_EXPAND(VAL) VAL ## 1 #define EXPAND(VAL) DO_EXPAND(VAL) #if defined (ARDUINO_ARCH_ESP8266) #include <ESP8266WiFi.h> #include <ESP8266mDNS.h> #include <ESPAsyncTCP.h> #elif defined (ESP32) #include <WiFi.h> #include ...
EpicKiwi/nomad-compositor
src/liveStreamer.h
<gh_stars>0 #pragma once #include "ofMain.h" #include "ofxVideoRecorder.h" class LiveStreamer { public: int width; int height; int fps; int gop; int gopMin; string quality = "ultrafast"; string cbr = "1000k"; int audioRate = 44100; string streamKey; ofxVideoRecorder videoRecorder; pub...
EpicKiwi/nomad-compositor
src/ofApp.h
#pragma once #include "ofMain.h" #include "liveStreamer.h" #include "ofxXmlSettings.h" class ofApp : public ofBaseApp{ protected: const int MAX_RADIUS = 300; const int MIN_RADIUS = 10; const int GROW_SPEED = 1; protected: ofxXmlSettings config; LiveStreamer liveStreamer; ofFbo currentFrame; ofPixe...
fshahinfar1/trex-core
src/stx/stl/trex_stl_fs.h
<gh_stars>0 /*/ <NAME> Cisco Systems, Inc. */ /* Copyright (c) 2015-2016 Cisco Systems, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2....
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_batch2space.c
<reponame>phytec-mirrors/nn-imx /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
ovxlib/test/lenet/vnn_lenet.c
<reponame>phytec-mirrors/nn-imx<filename>ovxlib/test/lenet/vnn_lenet.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated docu...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_pre_process.c
<filename>ovxlib/src/ops/vsi_nn_op_pre_process.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "...
phytec-mirrors/nn-imx
ovxlib/src/platform/nnapi0.4/vsi_nn_pf_depth2space.c
<reponame>phytec-mirrors/nn-imx<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Softwa...
phytec-mirrors/nn-imx
ovxlib/include/utils/vsi_nn_util.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_roi_align.c
<reponame>phytec-mirrors/nn-imx<filename>ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_roi_align.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this s...
phytec-mirrors/nn-imx
ovxlib/src/kernel/evis/floordiv_evis.c
<reponame>phytec-mirrors/nn-imx<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Softwa...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_grucell_ovxlib.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/high_level_api/GEMM/gemm_sample.c
<filename>ovxlib/high_level_api/GEMM/gemm_sample.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the...
phytec-mirrors/nn-imx
ovxlib/src/cpu_backend/vsi_nn_cpu_backend.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_concat.c
<filename>ovxlib/src/ops/vsi_nn_op_concat.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Softw...
phytec-mirrors/nn-imx
ovxlib/include/vsi_nn_rnn.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/vsi_nn_internal_node.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_unstack.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/test/pre_post_process_node/add_pre_post_process_node.c
<reponame>phytec-mirrors/nn-imx /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_clip.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/cpu_backend/vsi_nn_cpu_backend_deconv2d.c
<reponame>phytec-mirrors/nn-imx /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
ovxlib/high_level_api/GEMM/GEMM_api.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/test/lenet/vnn_pre_process.c
<filename>ovxlib/test/lenet/vnn_pre_process.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Sof...
phytec-mirrors/nn-imx
ovxlib/src/pycc/vsi_pycc_interface.c
<reponame>phytec-mirrors/nn-imx<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Softwa...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_lstmunit_ovxlib.c
<filename>ovxlib/src/ops/vsi_nn_op_lstmunit_ovxlib.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (t...
phytec-mirrors/nn-imx
ovxlib/src/post/vsi_nn_post_cmupose.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_clip.c
<filename>ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_clip.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_resize_nearest_internal.c
<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Softw...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_dropout.c
<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Softw...
phytec-mirrors/nn-imx
ovxlib/src/utils/vsi_nn_dtype_util.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_conv2d.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/include/ops/vsi_nn_op_grucell_ovxlib.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_grucell_activation_internal.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/include/post/vsi_nn_post_cmupose.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_random_multinomial.c
<reponame>phytec-mirrors/nn-imx /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
ovxlib/include/libnnext/vx_lib_nnext.h
<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Softw...
phytec-mirrors/nn-imx
nn_runtime/android_hal/VsiPlatform.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/utils/vsi_nn_dlfcn.c
<filename>ovxlib/src/utils/vsi_nn_dlfcn.c #include "vsi_nn_log.h" #include "utils/vsi_nn_dlfcn.h" #if defined(_WIN32) void * vsi_nn_dlopen( const char *file, int mode ) { return NULL; } int vsi_nn_dlclose( void *handle ) { return -1; } __declspec(noinline) void* vsi_nn_dlsym( void *handle, const char *name )...
phytec-mirrors/nn-imx
ovxlib/src/kernel/evis/matrixmul_evis.c
/**************************************************************************** * * Copyright (c) 2019 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_axis_aligned_bbox_transform.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/platform/nnapi0.3/vsi_nn_pf_softmax.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_gru_ovxlib.c
<reponame>phytec-mirrors/nn-imx /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
ovxlib/src/kernel/evis/pow_evis.c
<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Softw...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_box_with_nms_limit.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_lstmunit_activation.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/include/vsi_nn_tensor.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/test/functional/hashmap.c
<reponame>phytec-mirrors/nn-imx<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Softwa...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_relu_keras_internal.c
<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Softw...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_tensor_add_mean_stddev_norm.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/high_level_api/GEMM/GEMM_api.c
<reponame>phytec-mirrors/nn-imx<filename>ovxlib/high_level_api/GEMM/GEMM_api.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associa...
phytec-mirrors/nn-imx
ovxlib/test/lenet/main.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_resize_internal.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/include/utils/vsi_nn_dlfcn.h
#ifndef __VSI_NN_DLFCN_H #define __VSI_NN_DLFCN_H #if defined(_WIN32) #define RTLD_LAZY 0 #define RTLD_NOW 0 #define RTLD_GLOBAL (1 << 1) #define RTLD_LOCAL (1 << 2) #define RTLD_DEFAULT ((void *)0) #define RTLD_NEXT ((void *)-1) #else #include <dlfcn.h> #endif /** * Opend a shared library *...
phytec-mirrors/nn-imx
ovxlib/include/cpu_backend/npuref_interface.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_layernormalize.c
<gh_stars>0 /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Softw...
phytec-mirrors/nn-imx
ovxlib/src/platform/nnapi0.4/vsi_nn_pf_softmax.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/include/pycc/vsi_pycc_interface.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_unstack.c
<filename>ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_unstack.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentat...
phytec-mirrors/nn-imx
ovxlib/tools/op_template/vsi_nn_kernel_#CUSTOM_KERNEL#.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/test/op/relu.c
<filename>ovxlib/test/op/relu.c /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_conv2d.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_space2batch.c
<reponame>phytec-mirrors/nn-imx /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
nn_runtime/android_hal/VsiRTInfo.h
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
ovxlib/src/ops/vsi_nn_op_crop.c
<reponame>phytec-mirrors/nn-imx /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * ...
phytec-mirrors/nn-imx
ovxlib/src/libnnext/ops/kernel/vsi_nn_kernel_pre_process_gray.c
/**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without ...
phytec-mirrors/nn-imx
nn_runtime/android_hal/1.2/VsiBurstExecutor.h
<filename>nn_runtime/android_hal/1.2/VsiBurstExecutor.h /**************************************************************************** * * Copyright (c) 2020 Vivante Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files...