Lines Matching defs:ok
248 int ok = 1;
250 ok = VP8EncDeleteAlpha(enc);
254 return ok;
312 return 1; // ok
317 int ok = 0;
320 WebPEncodingSetError(pic, VP8_ENC_OK); // all ok so far
367 ok = VP8EncAnalyze(enc);
370 ok = ok && VP8EncStartAlpha(enc); // possibly done in parallel
372 ok = ok && VP8EncLoop(enc);
374 ok = ok && VP8EncTokenLoop(enc);
376 ok = ok && VP8EncFinishAlpha(enc);
378 ok = ok && VP8EncWrite(enc);
380 if (!ok) {
383 ok &= DeleteVP8Encoder(enc); // must always be called, even if !ok
394 ok = VP8LEncodeImage(config, pic); // Sets pic->error in case of problem.
397 return ok;