Skip to content
GitLab
Menu
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
dd9dc0e9
Commit
dd9dc0e9
authored
May 09, 2013
by
John Koleszar
Committed by
Gerrit Code Review
May 09, 2013
Browse files
Merge "Change test image format to VPX_IMG_FMT_I420" into experimental
parents
eab6a421
9e327dbb
Changes
2
Hide whitespace changes
Inline
Side-by-side
test/i420_video_source.h
View file @
dd9dc0e9
...
...
@@ -83,7 +83,7 @@ class I420VideoSource : public VideoSource {
void
SetSize
(
unsigned
int
width
,
unsigned
int
height
)
{
if
(
width
!=
width_
||
height
!=
height_
)
{
vpx_img_free
(
img_
);
img_
=
vpx_img_alloc
(
NULL
,
VPX_IMG_FMT_
VPX
I420
,
width
,
height
,
1
);
img_
=
vpx_img_alloc
(
NULL
,
VPX_IMG_FMT_I420
,
width
,
height
,
1
);
ASSERT_TRUE
(
img_
!=
NULL
);
width_
=
width
;
height_
=
height
;
...
...
test/video_source.h
View file @
dd9dc0e9
...
...
@@ -103,7 +103,7 @@ class DummyVideoSource : public VideoSource {
if
(
width
!=
width_
||
height
!=
height_
)
{
vpx_img_free
(
img_
);
raw_sz_
=
((
width
+
31
)
&~
31
)
*
height
*
3
/
2
;
img_
=
vpx_img_alloc
(
NULL
,
VPX_IMG_FMT_
VPX
I420
,
width
,
height
,
32
);
img_
=
vpx_img_alloc
(
NULL
,
VPX_IMG_FMT_I420
,
width
,
height
,
32
);
width_
=
width
;
height_
=
height
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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