Commit ce957fe2 authored by Vatsala Narang's avatar Vatsala Narang Committed by Greg Kroah-Hartman

staging: media: zoran: Fix block comment style

Add trailing */ on a separate line for block comments to get rid of
checkpatch warning.
Signed-off-by: default avatarVatsala Narang <vatsalanarang@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 309614bb
...@@ -40,7 +40,8 @@ ...@@ -40,7 +40,8 @@
#include "videocodec.h" #include "videocodec.h"
/* it doesn't make sense to have more than 20 or so, /* it doesn't make sense to have more than 20 or so,
just to prevent some unwanted loops */ * just to prevent some unwanted loops
*/
#define MAX_CODECS 20 #define MAX_CODECS 20
/* amount of chips attached via this driver */ /* amount of chips attached via this driver */
...@@ -725,7 +726,8 @@ zr36060_set_video (struct videocodec *codec, ...@@ -725,7 +726,8 @@ zr36060_set_video (struct videocodec *codec,
* ratio 1:2. Setting low_bitrate (insmod option) sets * ratio 1:2. Setting low_bitrate (insmod option) sets
* it to 1:4 (instead of 1:2, zr36060 max) as limit because the * it to 1:4 (instead of 1:2, zr36060 max) as limit because the
* buz can't handle more at decimation=1... Use low_bitrate if * buz can't handle more at decimation=1... Use low_bitrate if
* you have a Buz, unless you know what you're doing */ * you have a Buz, unless you know what you're doing
*/
size = size * cap->quality / (low_bitrate ? 400 : 200); size = size * cap->quality / (low_bitrate ? 400 : 200);
/* Lower limit (arbitrary, 1 KB) */ /* Lower limit (arbitrary, 1 KB) */
if (size < 8192) if (size < 8192)
...@@ -738,7 +740,8 @@ zr36060_set_video (struct videocodec *codec, ...@@ -738,7 +740,8 @@ zr36060_set_video (struct videocodec *codec,
/* the MBCVR is the *maximum* block volume, according to the /* the MBCVR is the *maximum* block volume, according to the
* JPEG ISO specs, this shouldn't be used, since that allows * JPEG ISO specs, this shouldn't be used, since that allows
* for the best encoding quality. So set it to it's max value */ * for the best encoding quality. So set it to it's max value
*/
reg = ptr->max_block_vol; reg = ptr->max_block_vol;
zr36060_write(ptr, ZR060_MBCVR, reg); zr36060_write(ptr, ZR060_MBCVR, reg);
...@@ -933,7 +936,8 @@ zr36060_setup (struct videocodec *codec) ...@@ -933,7 +936,8 @@ zr36060_setup (struct videocodec *codec)
memcpy(ptr->v_samp_ratio, zr36060_decimation_v, 8); memcpy(ptr->v_samp_ratio, zr36060_decimation_v, 8);
ptr->bitrate_ctrl = 0; /* 0 or 1 - fixed file size flag ptr->bitrate_ctrl = 0; /* 0 or 1 - fixed file size flag
* (what is the difference?) */ * (what is the difference?)
*/
ptr->mode = CODEC_DO_COMPRESSION; ptr->mode = CODEC_DO_COMPRESSION;
ptr->width = 384; ptr->width = 384;
ptr->height = 288; ptr->height = 288;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment