Skip to content

Instantly share code, notes, and snippets.

View rauf's full-sized avatar
🎯
Focusing

Abdul Rauf rauf

🎯
Focusing
View GitHub Profile
import java.io.IOException;
import java.io.InputStream;
import java.util.InputMismatchException;
class InputReader {
private InputStream stream;
private byte[] buf = new byte[102400];
private int curChar;
private int numChars;
@rauf
rauf / main.cpp
Last active November 1, 2016 05:34
open gl code
/**************************
* Includes
*
**************************/
#include <windows.h>
#include <gl/gl.h>
#include <math.h>
@rauf
rauf / log.txt
Created July 5, 2016 13:04
shader code log
07-05 18:32:01.570 9816-13700/com.gpac.Osmo4 I/GF_LOG_COMPOSE: [GLSL] Compiled vertex shader code ****
#version 100
/**
* Shader implementing: Clipping, Texturing (RGB and YUV), Lighting, Fog
**/
//version defined first, at shader compilation
#if defined(GL_ES)
#if defined(GL_FRAGMENT_PRECISION_HIGH)
#include <gpac/modules/codec.h>
#include <gpac/internal/media_dev.h>
#include <gpac/constants.h>
#include "../../src/compositor/gl_inc.h"
#ifdef GPAC_ANDROID
This file has been truncated, but you can view the full file.
--------- beginning of main
06-26 15:47:38.124 232 437 I ThermalEngine: Sensor:batt_therm:35700 mC
06-26 15:47:40.649 747 19505 D NetlinkSocketObserver: NeighborEvent{elapsedMs=58417214, 192.168.0.1, [C46E1F726100], RTM_NEWNEIGH, NUD_STALE}
06-26 15:47:40.771 1742 1755 D TWILIGHT: [15:47:40.770, Log-Flusher]: No need to rotate log (logbuffer), too small.
--------- beginning of system
06-26 15:47:41.097 747 3350 I ActivityManager: Killing 1032:com.gaana/u0a75 (adj 15): empty #17
06-26 15:47:46.109 747 19505 D NetlinkSocketObserver: NeighborEvent{elapsedMs=58422674, 192.168.0.1, [C46E1F726100], RTM_NEWNEIGH, NUD_PROBE}
06-26 15:47:48.129 232 437 I ThermalEngine: Sensor:batt_therm:35700 mC
06-26 15:47:50.213 2433 2433 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
06-26 15:47:50.224 2433 2433 D AndroidRuntime: CheckJNI is OFF
@rauf
rauf / log.txt
Created June 25, 2016 18:33
log
06-25 23:52:39.745 747 2393 I ActivityManager: Start proc 23944:com.gpac.Osmo4/u0a135 for activity com.gpac.Osmo4/.Osmo4
06-25 23:52:39.748 23944 23944 I art : Late-enabling -Xcheck:jni
06-25 23:52:39.820 23944 23944 V GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/ for osmo
06-25 23:52:39.820 23944 23944 V GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/cache for cache
06-25 23:52:39.820 23944 23944 V GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/lib/ for libraries
06-25 23:52:39.820 23944 23944 V GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/gui/ for GUI
06-25 23:52:39.820 23944 23944 V GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/shaders/ for shader files
06-25 23:52:39.824 23944 23944 V GpacConfig: Using directory /storage/emulated/0/osmo/log/ for log files
06-25 23:52:39.879 23944 23974 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
06-25 23:52:39.904 23944 23944 I ToolbarWidgetWrapper: Progress display unsupported
05-04 16:01:08.603 1534-1534/com.gpac.Osmo4 I/art: Not late-enabling -Xcheck:jni (already on)
05-04 16:01:08.605 1534-1534/com.gpac.Osmo4 I/art: Late-enabling JIT
05-04 16:01:08.952 1534-1534/com.gpac.Osmo4 I/art: JIT created with code_cache_capacity=2MB compile_threshold=1000
05-04 16:01:14.339 1534-1534/com.gpac.Osmo4 E/Osmo4: ladjfa
05-04 16:01:14.438 1534-1534/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/ for osmo
05-04 16:01:14.438 1534-1534/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/cache for cache
05-04 16:01:14.438 1534-1534/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/lib/ for libraries
05-04 16:01:14.439 1534-1534/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/gui/ for GUI
05-04 16:01:14.439 1534-1534/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/shaders/ for shader files
05-04 16:01:14.448 1534-1534/com.gpac.Osmo4 V/GpacConfig: Using directory /storage/09E7-0804
@rauf
rauf / gist:c21542c76afabe75f9a2eb2f2fedc092
Created April 30, 2016 20:51
osmo4 android app GpacInstanceError log2
05-01 02:19:25.479 11975-11975/com.gpac.Osmo4 I/art: Not late-enabling -Xcheck:jni (already on)
05-01 02:19:26.977 11975-11975/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/ for osmo
05-01 02:19:26.977 11975-11975/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/cache for cache
05-01 02:19:26.977 11975-11975/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/lib/ for libraries
05-01 02:19:26.977 11975-11975/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/gui/ for GUI
05-01 02:19:26.977 11975-11975/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/shaders/ for shader files
05-01 02:19:26.993 11975-11975/com.gpac.Osmo4 V/GpacConfig: Using directory /sdcard/osmo/log/ for log files
05-01 02:19:26.993 11975-11975/com.gpac.Osmo4 E/GpacConfig: Failed to create directory /sdcard/osmo/log/
05-01 02:19:27.171 11975-11975/com.gpac.Osmo4 D/Osmo4: Copy assets of shaders
05-01 02:19:27.208 11975-11975/co
@rauf
rauf / gist:461268f72caddb1d514348342272ad88
Created April 30, 2016 14:46
osmo4 android app GpacInstanceError log
04-30 19:12:09.106 2468-2468/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/ for osmo
04-30 19:12:09.106 2468-2468/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/cache for cache
04-30 19:12:09.106 2468-2468/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/lib/ for libraries
04-30 19:12:09.106 2468-2468/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/gui/ for GUI
04-30 19:12:09.106 2468-2468/com.gpac.Osmo4 V/GpacConfig: Using directory /data/user/0/com.gpac.Osmo4/shaders/ for shader files
04-30 19:12:09.123 2468-2468/com.gpac.Osmo4 V/GpacConfig: Using directory /sdcard/osmo/log/ for log files
04-30 19:12:09.124 2468-2468/com.gpac.Osmo4 E/GpacConfig: Failed to create directory /sdcard/osmo/log/
04-30 19:12:09.345 2468-2468/com.gpac.Osmo4 D/Osmo4: Copy assets of shaders
04-30 19:12:09.936 2468-2468/com.gpac.Osmo4 I/Choreographer: Skipped 40 frames! The application may be doing too much work on its main thread.