Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
20f7332b
Commit
20f7332b
authored
Jun 11, 2010
by
Paul Wilkins
Browse files
Incorrect comment.
(Thanks to Ronald S. Bultje)
parent
8389f196
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/vp8_dx_iface.c
View file @
20f7332b
...
...
@@ -258,12 +258,12 @@ static vpx_codec_err_t vp8_peek_si(const uint8_t *data,
vpx_codec_err_t
res
=
VPX_CODEC_OK
;
{
/*Parse from VP8 compressed data, the implies knowledge of the
*VP8 bitsteam.
* First 3 byte header including version, frame type and an offset
* Next 3 bytes are image sizewith 12 bit each for width and height
/* Parse uncompresssed part of key frame header.
* 3 bytes:- including version, frame type and an offset
* 3 bytes:- sync code (0x9d, 0x01, 0x2a)
* 4 bytes:- including image width and height in the lowest 14 bits
* of each 2-byte value.
*/
si
->
is_kf
=
0
;
if
(
data_sz
>=
10
&&
!
(
data
[
0
]
&
0x01
))
/* I-Frame */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment