Lines Matching defs:mpeg2enc_context
99 struct mpeg2enc_context { struct
101 int rate_control_mode;
102 int fps;
103 int mode; /* 0:I, 1:I/P, 2:I/P/B */
104 VAProfile profile;
105 int level;
106 int width;
107 int height;
108 int frame_size;
109 int num_pictures;
110 int qp;
111 FILE *ifp;
112 FILE *ofp;
113 unsigned char *frame_data_buffer;
114 int intra_period;
115 int ip_period;
116 int bit_rate; /* in kbps */
117 VAEncPictureType next_type;
118 int next_display_order;
119 int next_bframes;
120 int new_sequence;
121 int new_gop_header;
122 int gop_header_in_display_order;
125 VADisplay va_dpy;
126 VAEncSequenceParameterBufferMPEG2 seq_param;
127 VAEncPictureParameterBufferMPEG2 pic_param;
128 VAEncSliceParameterBufferMPEG2 slice_param[MAX_SLICES];
129 VAContextID context_id;
130 VAConfigID config_id;
131 VABufferID seq_param_buf_id; /* Sequence level parameter */
132 VABufferID pic_param_buf_id; /* Picture level parameter */
133 VABufferID slice_param_buf_id[MAX_SLICES]; /* Slice level parameter, multil slices */
134 VABufferID codedbuf_buf_id; /* Output buffer, compressed data */
135 VABufferID packed_seq_header_param_buf_id;
136 VABufferID packed_seq_buf_id;
137 VABufferID packed_pic_header_param_buf_id;
138 VABufferID packed_pic_buf_id;
139 int num_slice_groups;
140 int codedbuf_i_size;
141 int codedbuf_pb_size;
144 pthread_t upload_thread_id;
145 int upload_thread_value;
146 int current_input_surface;
147 int current_upload_surface;