[FFmpeg-devel] XVMC Deathmatch
Michael Niedermayer
michaelni
Sun Feb 15 14:13:51 CET 2009
On Sun, Feb 15, 2009 at 01:11:58PM +0200, Ivan Kalvachev wrote:
> On 2/14/09, Michael Niedermayer <michaelni at gmx.at> wrote:
> > [...]
> >> case MV_TYPE_DMV:
> >> mv_block->motion_type = XVMC_PREDICTION_DUAL_PRIME;
> >> if(s->picture_structure == PICT_FRAME){
> >>
> >> mv_block->PMV[0][0][0] = s->mv[0][0][0];//top from top
> >> mv_block->PMV[0][0][1] = s->mv[0][0][1]<<1;
> >>
> >> mv_block->PMV[0][1][0] = s->mv[0][0][0];//bottom from
> >> bottom
> >> mv_block->PMV[0][1][1] = s->mv[0][0][1]<<1;
> >>
> >> mv_block->PMV[1][0][0] = s->mv[0][2][0];//dmv00, top
> >> from bottom
> >> mv_block->PMV[1][0][1] = s->mv[0][2][1]<<1;//dmv01
> >>
> >> mv_block->PMV[1][1][0] = s->mv[0][3][0];//dmv10, bottom
> >> from top
> >> mv_block->PMV[1][1][1] = s->mv[0][3][1]<<1;//dmv11
> >>
> >> }else{
> >
> >> mv_block->PMV[0][1][0] = s->mv[0][2][0];//dmv00
> >> mv_block->PMV[0][1][1] = s->mv[0][2][1];//dmv01
> >
> > 1 point
> > copy both at once
>
> This is not possible.
> This assignment converts (int) to (short).
oops
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> ... defining _GNU_SOURCE...
For the love of all that is holy, and some that is not, don't do that.
-- Luca & Mans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090215/e17e352a/attachment.pgp>
More information about the ffmpeg-devel
mailing list