Home | History | Annotate | Download | only in mux

Lines Matching refs:candidate

777 // Struct representing a candidate encoded frame including its metadata.
782 int evaluate_; // True if this candidate should be evaluated.
783 } Candidate;
785 // Generates a candidate encoded frame given a picture and metadata.
790 Candidate* const candidate) {
793 assert(candidate != NULL);
794 memset(candidate, 0, sizeof(*candidate));
797 candidate->rect_ = *rect;
798 candidate->info_.id = WEBP_CHUNK_ANMF;
799 candidate->info_.x_offset = rect->x_offset_;
800 candidate->info_.y_offset = rect->y_offset_;
801 candidate->info_.dispose_method = WEBP_MUX_DISPOSE_NONE; // Set later.
802 candidate->info_.blend_method =
804 candidate->info_.duration = 0; // Set in next call to WebPAnimEncoderAdd().
807 WebPMemoryWriterInit(&candidate->mem_);
815 if (!EncodeFrame(&config, sub_frame, &candidate->mem_)) {
820 candidate->evaluate_ = 1;
824 WebPMemoryWriterClear(&candidate->mem_);
851 WebPAnimEncoder* const enc, Candidate candidates[CANDIDATE_COUNT],
857 Candidate* const candidate_ll =
859 Candidate* const candidate_lossy = is_dispose_none
1006 // Pick the candidate encoded frame with smallest size and release other
1011 Candidate* const candidates, int is_key_frame,
1066 Candidate candidates[CANDIDATE_COUNT];