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