Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
s5p_mfc_enc.c File Reference
#include <linux/clk.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/sched.h>
#include <linux/version.h>
#include <linux/videodev2.h>
#include <media/v4l2-event.h>
#include <linux/workqueue.h>
#include <media/v4l2-ctrls.h>
#include <media/videobuf2-core.h>
#include "s5p_mfc_common.h"
#include "s5p_mfc_debug.h"
#include "s5p_mfc_enc.h"
#include "s5p_mfc_intr.h"
#include "s5p_mfc_opr.h"

Go to the source code of this file.

Macros

#define DEF_SRC_FMT_ENC   V4L2_PIX_FMT_NV12MT
 
#define DEF_DST_FMT_ENC   V4L2_PIX_FMT_H264
 
#define NUM_FORMATS   ARRAY_SIZE(formats)
 
#define NUM_CTRLS   ARRAY_SIZE(controls)
 
#define IS_MFC51_PRIV(x)
 

Functions

int vidioc_encoder_cmd (struct file *file, void *priv, struct v4l2_encoder_cmd *cmd)
 
struct s5p_mfc_codec_opsget_enc_codec_ops (void)
 
struct vb2_opsget_enc_queue_ops (void)
 
struct v4l2_ioctl_opsget_enc_v4l2_ioctl_ops (void)
 
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)
 

Macro Definition Documentation

#define DEF_DST_FMT_ENC   V4L2_PIX_FMT_H264

Definition at line 35 of file s5p_mfc_enc.c.

#define DEF_SRC_FMT_ENC   V4L2_PIX_FMT_NV12MT

Definition at line 34 of file s5p_mfc_enc.c.

#define IS_MFC51_PRIV (   x)
Value:

Definition at line 1848 of file s5p_mfc_enc.c.

#define NUM_CTRLS   ARRAY_SIZE(controls)

Definition at line 561 of file s5p_mfc_enc.c.

#define NUM_FORMATS   ARRAY_SIZE(formats)

Definition at line 89 of file s5p_mfc_enc.c.

Function Documentation

struct s5p_mfc_codec_ops* get_enc_codec_ops ( void  )
read

Definition at line 1833 of file s5p_mfc_enc.c.

struct vb2_ops* get_enc_queue_ops ( void  )
read

Definition at line 1838 of file s5p_mfc_enc.c.

struct v4l2_ioctl_ops* get_enc_v4l2_ioctl_ops ( void  )
read

Definition at line 1843 of file s5p_mfc_enc.c.

void s5p_mfc_enc_ctrls_delete ( struct s5p_mfc_ctx ctx)

Definition at line 1909 of file s5p_mfc_enc.c.

int s5p_mfc_enc_ctrls_setup ( struct s5p_mfc_ctx ctx)

Definition at line 1851 of file s5p_mfc_enc.c.

void s5p_mfc_enc_init ( struct s5p_mfc_ctx ctx)

Definition at line 1918 of file s5p_mfc_enc.c.

int vidioc_encoder_cmd ( struct file file,
void priv,
struct v4l2_encoder_cmd cmd 
)

Definition at line 1504 of file s5p_mfc_enc.c.