|
@@ -793,18 +793,17 @@ static int vidioc_g_crop(struct file *file, void *priv,
|
|
cr->c.top = top;
|
|
cr->c.top = top;
|
|
cr->c.width = ctx->img_width - left - right;
|
|
cr->c.width = ctx->img_width - left - right;
|
|
cr->c.height = ctx->img_height - top - bottom;
|
|
cr->c.height = ctx->img_height - top - bottom;
|
|
- mfc_debug(2, "Cropping info [h264]: l=%d t=%d "
|
|
|
|
- "w=%d h=%d (r=%d b=%d fw=%d fh=%d\n", left, top,
|
|
|
|
- cr->c.width, cr->c.height, right, bottom,
|
|
|
|
- ctx->buf_width, ctx->buf_height);
|
|
|
|
|
|
+ mfc_debug(2, "Cropping info [h264]: l=%d t=%d w=%d h=%d (r=%d b=%d fw=%d fh=%d\n",
|
|
|
|
+ left, top, cr->c.width, cr->c.height, right, bottom,
|
|
|
|
+ ctx->buf_width, ctx->buf_height);
|
|
} else {
|
|
} else {
|
|
cr->c.left = 0;
|
|
cr->c.left = 0;
|
|
cr->c.top = 0;
|
|
cr->c.top = 0;
|
|
cr->c.width = ctx->img_width;
|
|
cr->c.width = ctx->img_width;
|
|
cr->c.height = ctx->img_height;
|
|
cr->c.height = ctx->img_height;
|
|
- mfc_debug(2, "Cropping info: w=%d h=%d fw=%d "
|
|
|
|
- "fh=%d\n", cr->c.width, cr->c.height, ctx->buf_width,
|
|
|
|
- ctx->buf_height);
|
|
|
|
|
|
+ mfc_debug(2, "Cropping info: w=%d h=%d fw=%d fh=%d\n",
|
|
|
|
+ cr->c.width, cr->c.height, ctx->buf_width,
|
|
|
|
+ ctx->buf_height);
|
|
}
|
|
}
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|