Re: to be effcient or not to be efficient

"Toby Hudon" <[email protected]>
Newsgroups gmane.comp.multimedia.media-api
Message-ID <[email protected]>
> 
> hence my opinion is that media access API should provide simple way to
> get any frame at any time. discontinuity handling may be added on top of
> the API, although of course the means to implement it should be present
> in the low level api [like indication if the frame is a keyframe and
> some way to find out when are keyframes...] 
> 
> Also it should be possible to figure wether "get any frame" function is
> expensive [i.e. wether the format is frame based]. then my applications
> will ask VJ if he wants to convert(render) the film to some frame based
> format [e.g. uncompressed] or chose other film to play. the "normal"
> players may use this information to decide how to drop frames when they
> must [e.g. if the JPEG frame has to be dropped it doesn't have to be
> decoded, while MPEG frame that is not followed by keyframe must be
> decoded]
> 

These things are going to vary depending on how the codec does things. I know for mine seeking another frame is cheap if the frame is in the same group as the current one as the last requested frame, and expensive if it is not.


-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.