Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
s5p_mfc_ctx Struct Reference

#include <s5p_mfc_common.h>

Data Fields

struct s5p_mfc_devdev
 
struct v4l2_fh fh
 
int num
 
int int_cond
 
int int_type
 
unsigned int int_err
 
wait_queue_head_t queue
 
struct s5p_mfc_fmtsrc_fmt
 
struct s5p_mfc_fmtdst_fmt
 
struct vb2_queue vq_src
 
struct vb2_queue vq_dst
 
struct list_head src_queue
 
struct list_head dst_queue
 
unsigned int src_queue_cnt
 
unsigned int dst_queue_cnt
 
enum s5p_mfc_inst_type type
 
enum s5p_mfc_inst_state state
 
int inst_no
 
int img_width
 
int img_height
 
int buf_width
 
int buf_height
 
int luma_size
 
int chroma_size
 
int mv_size
 
unsigned long consumed_stream
 
unsigned int dpb_flush_flag
 
unsigned int head_processed
 
voidbank1_buf
 
size_t bank1_phys
 
size_t bank1_size
 
voidbank2_buf
 
size_t bank2_phys
 
size_t bank2_size
 
enum s5p_mfc_queue_state capture_state
 
enum s5p_mfc_queue_state output_state
 
struct s5p_mfc_buf src_bufs [MFC_MAX_BUFFERS]
 
int src_bufs_cnt
 
struct s5p_mfc_buf dst_bufs [MFC_MAX_BUFFERS]
 
int dst_bufs_cnt
 
unsigned int sequence
 
unsigned long dec_dst_flag
 
size_t dec_src_buf_size
 
int codec_mode
 
int slice_interface
 
int loop_filter_mpeg4
 
int display_delay
 
int display_delay_enable
 
int after_packed_pb
 
int sei_fp_parse
 
int dpb_count
 
int total_dpb_count
 
int mv_count
 
struct s5p_mfc_priv_buf ctx
 
struct s5p_mfc_priv_buf dsc
 
struct s5p_mfc_priv_buf shm
 
struct s5p_mfc_enc_params enc_params
 
size_t enc_dst_buf_size
 
size_t luma_dpb_size
 
size_t chroma_dpb_size
 
size_t me_buffer_size
 
size_t tmv_buffer_size
 
enum
v4l2_mpeg_mfc51_video_force_frame_type 
force_frame_type
 
struct list_head ref_queue
 
unsigned int ref_queue_cnt
 
enum
v4l2_mpeg_video_multi_slice_mode 
slice_mode
 
union {
   unsigned int   mb
 
