o
odin.langpkg.dev
packages / library / odin-gv

odin-gv

47ed959library

GV video decoder for Odin

Zlib · updated 7 months ago

odin-gv

GV Video (Extreme Gpu Friendly Video Format) decoder for Odin language.

Forked from v_gvvideo.

docs/screenshot.png

About

This module provides only decoder, not player 1.
(Player implementations should be separated for each graphic frameworks.)

If you need encoder, please check Original README of GV video and my fork.

Dependencies

Test

$ odin test tests

Demo on Raylib

$ odin run demo_raylib

code: demo_raylib/main.odin

Usage notes

  • Please use read_frame_compressed instead of read_frame if your graphics framework supports GPU compressed texture uploading.
    • CPU DXT decoding of read_frame is just for test case or compatibility. Very slow.

Footnotes

  1. If you need player demo, please check odin run demo_raylib