Skip to content

Commit

Permalink
fix wrong CTB size computation
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Jun 3, 2014
1 parent 909d503 commit 74b93da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libde265/sao.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ void apply_sao(de265_image* img, int xCtb,int yCtb,


// actual size of CTB to be processed (can be smaller when partially outside of image)
const int ctbW = (xC+ctbW>width) ? width -xC : nS;
const int ctbH = (yC+ctbH>height) ? height-yC : nS;
const int ctbW = (xC+nS>width) ? width -xC : nS;
const int ctbH = (yC+nS>height) ? height-yC : nS;


const bool extendedTests = (img->get_CTB_has_pcm(xCtb,yCtb) ||
Expand Down

0 comments on commit 74b93da

Please sign in to comment.