Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Tuesday, August 11, 2020

ShaderToy - OpenGL GL/ES Programming




Shader Toy is one of several websites that allow you to code interactively wish GLSL ES Shaders, that run directly on the GPU in real time.

GLSL ES is very C Like but it's not C.  It's intended to run parallelized on the GPU.

https://www.shadertoy.com/browse




https://en.wikipedia.org/wiki/OpenGL_ES
OpenGL for Embedded Systems (OpenGL ES or GLES) is a subset[2] of the OpenGL computer graphics rendering application programming interface (API) for rendering 2D and 3D computer graphics such as those used by video games, typically hardware-accelerated using a graphics processing unit (GPU). It is designed for embedded systems like smartphones, tablet computers, video game consoles and PDAs. OpenGL ES is the "most widely deployed 3D graphics API in history".[3]

 Almost all rendering features of the transform and lighting stage, such as the specification of materials and light parameters formerly specified by the fixed-function API, are replaced by shaders written by the graphics programmer.



https://shadertoyunofficial.wordpress.com/



The principles of painting with maths  https://www.youtube.com/watch?v=0ifChJ0nJfM



Thursday, February 09, 2017

Piet is a language that interprets graphic files as source code.



This is “Hello World” in Piet:


It could also be written this way:


Piet is an esoteric language that interprets graphic files as source code. Each block of color is interpreted according to its hue, its brightness, and its size. There’s nothing missing in either of these examples; there’s no written code hiding behind the pictures. If you load either of these graphics into a Piet interpreter, you’ll get the console output “Hello World”.

https://www.quora.com/What-programming-language-has-a-cool-Hello-World-program
http://www.dangermouse.net/esoteric/piet.html
https://esolangs.org/wiki/Piet
http://www.majcher.com/code/piet/Piet-Interpreter.html
https://www.bertnase.de/npiet/

It runs a Stack based machine code similar to the Java JVM Virtual Machine so it should possible to compile real code in to these and run them.


Sunday, December 11, 2016

SYNQ - Video API built for developers

https://www.synq.fm/

The Synq FM is a cloud based Video API

What it can do?
  • Simple video upload and storage
  • Transcoding into various formats for a variety of platforms
  • A customizable, embedded player
  • Attaching custom video metadata (like tags, groups, playlists, and so on)
  • Webhook notifications for various events
  • Geo-local content delivery

Multiple libraries for mobile, web and servers. Use our client libraries for Python, Javascript, iOS, Android and others, or directly through HTTP POST requests.

Automatically switch between several Content Delivery Networks (CDNs) to increase performance and improve user experience.

Tuesday, July 08, 2014

FVV is Voxelogram’s ‘Free-Viewpoint Video’ file format.


FVVLib

Introduction

FVV is Voxelogram's 'Free-Viewpoint Video' file format. While in traditional 2D video the viewpoint is fixed by the single camera used to capture the scene, in Free-Viewpoint Video the user can interactively choose arbitrary viewpoints of a real captured scene while the video is playing back. The scene therefore is captured by multiple synchronized video cameras and the shape and appearance of the captured actor is reconstructed from the multi-video streams using Voxelogram's 4CAST software framework.
Like traditional 2D video files a Free-Viewpoint Video file consists of a sequence of frames, together with some descriptive information. Unlike 2D video however, which basically only contains pixel data per frame, a Free-Viewpoint Video frame contains geometry and texture information. Using the FVVLib an application can access the FVV files and play it back using a render library like OpenGL.

Friday, July 22, 2011

TV hacking via serial connection or IR codes

http://hackaday.com/2011/07/21/lg-tv-hacking-via-serial-connection-or-ir-codes

https://sites.google.com/site/brendanrobert/projects/lg-tv-hacks

LG LD450 HDTV, controlled over an RS232 Serial port.

LG used Linux and other FOSS when developing their TV's firmware.  Because of this, the majority of this firmware source code can be downloaded from their website: http://www.lg.com/global/support/opensource/opensource.jsp.  LG also documents some of the RS232 port functionality in the owner's manual: You can send remote control codes directly from your PC.

You can set values and read the values for the TV Internal Settings. Things like Volume and Brightness, On/Off etc.

Friday, August 28, 2009

jpeg compression

Hey John,

I'm working on a project for -- that closely relates to the jpeg decompression stuff you showed me a while ago and was wondering if you could help me out...this time I am trying to compress a bitmap into a jpeg using the same IJG library. I've got the library working for the most part, except that something strange seems to be going on with the colors in some instances. Attached is a bitmap and the associated compressed jpeg. As you can see, a lot of the yellows in the bitmap turn to blues in the jpeg. Do you have any idea what I am doing wrong? In nature scenes, it is a lot less noticeable.

I should note that the bitmap started out 32 bit, and I had to convert it to 24 bit before feeding it to the compression engine. So, do you have any ideas?

Thanks,
W




---------------
W,
What are your inputs and storage format?
RGB/ YUV?

it looks like your colors are crossed, I recommend getting a red, green and blue object (and yellow) so you can compair and see exactly what colors gone wrong.

Could be U/V or R/B reversal.

John
---------------

Input is RGB. I'll give that a shot. Thanks.

W
---------------
You were correct sir. RB reversal. Thanks again!

W

Saturday, May 16, 2009

Hardware: DisplayLink Releases LGPL USB Graphics Code

from Slashdot:


"USB graphics should be coming to Linux soon: DisplayLink has released an LGPL library that talks to one of its graphics chips over a USB connection. DisplayLink aren't one of the big guys in graphics, but it's always nice to see a hardware manufacturer go the open source route. Now, when can I get one of these touchscreen MIMOs on my Linux HTPC?"

Monday, July 09, 2007

It's been a while

I am long overdue for some posts. In the mean time so much has happened.
Where to begin.
Lots of Embedded Linux stuff some is video and imaging related.
Blackfin and PXA270 X-Scale ARM processors, now I'm working on Altera NIOS II, struggling to get uC Linux on it and having to learn VHDL. I know once I am over that learning curve a whole new world of programmable Hardware will be open to me.

Did a V4L2 Driver for the SDI Master Board, but only got partial payment on that, I still own one of the developers $4400, that I will have to pay out of my pocket since the customer isn't paying up... Very upsetting for me.

SDI is cool though, I have utilities now to capture and decode these in Windows and Linux X win.
SDI is not compressed at all, looks like a raw captured YUYV video stream sampled at 13.5 Mhz just like CCIR 601. It's CCIR 656 and has sync markers embedded into it's video data stream, also audio is embedded into it. I plan to open source all of this if I don't get paid soon.

Did a bunch of USB stuff, that was a really learning experience, I really was avoiding USB for a long time. There is a video over USB standard that is out there now.

I have avoided commenting on the Net Neutrality issue, but there shouldn't be any regulations in my opinion.

checkout joost.com

I also put up a number of new sites. Jpeg Cameras , V4L2 Video for Linux 2

I have a currently working version of ECIP for RTP streams, worked great with 6MBPS streams into VLC (videolan).

I was stunned that Skype now uses my firewall bypass idea. See posts on Slashdot.

I wish people would stop asking me for Kodicom Diginet software. I do sell compatible board, but can't provide that software. But boards work great in Linux with ZoneAlarm and under FreeBSD with a little user space setup utility I did.


There's a lot more but that will be in the next post.

John