v4l2test: Solve blurred screen problem in 45 or 60 fps.
1. Fix the error buffer count for v4l2 when using pingpong buffer. 2. Add readable flag for pingpong buffers exchange to avoid overproduction. Signed-off-by: Kevin.xie <kevin.xie@starfivetech.com>
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
#define TEST_VERSION "v0.0.1"
|
||||
#endif
|
||||
|
||||
#define BUFCOUNT 4
|
||||
#define PINGPONG_BUFCOUNT 2 /* For pingpong buffer mapping in drm + mmap mode*/
|
||||
#define BUFCOUNT 4
|
||||
|
||||
#define CLEAR(x) memset (&(x), 0, sizeof (x))
|
||||
#define PCLEAR(x) memset ((x), 0, sizeof (*x))
|
||||
|
||||
Reference in New Issue
Block a user