Lines Matching defs:VP8Encoder

137 typedef struct VP8Encoder VP8Encoder;  typedef
346 struct VP8Encoder { struct
347 const WebPConfig* config_; // user configuration and parameters
348 WebPPicture* pic_; // input / output picture
351 VP8EncFilterHeader filter_hdr_; // filtering information
352 VP8EncSegmentHeader segment_hdr_; // segment information
354 int profile_; // VP8's profile, deduced from Config.
357 int mb_w_, mb_h_;
358 int preds_w_; // stride of the *preds_ prediction plane (=4*mb_w + 1)
361 int num_parts_;
364 VP8BitWriter bw_; // part0
365 VP8BitWriter parts_[MAX_NUM_PARTITIONS]; // token partitions
366 VP8TBuffer tokens_; // token buffer
368 int percent_; // for progress
371 int has_alpha_;
372 uint8_t* alpha_data_; // non-NULL if transparency is present
373 uint32_t alpha_data_size_;
374 WebPWorker alpha_worker_;
377 VP8SegmentInfo dqm_[NUM_MB_SEGMENTS];
378 int base_quant_; // nominal quantizer value. Only used
380 int alpha_; // global susceptibility (<=> complexity)
381 int uv_alpha_; // U/V quantization susceptibility
383 int dq_y1_dc_;
384 int dq_y2_dc_, dq_y2_ac_;
385 int dq_uv_dc_, dq_uv_ac_;
388 VP8EncProba proba_;
389 uint64_t sse_[4]; // sum of Y/U/V/A squared errors for all macroblocks
390 uint64_t sse_count_; // pixel count for the sse_[] stats
391 int coded_size_;
392 int residual_bytes_[3][4];
393 int block_count_[3];
396 int method_; // 0=fastest, 6=best/slowest.
397 VP8RDLevel rd_opt_level_; // Deduced from method_.
398 int max_i4_header_bits_; // partition #0 safeness factor
399 int mb_header_limit_; // rough limit for header bits per MB
423 void VP8DefaultProbas(VP8Encoder* const enc); argument