Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366893
b: refs/heads/master
c: 2f9e96c
h: refs/heads/master
i:
  366891: bd2368f
v: v3
  • Loading branch information
Masanari Iida authored and Mauro Carvalho Chehab committed Mar 29, 2013
1 parent b71d67e commit 7eb50b7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e4b7131dd51c3efb2656bc5b00aa96bfef17b709
refs/heads/master: 2f9e96c39fb4cc0680ccf2ec155133249174780c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface to userspace.
DAVINCI RESIZER A
DAVINCI RESIZER B

Each possible link in the VPFE is modeled by a link in the Media controller
Each possible link in the VPFE is modelled by a link in the Media controller
interface. For an example program see [1].


Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/staging/media/davinci_vpfe/dm365_isif.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ static void isif_config_bclamp(struct vpfe_isif_device *isif,
val = (bc->bc_mode_color & ISIF_BC_MODE_COLOR_MASK) <<
ISIF_BC_MODE_COLOR_SHIFT;

/* Enable BC and horizontal clamp caculation paramaters */
/* Enable BC and horizontal clamp calculation paramaters */
val = val | 1 | ((bc->horz.mode & ISIF_HORZ_BC_MODE_MASK) <<
ISIF_HORZ_BC_MODE_SHIFT);

Expand Down Expand Up @@ -722,7 +722,7 @@ static void isif_config_bclamp(struct vpfe_isif_device *isif,
isif_write(isif->isif_cfg.base_addr, val, CLHWIN2);
}

/* vertical clamp caculation paramaters */
/* vertical clamp calculation paramaters */
/* OB H Valid */
val = bc->vert.ob_h_sz_calc & ISIF_VERT_BC_OB_H_SZ_MASK;

Expand Down Expand Up @@ -1569,7 +1569,7 @@ isif_pad_set_crop(struct v4l2_subdev *sd, struct v4l2_subdev_fh *fh,
crop->rect.width = format->width;
crop->rect.height = format->height;
}
/* adjust the width to 16 pixel boundry */
/* adjust the width to 16 pixel boundary */
crop->rect.width = ((crop->rect.width + 15) & ~0xf);
vpfe_isif->crop = crop->rect;
if (crop->which == V4L2_SUBDEV_FORMAT_ACTIVE) {
Expand Down
8 changes: 4 additions & 4 deletions trunk/drivers/staging/media/davinci_vpfe/vpfe_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ static int vpfe_pipeline_disable(struct vpfe_pipeline *pipe)
*
* Set the pipeline to the given stream state.
*
* Return 0 if successfull, or the return value of the failed video::s_stream
* Return 0 if successful, or the return value of the failed video::s_stream
* operation otherwise.
*/
static int vpfe_pipeline_set_stream(struct vpfe_pipeline *pipe,
Expand Down Expand Up @@ -644,7 +644,7 @@ static int vpfe_g_fmt(struct file *file, void *priv,
* fills v4l2_fmtdesc structure with output format set on adjacent subdev,
* only one format is enumearted as subdevs are already configured
*
* Return 0 if successfull, error code otherwise
* Return 0 if successful, error code otherwise
*/
static int vpfe_enum_fmt(struct file *file, void *priv,
struct v4l2_fmtdesc *fmt)
Expand Down Expand Up @@ -769,7 +769,7 @@ static int vpfe_try_fmt(struct file *file, void *priv,
* fills v4l2_input structure with input available on media chain,
* only one input is enumearted as media chain is setup by this time
*
* Return 0 if successfull, -EINVAL is media chain is invalid
* Return 0 if successful, -EINVAL is media chain is invalid
*/
static int vpfe_enum_input(struct file *file, void *priv,
struct v4l2_input *inp)
Expand All @@ -779,7 +779,7 @@ static int vpfe_enum_input(struct file *file, void *priv,
struct vpfe_device *vpfe_dev = video->vpfe_dev;

v4l2_dbg(1, debug, &vpfe_dev->v4l2_dev, "vpfe_enum_input\n");
/* enumerate from the subdev user has choosen through mc */
/* enumerate from the subdev user has chosen through mc */
if (inp->index < sdinfo->num_inputs) {
memcpy(inp, &sdinfo->inputs[inp->index],
sizeof(struct v4l2_input));
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/media/davinci_vpfe/vpfe_video.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ struct vpfe_video_device {
v4l2_std_id stdid;
/*
* offset where second field starts from the starting of the
* buffer for field seperated YCbCr formats
* buffer for field separated YCbCr formats
*/
u32 field_off;
};
Expand Down

0 comments on commit 7eb50b7

Please sign in to comment.