aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2016-02-07 09:24:29 -0200
committerMauro Carvalho Chehab <[email protected]>2016-03-01 10:36:24 -0300
commit5c915c68763889f0183a1cc61c84bb228b60124a (patch)
treecaf3ac9ee5af08d328460a5e98eea9e48774ece2 /tools/perf/scripts/python/stat-cpi.py
parentb19581a94fb1c49afc0339a65f1ebd0e4ff80dcd (diff)
[media] bttv: Width must be a multiple of 16 when capturing planar formats
On my bttv card "Hauppauge WinTV [card=10]" capturing in YV12 fmt at max size results in a solid green rectangle being captured (all colors 0 in YUV). This turns out to be caused by max-width (924) not being a multiple of 16. We've likely never hit this problem before since normally xawtv / tvtime, etc. will prefer packed pixel formats. But when using a video card which is using xf86-video-modesetting + glamor, only planar XVideo fmts are available, and xawtv will chose a matching capture format to avoid needing to do conversion, triggering the solid green window problem. Cc: [email protected] Signed-off-by: Hans de Goede <[email protected]> Acked-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions