User guide
Table Of Contents
- Contents
- 1. About This MegaCore Function Suite
- Release Information
- Device Family Support
- Features
- Design Example
- Performance and Resource Utilization
- 2D FIR Filter
- 2D Median Filter
- Alpha Blending Mixer
- Avalon-ST Video Monitor
- Chroma Resampler
- Clipper
- Clocked Video Input
- Clocked Video Output
- Color Plane Sequencer
- Color Space Converter
- Control Synchronizer
- Deinterlacer
- Deinterlacer II
- Frame Buffer
- Gamma Corrector
- Interlacer
- Scaler
- Scaler II
- Switch
- Test Pattern Generator
- Trace System
- 2. Getting Started with Altera IP Cores
- 3. Interfaces
- Interface Types
- Avalon-ST Video Protocol
- Avalon-MM Slave Interfaces
- Avalon-MM Master Interfaces
- Buffering of Non-Image Data Packets in Memory
- 4. 2D FIR Filter MegaCore Function
- 5. 2D Median Filter MegaCore Function
- 6. Alpha Blending MegaCore Function
- 7. Avalon-ST Video Monitor MegaCore Function
- 8. Chroma Resampler MegaCore Function
- 9. Clipper MegaCore Function
- 10. Clocked Video Input MegaCore Function
- 11. Clocked Video Output MegaCore Function
- 12. Color Plane Sequencer MegaCore Function
- 13. Color Space Converter MegaCore Function
- 14. Control Synchronizer MegaCore Function
- 15. Deinterlacer MegaCore Function
- Core Overview
- Functional Description
- Parameter Settings
- Signals
- Control Register Maps
- 16. Deinterlacer II MegaCore Function
- 17. Frame Reader MegaCore Function
- 18. Frame Buffer MegaCore Function
- 19. Gamma Corrector MegaCore Function
- 20. Interlacer MegaCore Function
- 21. Scaler MegaCore Function
- 22. Scaler II MegaCore Function
- 23. Switch MegaCore Function
- 24. Test Pattern Generator MegaCore Function
- 25. Trace System MegaCore Function
- A. Avalon-ST Video Verification IP Suite
- B. Choosing the Correct Deinterlacer
- Additional Information

18–4 Chapter 18: Frame Buffer MegaCore Function
Functional Description
Video and Image Processing Suite January 2013 Altera Corporation
User Guide
Avalon-ST Video Protocol Parameters
The Frame Buffer MegaCore function can process streams of pixel data of the type
listed in Table 18–1.
Stall Behavior and Error Recovery
The Frame Buffer MegaCore function may stall frequently and read or write less than
once per clock cycle during control packet processing. During data processing at the
input or at the output, the stall behavior of the Frame Buffer is largely decided by
contention on the memory bus.
Error Recovery
The Frame Buffer MegaCore function does not rely on the content of the control
packets to determine the size of the image data packets. There is consequently no
error condition such as early or late
endofpacket
signal and any mismatch between
the size of the image data packet and the content of the control packet is propagated
unchanged to the next MegaCore function. Nevertheless, the Frame Buffer does not
write outside the memory allocated for each non-image and image Avalon-ST Video
packet, and packets are truncated if they are larger than the maximum size defined at
compile time.
1 For more information about the stall behavior and error recovery, refer to “Stall
Behavior and Error Recovery” on page 1–3.
Latency
Table 18–2 lists the approximate latency from the video data input to the video data
output for typical usage modes of the MegaCore function. You can use this table to
predict the approximate latency between the input and the output of your video
processing pipeline.
The latency is described using one or more of the following measures:
■ the number of progressive frames
■ the number of interlaced fields
■ the number of lines when less than a field of latency
■ a small number of cycles O (cycles)
Table 18–1. Frame Buffer Avalon-ST Video Protocol Parameters
Parameter Value
Frame Width Run time controlled. Maximum value selected in the parameter editor.
Frame Height Run time controlled. Maximum value selected in the parameter editor.
Interlaced /
Progressive
Progressive, although interlaced data can be accepted in some cases.
Bits per Color Sample Number of bits per color sample selected in the parameter editor.
Color Pattern
Any combination of one, two, three, or four channels in each of sequence or
parallel. For example, for three channels in sequence where , , and can be any
color plane:
γβα