Change frame buffer management

This commit is contained in:
kkitayam
2021-09-25 20:49:04 +09:00
parent d88cc23ca5
commit 0d6496886c
2 changed files with 17 additions and 12 deletions

View File

@@ -128,9 +128,9 @@ static video_probe_and_commit_control_t const def_stm_settings = {
.wCompWindowSize = 1, /* Maybe it is match to GOP size */
.wDelay = 240, /* milliseconds */
.dwMaxVideoFrameSize = 128 * 96 * 12 / 8,
.dwMaxPayloadTransferSize = 256, /* Maybe it is the maximum packet size under this settings */
.dwMaxPayloadTransferSize = ((128 * 96 * 12 / 8 * 10) + 999) / 1000 + 2,
.dwClockFrequency = 27000000, /* same as MPEG-2 system time clock */
.bmFramingInfo = 0,
.bmFramingInfo = 0x3,
.bPreferedVersion = 1,
.bMinVersion = 1,
.bMaxVersion = 1,