Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(829)

Delta Between Two Patch Sets: vp8/decode.go

Issue 79320043: code review 79320043: go.image/vp8, go.image/webp: new packages, copied from (Closed)
Left Patch Set: diff -r 14beb99f9689 https://code.google.com/p/go.image Created 11 years ago
Right Patch Set: diff -r 21b73434ebf0 https://code.google.com/p/go.image Created 11 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | vp8/idct.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2011 The vp8-go Authors. All rights reserved. 1 // Copyright 2011 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // Package vp8 implements a vp8 image and video decoder. 5 // Package vp8 implements a vp8 image and video decoder.
6 // 6 //
7 // The VP8 specification is at: 7 // The VP8 specification is at:
8 // http://datatracker.ietf.org/doc/rfc6386/ 8 // http://datatracker.ietf.org/doc/rfc6386/
9 package vp8 9 package vp8
10 10
11 // This file implements the top-level decoding algorithm. 11 // This file implements the top-level decoding algorithm.
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 if d.fp.unexpectedEOF { 347 if d.fp.unexpectedEOF {
348 return nil, io.ErrUnexpectedEOF 348 return nil, io.ErrUnexpectedEOF
349 } 349 }
350 for i := 0; i < d.nOP; i++ { 350 for i := 0; i < d.nOP; i++ {
351 if d.op[i].unexpectedEOF { 351 if d.op[i].unexpectedEOF {
352 return nil, io.ErrUnexpectedEOF 352 return nil, io.ErrUnexpectedEOF
353 } 353 }
354 } 354 }
355 return d.img, nil 355 return d.img, nil
356 } 356 }
LEFTRIGHT
« no previous file | vp8/idct.go » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b