Skip to content

V4L2 H264 framing fixes #3614

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 15, 2020
Merged

Conversation

6by9
Copy link
Contributor

@6by9 6by9 commented May 15, 2020

V4L2 wants the header bytes in the same buffer as the first frame, so use the new firmware change to make that so.

6by9 added 4 commits May 15, 2020 13:50
Adds in a couple of new MMAL parameter defines.

Signed-off-by: Dave Stevenson <[email protected]>
V4L2 wishes to have the codec header bytes in the same buffer as the
first encoded frame, so it does become 1-in 1-out for encoding.
The firmware now has an option to do this, so enable it.

Signed-off-by: Dave Stevenson <[email protected]>
The firmware by default is quite happy to fragment encoded
frames as the original MMAL and IL APIs support this.
V4L2 doesn't, so we need to enable the firmware option to avoid this.

Signed-off-by: Dave Stevenson <[email protected]>
V4L2 wishes to have the codec header bytes in the same buffer as the
first encoded frame, so it does become 1-in 1-out for encoding.
The firmware now has an option to do this, so enable it.

Signed-off-by: Dave Stevenson <[email protected]>
@pelwell pelwell merged commit 306ad8b into raspberrypi:rpi-5.4.y May 15, 2020
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 20, 2020
See: raspberrypi/linux#3626

kernel: VC4 DRM/KMS - use correct dma-ranges
See: raspberrypi/linux#3623

kernel: media: bcm2835-unicam: Retain packing information on G_FMT
See: raspberrypi/linux#3622

kernel: Switch to snd_soc_dai_set_bclk_ratio
See: raspberrypi/linux#3620

kernel: V4L2 H264 framing fixes
See: raspberrypi/linux#3614

kernel: drm/vc4: Fix VIC usage with Broadcast RGB
See: raspberrypi/linux#3611

kernel: media: bcm2835-unicam: Always service interrupts
See: raspberrypi/linux#3608

kernel: overlays: Fix audio parameter of vc4-kms-v3
See: raspberrypi/linux#2489

kernel: configs: Restore missing NF_TABLES settings
See: raspberrypi/linux#3615

kernel: sc16is7xx: Fix for hardware flow control
See: raspberrypi/linux#2542

kernel: Use the upstream cpufreq driver on non-BCM2835 Pis
See: raspberrypi/linux#3604

kernel: Backport of udmabuf and dma-heaps
See: raspberrypi/linux#3571

kernel: imx477 v4l2 driver
See: raspberrypi/linux#3605

firmware: isp: fix ISP component to return non-zero focus FoMs

firmware: Fix for IMX477 focal length, f_number and aperture

firmware: Update firmware for USB MSD boot

firmware: platform: Fix overflow on high arm overclocks

firmware: video_encode: Add option to include header bytes with frame

firmware: DSI display: Close I2C handle if the display doesn't probe

firmware: mmal/vc: Add mapping for OMX_IndexConfigBufferStall / MMAL_PARAMETER_VIDEO_STALL_THRESHOLD
See: https://www.raspberrypi.org/forums/viewtopic.php?f=70&t=273123&p=1655481

firmware: hdmi: Request an I2C interrupt for EDID reading

firmware: i2c: Move using_interrupt flag into periph_setup
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request May 20, 2020
See: raspberrypi/linux#3626

kernel: VC4 DRM/KMS - use correct dma-ranges
See: raspberrypi/linux#3623

kernel: media: bcm2835-unicam: Retain packing information on G_FMT
See: raspberrypi/linux#3622

kernel: Switch to snd_soc_dai_set_bclk_ratio
See: raspberrypi/linux#3620

kernel: V4L2 H264 framing fixes
See: raspberrypi/linux#3614

kernel: drm/vc4: Fix VIC usage with Broadcast RGB
See: raspberrypi/linux#3611

kernel: media: bcm2835-unicam: Always service interrupts
See: raspberrypi/linux#3608

kernel: overlays: Fix audio parameter of vc4-kms-v3
See: raspberrypi/linux#2489

kernel: configs: Restore missing NF_TABLES settings
See: raspberrypi/linux#3615

kernel: sc16is7xx: Fix for hardware flow control
See: raspberrypi/linux#2542

kernel: Use the upstream cpufreq driver on non-BCM2835 Pis
See: raspberrypi/linux#3604

kernel: Backport of udmabuf and dma-heaps
See: raspberrypi/linux#3571

kernel: imx477 v4l2 driver
See: raspberrypi/linux#3605

firmware: isp: fix ISP component to return non-zero focus FoMs

firmware: Fix for IMX477 focal length, f_number and aperture

firmware: Update firmware for USB MSD boot

firmware: platform: Fix overflow on high arm overclocks

firmware: video_encode: Add option to include header bytes with frame

firmware: DSI display: Close I2C handle if the display doesn't probe

firmware: mmal/vc: Add mapping for OMX_IndexConfigBufferStall / MMAL_PARAMETER_VIDEO_STALL_THRESHOLD
See: https://www.raspberrypi.org/forums/viewtopic.php?f=70&t=273123&p=1655481

firmware: hdmi: Request an I2C interrupt for EDID reading

firmware: i2c: Move using_interrupt flag into periph_setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants