History log of /haiku-fatelf/src/add-ons/media/plugins/avi_reader/libOpenDML/StandardIndex.cpp
Revision Date Author Comments
# 51b0c013 29-Nov-2009 David McPaul <dlmcpaul@gmail.com>

Added ODML Index support, still needs work though too much duplicated code. Feedback welcome

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34354 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7eae2372 22-Mar-2009 David McPaul <dlmcpaul@gmail.com>

Standard Index now handles entries that are absolute offsets instead of relative

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 201970d3 24-Feb-2009 David McPaul <dlmcpaul@gmail.com>

First cut at improving avi seeking

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29308 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 590bb3b9 21-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

Might have implemented seeking to keyframes (video streams only for now), but
I need to test it yet...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24498 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d830aa92 20-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* Added FindKeyFrame() method to MediaExtractor, it is similar to Seek(),
but operates "read-only".
* Added FindKeyFrame() method to ReaderPlugin, see above.
* Reformated ReaderPlugin header. Added const qualifier to Source() method.
* Small cleanups in BMediaTrack::SeekToTime() and SeekToFrame(). Added TODOs
with regards to "seeking" in decoders, wich should IMHO be revised. (Codecs
cannot seek in the stream, they only get fed chunk data. The only thing they
can do is reset themselves in preparation for a discontinuity of the chunk
data...)
* Implemented BMediaTrack::FindKeyframeByXX() methods via the new
MediaExtractor::FindKeyFrame() method.
* Implemented Seek() and FindKeyFrame() methods in the Reader base class,
returning B_NOT_SUPPORTED. I think this makes sense and also I don't have
to adapt all existing Reader plugins for the new FindKeyFrame() call. :-)
* Implemeneted FindKeyFrame() in the avi_reader. The OpenDMLFile class
gets Seek() extended for a "read-only" mode. Currently the implementation
is broken (as before) with regards to keyframes. These were ignored before
and I have not changed them to actually support the seek flags with regards
to keyframes. That's the interesting TODO...
* Some reformatting here and there in avi_reader code, sorry for the mixup.
The only actual change is the support for the read-only flag to Seek().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24495 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d14375b8 19-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* turn tracing off in OpenDMLFile as well
* rename tracing define in StartIndex


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24477 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9b58b8e2 19-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* printf -> TRACE (turned off)
* fixed a few compiler warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24475 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1b842f77 12-Jun-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Moved some functionality from avi_reader into OpenDMLParser.
Added basic seeking support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 59ab99e7 10-Jun-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Preparation of seek support. Put AVI index handling into different files. Preload the full idx1 (standard) index during file opening.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21388 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 51b0c0131611b954438e7bb7a813cebbbde7efe3 29-Nov-2009 David McPaul <dlmcpaul@gmail.com>

Added ODML Index support, still needs work though too much duplicated code. Feedback welcome

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34354 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 7eae23728e7fa53485ddcf88d21cf104ecf418e1 22-Mar-2009 David McPaul <dlmcpaul@gmail.com>

Standard Index now handles entries that are absolute offsets instead of relative

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29646 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 201970d309c260bc998325566babdfc75e555725 24-Feb-2009 David McPaul <dlmcpaul@gmail.com>

First cut at improving avi seeking

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29308 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 590bb3b9e256cd75d5ee2460fc134cfd1381438c 21-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

Might have implemented seeking to keyframes (video streams only for now), but
I need to test it yet...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24498 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d830aa92ce5e5063357b44483277e931f0276307 20-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* Added FindKeyFrame() method to MediaExtractor, it is similar to Seek(),
but operates "read-only".
* Added FindKeyFrame() method to ReaderPlugin, see above.
* Reformated ReaderPlugin header. Added const qualifier to Source() method.
* Small cleanups in BMediaTrack::SeekToTime() and SeekToFrame(). Added TODOs
with regards to "seeking" in decoders, wich should IMHO be revised. (Codecs
cannot seek in the stream, they only get fed chunk data. The only thing they
can do is reset themselves in preparation for a discontinuity of the chunk
data...)
* Implemented BMediaTrack::FindKeyframeByXX() methods via the new
MediaExtractor::FindKeyFrame() method.
* Implemented Seek() and FindKeyFrame() methods in the Reader base class,
returning B_NOT_SUPPORTED. I think this makes sense and also I don't have
to adapt all existing Reader plugins for the new FindKeyFrame() call. :-)
* Implemeneted FindKeyFrame() in the avi_reader. The OpenDMLFile class
gets Seek() extended for a "read-only" mode. Currently the implementation
is broken (as before) with regards to keyframes. These were ignored before
and I have not changed them to actually support the seek flags with regards
to keyframes. That's the interesting TODO...
* Some reformatting here and there in avi_reader code, sorry for the mixup.
The only actual change is the support for the read-only flag to Seek().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24495 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d14375b803cd6fb4dee1bb528757721f4d5defe2 19-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* turn tracing off in OpenDMLFile as well
* rename tracing define in StartIndex


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24477 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 9b58b8e2d89ae8ddda84b61ab3973a2d82d028b3 19-Mar-2008 Stephan Aßmus <superstippi@gmx.de>

* printf -> TRACE (turned off)
* fixed a few compiler warnings


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24475 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1b842f776a3c5d311af20378cdc461359d1e31ee 12-Jun-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Moved some functionality from avi_reader into OpenDMLParser.
Added basic seeking support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21401 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 59ab99e7c6512a35ecf4079d6247c65d3e42bf3f 10-Jun-2007 Marcus Overhagen <marcusoverhagen@gmail.com>

Preparation of seek support. Put AVI index handling into different files. Preload the full idx1 (standard) index during file opening.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21388 a95241bf-73f2-0310-859d-f6bbb57e9c96