This is an old revision of the document!
Picture in Picture overlay on up to 4k30
Picture in picture on home AVR, TVs and pro audio still remains a popular trend but its availability is possibly overlooked by customer and maybe omitted by supplier due to higher hardware costs in a market driven by low cost devise for home entertainment. Nevertheless, companies have been looking into low-mid cost hardware ICs that can be integrated in their system to provide the dynamics on video overlay, picture in picture and picture out of picture as well. The ADV8005 and ADV8003 offer the capability for picture in picture as well as picture out of picture for various products ranging in applications in consumer market to professional video market. The ADV8005 offers picture in picture on HDMI and on video resolution up to 4k2k30. The pip processor uses DDR2 external memory. Note that the ADV8003 does not support 4k30 downscaling
One common application is a preview window of another input video while still watching the selected channel or also while browsing the input list from a menu. The ADV8005 offers all these possibilities as it can overlay an external video over main video, and also has an internal OSD engine to display custom menu with embedded external video.
If you already have an SOC generating your OSD, the ADV8005 can display your menu either overlaid on main video, or in full screen, or even blended with the internal OSD engine. It is also possible to blend with alpha regions in 2 ways. a. By suing the OSD blend, an transparent color can be used for color keying where any pixel set to this color from the external OSD input will appear as transparent at the output. This is the easiest case of using color keying where edges are transparent or not with no per pixel alpha smoothing around edges. b. The second option which requires a bit more hardware is to send the external SOD alpha channel through TTL pins which basically is like a color channel of your video but it is routed to the OSD blend block in order to apply fine alpha blend one pixel at a time. This would allow to create per pixel alpha blending of the external OSD menu with either main video or internal OSD or even both.
The OSD engine is able to overlay a video of maximum resolution of 1080p onto up to 4k30. It is possible to overlay internal OSD and external OSD onto 4k resolution by upscaling 1080p OSD video to 4k resolution.
The ADV8005 can downscale 1 4k30 video input to 1080p by using the HPS and SVSP.
POP uses a feature of the PVSP called album mode which can downscale the input video within the input resolution video. Only the PSVSP can do album mode. Usually only main video needs POP while all other videos will be pip within the main video resolution.
For bandwidth calculation, a reference is provided for each common resolution at 60 Hz and width 60Hz to 24Hz frame rate conversion and for both 24 bits and 32 bits. The OSD engine max pixel size is 32bits for ARGB8888 which is RGB with alpha channel. Extnerla OSd with extenrla alpha is also 32 bits, without external alpha it is 24 bits.
The bandwidth is from input video resolution and frame rate. Note tht RNR, interlaced input or frame rate conversion would increase the bandwidth usage if used.
Bandwidth is from output video resolution and frame rate. For downscaling, only 1080p to 720p can be done in bypass mode without and DDR2 memory. All other formats will need DDR2 memory.
HPS does not use any bandwidth.
The OSD bandwidth varies as per each region size which is better calculated using Blimp’s emulator. Bandwidth maximum is calculated per video line. Of course overlapping regions can double the bandwidth for a video line.
If an external OSD region is received directly from external OSD TTL input, then it will use the bandwidth of its input video resolution and frame rate.
Video resolution | Video bits | Bandwidth (gbps) For video frame rate = 60Hz |
---|---|---|
1080p | 24 bits | 5.561828613 |
32 bits | 7.415771484 | |
720p | 24 bits | 2.471923828 |
32 bits | 3.295898438 | |
480p | 24 bits | 0.926971436 |
32 bits | 1.235961914 | |
240p | 24 bits | 0.463485718 |
32 bits | 0.617980957 |
• For 16 bits input video, simply divide 32bits value by 2 • If frame rate different from 60, multiply by frame rate and divide by 60
DDR2 memory | Bandwidth (gbps) ( frequency = 250MHz, Data bits width = 16, Efficiency = 70%) |
---|---|
Dual | 14.90116119 gbps |
Single | 7.450580597 gbps |
When the bandwidth requirement and size for the ADV8005 are below 7.45 gpbs, only one DDR2 chip can be used. This might be specially useful to reduce hardware and costs for systems requirement multiple aDV8005 or ADV8003.
Inputs | |||||
---|---|---|---|---|---|
1080p Main | 1080p Main | 4k30 Main | 4k30 Main | ||
1080p PIP | 4k30 PIP | 1080p PIP | 4k30 PIP | ||
Outputs | 1080p | Supported | Supported | Supported | Requires 2 ADV8005 |
4k30 | Supported | Supported | Supported | Supported |
This table assumes PVSP is only used for upscaling with no RNR or interlaced conversion. If any of these features are required, some configuration will need 2 ADV8005 due to bandwidth exceeding.
In the only case above that requires 2 ADV8005, because both inputs need to be downscaled to 1080p, it would need 2 ADV8005. However, note that the ADV8005 doing only downscaling from 4k30 to 1080p would be able to have only one DDR2 memory chip.
OSD: On Screen Display TTL: Parallel video bus which can be fed using ADV7842 or ADV7619 PIP: Picture in picture POP: Picture out of picture Gbps: gigabits per second