search for: keyframe_shift

Displaying 2 results from an estimated 2 matches for "keyframe_shift".

2008 Nov 04
1
[PATCH] liboggz: Update Dirac granulepos definition
...============================================= --- liboggz/oggz_auto.c (revision 3759) +++ liboggz/oggz_auto.c (working copy) @@ -358,31 +358,26 @@ static int auto_dirac (OGGZ * oggz, long serialno, unsigned char * data, long length, void * user_data) { - char keyframe_granule_shift = 32; - int keyframe_shift; + int granule_shift = 22; /* not a typo */ dirac_info *info; info = malloc(sizeof(dirac_info)); dirac_parse_info(info, data, length); - /* - FIXME: where is this in Ogg Dirac? - keyframe_granule_shift = (char) ((header[40] & 0x03) << 3); - keyframe_granule_shift |= (h...
2008 Nov 11
5
further debugging of my ogg/theora decoder
Hi, I am continuing to try to debug my ogg/theora decoder. The issue seems to be that not enough packets are being pulled from the bitstream, here is some sample output from my player with some debugging comments put in: (playback began at first frame, this is from the middle of the clip) get page at 1765027 got packet frame++, skip is 0 frame decoded page processed, kframe=414 : offs=442 get