linux-4.4.1/v4l2_ctrl_new_std()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#kf0383f9]
#backlinks
*説明 [#xe09e343]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/v4l2-ctrls.c]]
-FIXME: これは何?
--説明
**引数 [#m8e9a4f6]
-struct v4l2_ctrl_handler *hdl
--
--[[linux-4.4.1/v4l2_ctrl_handler]]
-const struct v4l2_ctrl_ops *ops
--
--[[linux-4.4.1/v4l2_ctrl_ops]]
-u32 id
--
-s64 min
--
-s64 max
--
-u64 step
--
-s64 def
--
**返り値 [#c27b6e57]
-struct v4l2_ctrl *
--
--[[linux-4.4.1/v4l2_ctrl]]
**参考 [#m018f527]
*実装 [#o7a5bacf]
/* Helper function for standard non-menu controls */
struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_han...
const struct v4l2_ctrl_ops *ops,
u32 id, s64 min, s64 max, u64 st...
{
const char *name;
enum v4l2_ctrl_type type;
u32 flags;
-
--[[linux-4.4.1/v4l2_ctrl_type]]
v4l2_ctrl_fill(id, &name, &type, &min, &max, &st...
if (type == V4L2_CTRL_TYPE_MENU ||
type == V4L2_CTRL_TYPE_INTEGER_MENU ||
type >= V4L2_CTRL_COMPOUND_TYPES) {
handler_set_err(hdl, -EINVAL);
return NULL;
}
-
--[[linux-4.4.1/v4l2_ctrl_fill()]]
--[[linux-4.4.1/handler_set_err()]]
return v4l2_ctrl_new(hdl, ops, NULL, id, name, t...
min, max, step, def, NULL, 0,
flags, NULL, NULL, NULL);
-
--[[linux-4.4.1/v4l2_ctrl_new()]]
}
EXPORT_SYMBOL(v4l2_ctrl_new_std);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
*コメント [#a4d4bfe4]
終了行:
*参照元 [#kf0383f9]
#backlinks
*説明 [#xe09e343]
-パス: [[linux-4.4.1/drivers/media/v4l2-core/v4l2-ctrls.c]]
-FIXME: これは何?
--説明
**引数 [#m8e9a4f6]
-struct v4l2_ctrl_handler *hdl
--
--[[linux-4.4.1/v4l2_ctrl_handler]]
-const struct v4l2_ctrl_ops *ops
--
--[[linux-4.4.1/v4l2_ctrl_ops]]
-u32 id
--
-s64 min
--
-s64 max
--
-u64 step
--
-s64 def
--
**返り値 [#c27b6e57]
-struct v4l2_ctrl *
--
--[[linux-4.4.1/v4l2_ctrl]]
**参考 [#m018f527]
*実装 [#o7a5bacf]
/* Helper function for standard non-menu controls */
struct v4l2_ctrl *v4l2_ctrl_new_std(struct v4l2_ctrl_han...
const struct v4l2_ctrl_ops *ops,
u32 id, s64 min, s64 max, u64 st...
{
const char *name;
enum v4l2_ctrl_type type;
u32 flags;
-
--[[linux-4.4.1/v4l2_ctrl_type]]
v4l2_ctrl_fill(id, &name, &type, &min, &max, &st...
if (type == V4L2_CTRL_TYPE_MENU ||
type == V4L2_CTRL_TYPE_INTEGER_MENU ||
type >= V4L2_CTRL_COMPOUND_TYPES) {
handler_set_err(hdl, -EINVAL);
return NULL;
}
-
--[[linux-4.4.1/v4l2_ctrl_fill()]]
--[[linux-4.4.1/handler_set_err()]]
return v4l2_ctrl_new(hdl, ops, NULL, id, name, t...
min, max, step, def, NULL, 0,
flags, NULL, NULL, NULL);
-
--[[linux-4.4.1/v4l2_ctrl_new()]]
}
EXPORT_SYMBOL(v4l2_ctrl_new_std);
-
--[[linux-4.4.1/EXPORT_SYMBOL()]]
*コメント [#a4d4bfe4]
ページ名: