151
151
int hsub = plane == 1 || plane == 2 ? trans->hsub : 0;
152
152
int vsub = plane == 1 || plane == 2 ? trans->vsub : 0;
153
153
int pixstep = trans->pixsteps[plane];
155
155
int outw = FF_CEIL_RSHIFT(out->width, hsub);
156
156
int outh = FF_CEIL_RSHIFT(out->height, vsub);
157
157
int start = (outh * jobnr ) / nb_jobs;