Skip to content

Commit

Permalink
libavfilter/*: Rename FF_CEIL_RSHIFT to AV_CEIL_RSHIFT
Browse files Browse the repository at this point in the history
Rename FF_CEIL_RSHIFT to AV_CEIL_RSHIFT
libavfilter/vf_monocomic.c
libavfilter/vf_yuvrangeconv.c

This change is followed official commit.
21f9468 : avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT
  • Loading branch information
cho-dev committed Jan 31, 2016
1 parent 422c848 commit af32a1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions libavfilter/vf_monocomic.c
Expand Up @@ -222,8 +222,8 @@ static int config_props_input(AVFilterLink *inlink)

// get width, height of chroma plane
pixdesc = av_pix_fmt_desc_get(inlink->format);
rc->chroma_w = FF_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w);
rc->chroma_h = FF_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h);
rc->chroma_w = AV_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w);
rc->chroma_h = AV_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h);

rc->chroma_dw = (1 << pixdesc->log2_chroma_w);
rc->chroma_dh = (1 << pixdesc->log2_chroma_h);
Expand Down
4 changes: 2 additions & 2 deletions libavfilter/vf_yuvrangeconv.c
Expand Up @@ -85,8 +85,8 @@ static int config_props_input(AVFilterLink *inlink)

// get width, height of chroma plane
pixdesc = av_pix_fmt_desc_get(inlink->format);
rc->chroma_w = FF_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w);
rc->chroma_h = FF_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h);
rc->chroma_w = AV_CEIL_RSHIFT(inlink->w, pixdesc->log2_chroma_w);
rc->chroma_h = AV_CEIL_RSHIFT(inlink->h, pixdesc->log2_chroma_h);

// alias:
// 'yuvrangeconv=full:1' same as 'yuvrangeconv=full:autodetect=1'
Expand Down

0 comments on commit af32a1b

Please sign in to comment.