[Ffmpeg-devel] MPEG4: Edge emulation for field motion vectors

Michael Niedermayer michaelni
Fri Feb 17 15:56:44 CET 2006


Hi

On Fri, Feb 17, 2006 at 02:37:54PM +0000, Rahul Kumar wrote:
> Hi everyone,
>   I have a doubt regarding handling of unrestricted motion vectors
> for field macroblocks  (ie MV_TYPE_FIELD), in a frame picture  (ie
> s->picture_structure == PICT_FRAME)
> 
> In such a scenario we call edge emulation routine with the following args:
> // in function mpeg_motion
> ff_emulated_edge_mc(s->edge_emu_buffer, ptr_y, s->linesize, 17, 17+field_based,
>  src_x, src_y<<field_based, s->h_edge_pos, s->v_edge_pos);
> 
> However shouldn't we be calling the above function with (2 * s->linesize)

do you have a file which is decoded incorrectly? if no id assume this is correct

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list