Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Seungha Yang
gst-plugins-base
Commits
d5ee11fb
Commit
d5ee11fb
authored
Mar 09, 2020
by
Sebastian Dröge
🍵
Committed by
GStreamer Merge Bot
Mar 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compositor: Create a square checkerboard for UYVY/YUY2/YVYU too
Previously the "squares" were twice as wide. Fixes
#732
parent
0227d0ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gst/compositor/blend.c
gst/compositor/blend.c
+2
-2
No files found.
gst/compositor/blend.c
View file @
d5ee11fb
...
...
@@ -976,8 +976,8 @@ fill_checker_##name##_c (GstVideoFrame * frame) \
\
for (i = 0; i < height; i++) { \
for (j = 0; j < width; j++) { \
dest[Y1] = tab[((i & 0x8) >> 3) + ((
j
& 0x8) >> 3)]; \
dest[Y2] = tab[((i & 0x8) >> 3) + ((
j
& 0x8) >> 3)]; \
dest[Y1] = tab[((i & 0x8) >> 3) + ((
(2 * j + 0)
& 0x8) >> 3)]; \
dest[Y2] = tab[((i & 0x8) >> 3) + ((
(2 * j + 1)
& 0x8) >> 3)]; \
dest[U] = 128; \
dest[V] = 128; \
dest += 4; \
...
...
Write
Preview
Markdown
is supported
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