![Julia Lawall](/assets/img/avatar_default.png)
The s5p_mfc_codec_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
25 lines
839 B
C
25 lines
839 B
C
/*
|
|
* linux/drivers/media/platform/s5p-mfc/s5p_mfc_enc.h
|
|
*
|
|
* Copyright (C) 2011 Samsung Electronics Co., Ltd.
|
|
* http://www.samsung.com/
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef S5P_MFC_ENC_H_
|
|
#define S5P_MFC_ENC_H_
|
|
|
|
const struct s5p_mfc_codec_ops *get_enc_codec_ops(void);
|
|
struct vb2_ops *get_enc_queue_ops(void);
|
|
const struct v4l2_ioctl_ops *get_enc_v4l2_ioctl_ops(void);
|
|
struct s5p_mfc_fmt *get_enc_def_fmt(bool src);
|
|
int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx);
|
|
void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx);
|
|
void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);
|
|
|
|
#endif /* S5P_MFC_ENC_H_ */
|