1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

avcodec/motion_est: Fix indentation

Forgotten after 919e749772.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt
2025-06-13 20:40:44 +02:00
parent 5b1e805653
commit 109bf099d5

View File

@ -119,13 +119,13 @@ static av_always_inline int cmp_direct_inline(MPVEncContext *const s, const int
int d; int d;
//FIXME check chroma 4mv, (no crashes ...) //FIXME check chroma 4mv, (no crashes ...)
av_assert2(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)); av_assert2(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1));
if(x >= c->xmin && hx <= c->xmax<<(qpel+1) && y >= c->ymin && hy <= c->ymax<<(qpel+1)){ if (x >= c->xmin && hx <= c->xmax << (qpel + 1) &&
y >= c->ymin && hy <= c->ymax << (qpel + 1)) {
const int time_pp = s->c.pp_time; const int time_pp = s->c.pp_time;
const int time_pb = s->c.pb_time; const int time_pb = s->c.pb_time;
const int mask = 2 * qpel + 1; const int mask = 2 * qpel + 1;
if (s->c.mv_type == MV_TYPE_8X8) { if (s->c.mv_type == MV_TYPE_8X8) {
int i; for(int i = 0; i < 4; ++i) {
for(i=0; i<4; i++){
int fx = c->direct_basis_mv[i][0] + hx; int fx = c->direct_basis_mv[i][0] + hx;
int fy = c->direct_basis_mv[i][1] + hy; int fy = c->direct_basis_mv[i][1] + hy;
int bx = hx ? fx - c->co_located_mv[i][0] : c->co_located_mv[i][0] * (time_pb - time_pp)/time_pp + ((i &1)<<(qpel+4)); int bx = hx ? fx - c->co_located_mv[i][0] : c->co_located_mv[i][0] * (time_pb - time_pp)/time_pp + ((i &1)<<(qpel+4));