   unsigned int   bits
 
slice_size
 
struct s5p_mfc_codec_opsc_ops
 
struct v4l2_ctrlctrls [MFC_MAX_CTRLS]
 
struct v4l2_ctrl_handler ctrl_handler
 
unsigned int frame_tag
 
size_t scratch_buf_size
 

Detailed Description

struct s5p_mfc_ctx - This struct contains the instance context

: pointer to the s5p_mfc_dev of the device : struct v4l2_fh : number of the context that this structure describes : variable used by the waitqueue : type of the last interrupt : error number received from MFC hw in the interrupt : waitqueue that can be used to wait for this context to finish : source pixelformat information : destination pixelformat information : vb2 queue for source buffers : vb2 queue for destination buffers : driver internal queue for source buffers : driver internal queue for destination buffers : number of buffers queued on the source internal queue : number of buffers queued on the dest internal queue : type of the instance - decoder or encoder : state of the context : number of hw instance associated with the context : width of the image that is decoded or encoded : height of the image that is decoded or encoded : width of the buffer for processed image : height of the buffer for processed image : size of a luma plane : size of a chroma plane : size of a motion vectors buffer : number of bytes that have been used so far from the decoding buffer : flag used to indicate that a DPB buffers are being flushed : flag mentioning whether the header data is processed completely or not : handle to memory allocated for temporary buffers from memory bank 1 : address of the temporary buffers from memory bank 1 : size of the memory allocated for temporary buffers from memory bank 1 : handle to memory allocated for temporary buffers from memory bank 2 : address of the temporary buffers from memory bank 2 : size of the memory allocated for temporary buffers from memory bank 2 : state of the capture buffers queue : state of the output buffers queue : information on allocated source buffers : information on allocated destination buffers : counter for the sequence number for v4l2 : flags for buffers queued in the hardware : size of the buffer for source buffers in decoding : number of codec mode used by MFC hw : slice interface flag : loop filter for MPEG4 flag : value of the display delay for H264 : display delay for H264 enable flag : flag used to track buffer when stream is in Packed PB format : enable/disable parsing of frame packing SEI information : count of the DPB buffers required by MFC hw : count of DPB buffers with additional buffers requested by the application : context buffer information : descriptor buffer information : shared memory buffer information : number of MV buffers allocated for decoding : encoding parameters for MFC : size of the buffers for encoder output : dpb buffer size for luma : dpb buffer size for chroma : size of the motion estimation buffer : size of temporal predictor motion vector buffer : used to force the type of the next encoded frame : list of the reference buffers for encoding : number of the buffers in the reference list : ops for encoding : array of controls, used when adding controls to the v4l2 control framework : handler for v4l2 framework

Definition at line 542 of file s5p_mfc_common.h.

Field Documentation

int after_packed_pb

Definition at line 611 of file s5p_mfc_common.h.

void* bank1_buf

Definition at line 585 of file s5p_mfc_common.h.

size_t bank1_phys

Definition at line 586 of file s5p_mfc_common.h.

size_t bank1_size

Definition at line 587 of file s5p_mfc_common.h.

void* bank2_buf

Definition at line 589 of file s5p_mfc_common.h.

size_t bank2_phys

Definition at line 590 of file s5p_mfc_common.h.

size_t bank2_size

Definition at line 591 of file s5p_mfc_common.h.

unsigned int bits

Definition at line 638 of file s5p_mfc_common.h.

int buf_height

Definition at line 573 of file s5p_mfc_common.h.

int buf_width

Definition at line 572 of file s5p_mfc_common.h.

Definition at line 641 of file s5p_mfc_common.h.

enum s5p_mfc_queue_state capture_state

Definition at line 593 of file s5p_mfc_common.h.

size_t chroma_dpb_size

Definition at line 626 of file s5p_mfc_common.h.

int chroma_size

Definition at line 576 of file s5p_mfc_common.h.

int codec_mode

Definition at line 606 of file s5p_mfc_common.h.

unsigned long consumed_stream

Definition at line 579 of file s5p_mfc_common.h.

struct v4l2_ctrl_handler ctrl_handler

Definition at line 644 of file s5p_mfc_common.h.

Definition at line 643 of file s5p_mfc_common.h.

Definition at line 618 of file s5p_mfc_common.h.

unsigned long dec_dst_flag

Definition at line 602 of file s5p_mfc_common.h.

size_t dec_src_buf_size

Definition at line 603 of file s5p_mfc_common.h.

Definition at line 543 of file s5p_mfc_common.h.

int display_delay

Definition at line 609 of file s5p_mfc_common.h.

int display_delay_enable

Definition at line 610 of file s5p_mfc_common.h.

int dpb_count

Definition at line 614 of file s5p_mfc_common.h.

unsigned int dpb_flush_flag

Definition at line 581 of file s5p_mfc_common.h.

Definition at line 619 of file s5p_mfc_common.h.

Definition at line 598 of file s5p_mfc_common.h.

int dst_bufs_cnt

Definition at line 599 of file s5p_mfc_common.h.

struct s5p_mfc_fmt* dst_fmt

Definition at line 554 of file s5p_mfc_common.h.

struct list_head dst_queue

Definition at line 560 of file s5p_mfc_common.h.

unsigned int dst_queue_cnt

Definition at line 563 of file s5p_mfc_common.h.

size_t enc_dst_buf_size

Definition at line 624 of file s5p_mfc_common.h.

Definition at line 622 of file s5p_mfc_common.h.

Definition at line 544 of file s5p_mfc_common.h.

Definition at line 630 of file s5p_mfc_common.h.

unsigned int frame_tag

Definition at line 645 of file s5p_mfc_common.h.

unsigned int head_processed

Definition at line 582 of file s5p_mfc_common.h.

int img_height

Definition at line 571 of file s5p_mfc_common.h.

int img_width

Definition at line 570 of file s5p_mfc_common.h.

int inst_no

Definition at line 567 of file s5p_mfc_common.h.

int int_cond

Definition at line 548 of file s5p_mfc_common.h.

unsigned int int_err

Definition at line 550 of file s5p_mfc_common.h.

Definition at line 549 of file s5p_mfc_common.h.

int loop_filter_mpeg4

Definition at line 608 of file s5p_mfc_common.h.

size_t luma_dpb_size

Definition at line 625 of file s5p_mfc_common.h.

int luma_size

Definition at line 575 of file s5p_mfc_common.h.

unsigned int mb

Definition at line 637 of file s5p_mfc_common.h.

size_t me_buffer_size

Definition at line 627 of file s5p_mfc_common.h.

int mv_count

Definition at line 616 of file s5p_mfc_common.h.

int mv_size

Definition at line 577 of file s5p_mfc_common.h.

int num

Definition at line 546 of file s5p_mfc_common.h.

enum s5p_mfc_queue_state output_state

Definition at line 594 of file s5p_mfc_common.h.

Definition at line 551 of file s5p_mfc_common.h.

struct list_head ref_queue

Definition at line 632 of file s5p_mfc_common.h.

unsigned int ref_queue_cnt

Definition at line 633 of file s5p_mfc_common.h.

size_t scratch_buf_size

Definition at line 646 of file s5p_mfc_common.h.

int sei_fp_parse

Definition at line 612 of file s5p_mfc_common.h.

unsigned int sequence

Definition at line 601 of file s5p_mfc_common.h.

Definition at line 620 of file s5p_mfc_common.h.

int slice_interface

Definition at line 607 of file s5p_mfc_common.h.

Definition at line 635 of file s5p_mfc_common.h.

union { ... } slice_size

Definition at line 596 of file s5p_mfc_common.h.

int src_bufs_cnt

Definition at line 597 of file s5p_mfc_common.h.

struct s5p_mfc_fmt* src_fmt

Definition at line 553 of file s5p_mfc_common.h.

struct list_head src_queue

Definition at line 559 of file s5p_mfc_common.h.

unsigned int src_queue_cnt

Definition at line 562 of file s5p_mfc_common.h.

Definition at line 566 of file s5p_mfc_common.h.

size_t tmv_buffer_size

Definition at line 628 of file s5p_mfc_common.h.

int total_dpb_count

Definition at line 615 of file s5p_mfc_common.h.

Definition at line 565 of file s5p_mfc_common.h.

struct vb2_queue vq_dst

Definition at line 557 of file s5p_mfc_common.h.

struct vb2_queue vq_src

Definition at line 556 of file s5p_mfc_common.h.


The documentation for this struct was generated from the following file: