~ppsspp/ppsspp/ffmpeg-upstream

« back to all changes in this revision

Viewing changes to libavfilter/vf_transpose.c

  • Committer: Sérgio Benjamim
  • Date: 2015-07-20 03:55:05 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20150720035505-i1jj1zcjcnd0mc7w
Updated to 2.7.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
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];
154
 
        int inh     = in->height  >> vsub;
 
154
        int inh     = FF_CEIL_RSHIFT(in->height, vsub);
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;