Lines Matching refs:bw
51 VP8LBitWriter* const bw, in EncodeLossless() argument
82 ok = (VP8LEncodeStream(&config, &picture, bw) == VP8_ENC_OK); in EncodeLossless()
84 ok = ok && !bw->error_; in EncodeLossless()
86 VP8LBitWriterWipeOut(bw); in EncodeLossless()
97 VP8BitWriter bw; member
159 VP8BitWriterInit(&result->bw, ALPHA_HEADER_LEN + output_size); in EncodeAlphaInternal()
160 ok = ok && VP8BitWriterAppend(&result->bw, &header, ALPHA_HEADER_LEN); in EncodeAlphaInternal()
161 ok = ok && VP8BitWriterAppend(&result->bw, output, output_size); in EncodeAlphaInternal()
166 ok = ok && !result->bw.error_; in EncodeAlphaInternal()
167 result->score = VP8BitWriterSize(&result->bw); in EncodeAlphaInternal()
225 VP8BitWriterInit(&score->bw, 0); in InitFilterTrial()
251 VP8BitWriterWipeOut(&best.bw); in ApplyFiltersAndEncode()
254 VP8BitWriterWipeOut(&trial.bw); in ApplyFiltersAndEncode()
274 *output_size = VP8BitWriterSize(&best.bw); in ApplyFiltersAndEncode()
275 *output = VP8BitWriterBuf(&best.bw); in ApplyFiltersAndEncode()
277 VP8BitWriterWipeOut(&best.bw); in ApplyFiltersAndEncode()