Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about how to aggregate the MV for the AV_Motion feature #8

Open
Easoncyx opened this issue May 26, 2022 · 0 comments
Open

Comments

@Easoncyx
Copy link

Easoncyx commented May 26, 2022

Hi,
Thanks for the great work. I had a question about the way MV_Length for each frame are calcualted.
Av_Motion feature is calcualted from S->MV_Length.
For each PU, there is a NormFwd and NormBwd multiplied to each decoded MV before calculating the sum.
Any insight why is this factor multipled to MV? Does the MV need to be scaled based on the POC difference? I counldn't find any reference related to this factor.

HEVC calculation of the Norm factor

if( (CurrType == FORWARD) || (CurrType == DIRECT) || (CurrType == BIDIRECT) )
NormFwd = 1.0 / (2 * fabs( (FrmStat->CurrPOC - Ref0POC) / (double)FrmStat->POC_DIF )) ;
if( (CurrType == BACKWARD) || (CurrType == DIRECT) || (CurrType == BIDIRECT) )
NormBwd = 1.0 / (2 * fabs( (FrmStat->CurrPOC - Ref1POC) / (double)FrmStat->POC_DIF )) ;

HEVC mutipling the Norm factor on MV
mvX = abs( (int)(CurrMvF->mv [0].x) ) * NormFwd ;
mvY = abs( (int)(CurrMvF->mv [0].y) ) * NormFwd ;

@Easoncyx Easoncyx changed the title Question about hwo to aggregrate the MV for the AV_Motion feature Question about how to aggregate the MV for the AV_Motion feature May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant