This is an old revision of the document!
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 devices 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 offers 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.
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 using 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 link to DDR2 memory through SPI can be used to load video frames for a small preview of video or live streaming. While video frame rate, quality and size will be limited by SPI speed and available DDR2 DMA speed in ADV8005, small lower quality preview window can be displayed.
If using an SOC to generate external video, multiple preview video can be tiled int one video which is sent to the external OSD TTL and the ADV8005 internal OSD can partition each tile into PIP sub-windows at different location. This could achieve even live streaming preview as seen on smart TVs.
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 PVSP 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 that 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 any 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. To get Blimp OSD designer tool, go to Blimp OSD Designer tool for NatureVue™ ADV800x and Advantiv® ADV7625
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|
• 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%)|
When the bandwidth requirement and size for the ADV8005 are below 7.45 gpbs, only one DDR2 chip can be used. This might be especially useful to reduce hardware and costs for systems requirement multiple ADV8005.
|1080p Main||1080p Main||4k30 Main||4k30 Main|
|1080p PIP||4k30 PIP||1080p PIP||4k30 PIP|
|Outputs||1080p||Supported||Supported||Supported||Requires 2 ADV8005|
This table assumes PVSP is only used for upscaling with no RNR or interlaced conversion. If any of these features are required, some configurations 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 need 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