#45659 - kouky - Mon Jun 13, 2005 2:20 pm
hello !
I'm in the process of working on a video codec for gba.
Actually, it's more a slideshow compression method than a video codec.
The concept is to use tilemode backgrounds on bgmode 1.
videos frames are organised in couples.
Each couple of frames share the same palette and the same tiles array.
my first demo : http://www.pikilipita.com/gba/kouky_20frames.gba
I'm sure i can get better compression rates, but i'm facing a problems :
I can't make a couple of frames sharing a tile array with more than 38400 values.
Is there a trick to use a bigger array ?
I'm using visual ham, here the code i use to display my frames :
Anyone could help me?
I'm in the process of working on a video codec for gba.
Actually, it's more a slideshow compression method than a video codec.
The concept is to use tilemode backgrounds on bgmode 1.
videos frames are organised in couples.
Each couple of frames share the same palette and the same tiles array.
my first demo : http://www.pikilipita.com/gba/kouky_20frames.gba
I'm sure i can get better compression rates, but i'm facing a problems :
I can't make a couple of frames sharing a tile array with more than 38400 values.
Is there a trick to use a bigger array ?
I'm using visual ham, here the code i use to display my frames :
Code: |
map_fragment_info_ptr bg_vido;
(...) ham_SetBgMode(1); // ham_DeInitBg(1); ham_LoadBGPal((void*)jingle01_Palette,256); // Setup the tileset for our image ham_bg[0].ti = ham_InitTileSet((void*)jingle01_Tiles, SIZEOF_16BIT(jingle01_Tiles),1,1); // Setup the map for our image ham_bg[0].mi = ham_InitMapEmptySet(3,0); bg_vido = ham_InitMapFragment((void*)jingle01_Map, 30,20,0,0,30,20,0); ham_InsertMapFragment(bg_vido,0,0,0); // Display the background ham_InitBg(0,1,0,0); |
Anyone could help me?