[FFmpeg-devel] [PATCH 0/2] VDA decoder for ffmpeg
michaelni at gmx.at
Thu Aug 23 07:30:03 CEST 2012
On Thu, Aug 23, 2012 at 11:52:15AM +0800, Xidorn Quan wrote:
> On Tue, Aug 21, 2012 at 3:00 PM, Reimar Döffinger
> <Reimar.Doeffinger at gmx.de>wrote:
> > Thanks, I really like the feature, but why can't you instantiate a full
> > H.264 decoder with VDA HWAccel like an external application would instead
> > of reimplementing lots of the header parsing?
> Life wasn't be much simpler when I tried to reimplement this decoder
> as just a wrapper of H.264 decoder.
> I found that, we cannot just instantiate a decoder like an external
> application inside a decoder since FFmpeg is designed to prevent that
> on public API avcodec_open2.
> To implement the decoder that way, we have to reimplement at least
> the public codec initialization routine instead of parsing headers.
> Then the decoder will largely depend on implementation details of
> other parts of FFmpeg. I don't think it's an elegant way to implement
> this decoder.
libavcodec/avrndec.c doesnt look so bad and it passes its data to
either the mjpeg decoder or decodes it itself
iam not 100% sure the same method would work for this case but i dont
immedeatly see why not
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel