Giter Club home page Giter Club logo

slibs's Introduction

slibs ๐Ÿพ

GitHub Repo stars GitHub code size in bytes Lines of code

๐Ÿฑ Single file libraries for C/C++.

Logo

๐Ÿ’Ž AI (llm, Stable Diffusion)

library license LoC description
catseye_llm.h MIT 1874
Llama2 for CPULlama2, catseye
ggml.h MIT 20352 Tensor library for machine learning,
detailsGGML, Llama 2, RedPajama, Stable Diffusion

๐ŸŽถ audio (aplay+)

library license LoC description
alsa.h public domain 138 ALSA library
uaac.h RPSL 13438 AAC audio decoder
uflac_enc.h LGPL-2.1 2843 FLAC audio encoder
wav.h public domain 61 Wave format
wave.h public domain 304 utility for wave format
minimp3.h LGPL 2671 MP3 decoder

๐ŸŽฅ video

library license LoC description
v4l2.h public domain 614 video for linux
mp4parser.h LGPL-3.0 6015 mp4 parser
jo_mpeg.h public domain 317 MPEG1/2 encoder

๐Ÿ–ผ image (img2vec)

library license LoC description
imgp.h public domain 441 mini image processing library
potracelib.h GPL 2466 Transforming bitmaps into vector graphics,
detailsDocument, Example
pssub.h unknown 1153 Postscript library
svg.h Apache-2.0 348 SVG library

๐ŸŽฎ OpenGL

library license LoC description
kms-glsl.h MIT 2426 OpenGL using the DRM/KMS

๐Ÿ“ˆ math

library license LoC description
fft.h public domain 136 Fast Fourier Transform
ifft.h unknown 550 Fixed-point in-place Fast Fourier Transform
fmath.h public domain 142 Fast math library
random.h public domain 33 XOR128 random function

๐Ÿ“ˆ math / GEMM / GPGPU (waifu2x-glsl)

library license LoC description
sgemm_sse.h public domain 451 Fast GEMM function for SSE
sgemm_ocl.h public domain 662 Fast GEMM function for OpenCL
sgemm_gl.h public domain 110 Fast GEMM function for OpenGL4
gpgpu_glsl.h public domain 399 GLSL frameworks
gpgpu_gles.h public domain 443
GLES 3.0 frameworksMatmul example,LLM example
gpgpu_gles3.h public domain 264 GLES 3.0 frameworks with TransformFeedback
gpgpu_gl4.h public domain 170 OpenGL compute shader frameworks
ocl.h public domain 190 OpenCL frameworks

๐Ÿ”ง utils

library license LoC description
alloc.h MIT 116 Safety alloc
clock.h MIT 31
clock function for linuxref.
ht.h MIT 330 hash table
kbhit.h MIT 64
kbhit function for linuxref.
ls.h MIT 155
making list of files and directoriesref.

๐Ÿ–ฅ console

library license LoC description
aimage.h public domain 321 Image Viewer for Console
mcurses.h GPL-2 1481
"mcurses" is a minimized version of programming library ncursesref.
termbox.h MIT 1719
Library for writing text-based user interfacesref.
qrcodegen.h MIT 1413 QR Code generator library

๐Ÿ“ parser

library license LoC description
csv.h public domain 77 CSV file parser
ini.h BSD 250 ini file parser
parg.h CC0 551
Parser for argv that works similarly to getoptref.
parson.h MIT 2239
Lightweight JSON libraryref.
utf8.h GPL2 1123
UTF8 decoder and encoder libraryref.

๐Ÿ“– References

slibs's People

Contributors

corporateshark avatar yui0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slibs's Issues

Unable to decode Fraunhofer FDK AAC -encoded files

Hi!

I'm working on integrating uaac.h as an AAC decoder for miniaudio, but I'm having issues getting uaac to decode my AAC files in the first place. I'm using ffmpeg and libfdk_aac (Fraunhofer FDK AAC) to encode my files. I've tested with your aplay+ program and am getting the same issue.

I have two files in the following test:

  • output.m4a was encoded with the default ffmpeg/libfdk_aac settings
  • output-moov.m4a was encoded the same way, but I passed the -movflags +faststart options so that the moov atom would be at the start of the file (since uaac wasn't able to find it)
$ ./aplay+ files/

/home/grish/scratch/aplay-/files/output.m4a
[moov] is not found!
[trak] is not found!
[mdia] is not found!
[hdlr] is not found!
type:4d344120/736f756e 0 fffffff8
Error: cannot read AAC data

/home/grish/scratch/aplay-/files/output-moov.m4a
[mdat] is not found!
Error: cannot read AAC data

I've been playing around with the uaac_extract_aac function, but am not well-versed in decoding audio files. Curious if you have any ideas here, or at least a sense of how much work it would be to get this working. I have a rather large audio library that's encoded in the same way, so I'm hoping to get this working without modifying the audio files.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.