提交 68bbbd79 编写于 作者: M Mauro Carvalho Chehab

[media] ti-vpe: use true/false for boolean vars

Instead of using 0 or 1 for boolean, use the true/false
defines.
Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
上级 11b4c175
...@@ -835,10 +835,10 @@ static int set_srcdst_params(struct vpe_ctx *ctx) ...@@ -835,10 +835,10 @@ static int set_srcdst_params(struct vpe_ctx *ctx)
VPDMA_STRIDE_ALIGN); VPDMA_STRIDE_ALIGN);
mv_buf_size = bytes_per_line * s_q_data->height; mv_buf_size = bytes_per_line * s_q_data->height;
ctx->deinterlacing = 1; ctx->deinterlacing = true;
src_h <<= 1; src_h <<= 1;
} else { } else {
ctx->deinterlacing = 0; ctx->deinterlacing = false;
mv_buf_size = 0; mv_buf_size = 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册