Lines Matching defs:io
27 int VP8InitFrame(VP8Decoder* const dec, VP8Io* io) {
93 // prepare 'io'
94 io->width = dec->pic_hdr_.width_;
95 io->height = dec->pic_hdr_.height_;
96 io->mb_y = 0;
97 io->y = dec->cache_y_;
98 io->u = dec->cache_u_;
99 io->v = dec->cache_v_;
100 io->y_stride = dec->cache_y_stride_;
101 io->uv_stride = dec->cache_uv_stride_;
102 io->fancy_upscaling = 0; // default
214 int VP8FinishRow(VP8Decoder* const dec, VP8Io* io) {
229 if (io->put) {
234 io->y = ydst;
235 io->u = udst;
236 io->v = vdst;
238 io->y = dec->cache_y_;
239 io->u = dec->cache_u_;
240 io->v = dec->cache_v_;
245 if (y_end > io->height) {
246 y_end = io->height;
248 io->mb_y = y_start;
249 io->mb_h = y_end - y_start;
250 if (!io->put(io)) {