Re: [FFmpeg-devel] Finding residuals in h264 decoding in ffmpeg

2014-10-22 Thread Michael Niedermayer
On Tue, Oct 21, 2014 at 01:11:39PM +0200, Norbert Schmitt wrote:
 Hello,
 
 I am trying to understand how the H.264 Decoder in ffmpeg works and
 saving data (Macroblock types and motion vectors for example) from
 the decoding of a H.264 video. I also want to save the residuals for
 each frame but I cant seem to find them. There is something I am
 missing. It goes directly from CABAC/CAVLC decoding to
 pre-loop-filter values as far as I understand it. I already looked
 in the H264Context struct because most of the other information I
 want can be found there. If the residuals or the prediction values
 are stored in a H264Context struct I cannot find out which variable
 or pointer referes to them.
 
 Can someone please point me in the right direction where the
 residuals and or the predicted values for each frame are stored?

look at decode_cabac_residual_internal() and decode_residual() and
the related code

[...]

-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] Finding residuals in h264 decoding in ffmpeg

2014-10-21 Thread Norbert Schmitt

Hello,

I am trying to understand how the H.264 Decoder in ffmpeg works and  
saving data (Macroblock types and motion vectors for example) from the  
decoding of a H.264 video. I also want to save the residuals for each  
frame but I cant seem to find them. There is something I am missing.  
It goes directly from CABAC/CAVLC decoding to pre-loop-filter values  
as far as I understand it. I already looked in the H264Context struct  
because most of the other information I want can be found there. If  
the residuals or the prediction values are stored in a H264Context  
struct I cannot find out which variable or pointer referes to them.


Can someone please point me in the right direction where the residuals  
and or the predicted values for each frame are stored?


Thanks for your help in advance.

Best Regards
Norbert Schmitt

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel