avfilter/vf_v360: replace deprecated FF_CEIL_RSHIFT()
This commit is contained in:
parent
682bafdb12
commit
9353d1a60f
@ -4254,9 +4254,9 @@ static void fov_from_dfov(int format, float d_fov, float w, float h, float *h_fo
|
|||||||
|
|
||||||
static void set_dimensions(int *outw, int *outh, int w, int h, const AVPixFmtDescriptor *desc)
|
static void set_dimensions(int *outw, int *outh, int w, int h, const AVPixFmtDescriptor *desc)
|
||||||
{
|
{
|
||||||
outw[1] = outw[2] = FF_CEIL_RSHIFT(w, desc->log2_chroma_w);
|
outw[1] = outw[2] = AV_CEIL_RSHIFT(w, desc->log2_chroma_w);
|
||||||
outw[0] = outw[3] = w;
|
outw[0] = outw[3] = w;
|
||||||
outh[1] = outh[2] = FF_CEIL_RSHIFT(h, desc->log2_chroma_h);
|
outh[1] = outh[2] = AV_CEIL_RSHIFT(h, desc->log2_chroma_h);
|
||||||
outh[0] = outh[3] = h;
|
outh[0] = outh[3] = h;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user