View Single Post
Old 20th October 2015, 12:33   #2  |  Link
foxyshadis
ангел смерти
 
foxyshadis's Avatar
 
Join Date: Nov 2004
Location: Lost
Posts: 9,558
You have it backward: src refers to the coordinates in the reference frame that the vector points to, dst refers to the top-left coordinates of the actual coded block. All of these are in the upscaled plane (hpel for MPEG1 & MPEG2, qpel for avc & hevc, either way for asp) so divide by 4 to get the actual x,y location in the output video.

You can get a lot more information by editing mpegvideo.c, though it's pretty hard to know what's useful and what's not.
foxyshadis is offline   Reply With Quote