MPEG-2 Video Encoder, Blackfin

The ADI MPEG-2 Video Encoder library for the Blackfin processor implements an MPEG-2 video encoder, which is compliant with the INTERNATIONAL STANDARD ISO/IEC 13818-2: 2000(E), Information technology — Generic coding of moving pictures and associated audio information: Video, Second edition 2000-12-15.

Manufactured by:


  • Profiles: Simple Profile and Main Profile
  • Frame types supported: I & P
  • Input Resolution: Up to 5 Mega Pixel, D1 inclusive
  • Entropy Encoder: VLC
  • Motion vector resolution: Half pixel
  • Pre-Processing: A simple 2:1 and 4:1 downscaling and de-interlacing for YUV420 and YUV422 format Pre-processing API to enable applications to plug-in own pre-processing blocks into encoder
  • Scene Change Detection: Supported
  • Scalability: Scalable Search Engine for MIPS and Quality trade-off
  • Number of Reference Frames: 1
  • Cache: Different configurations; No Cache and All Cache
  • ROI : Region of Interest Encoding Support for YUV420 and YUV422 input formats
  • ADSP-BF561 core loading: Symmetrical or Asymmetrical loading across core-A and core-B
  • Macroblock level quantization: Enabled for better rate control
  • Bitrate control: VBR and CBR. Flexibility of switching between VBR and CBR during encoding
  • Both NTSC & PAL format supported
  • Max Output Resolution: ADSP-BF561: Up to D1 at 30fps; 5MPixel at lower fps ADSP-BF533: up to 1/2 D1 at 30fps; D1 at 15fps; 5Mpixel at lower fps
  • Conformance Standard: INTERNATIONAL STANDARD ISO/IEC13818-2:2000, Second edition 2000-12-15
  • Target Processor: ADSP-BF533, ADSP-BF561, ADSP-BF527, ADSP-BF548, code compatible across the Blackfin processor family ADSP-BF5xx
  • Release format: Object code module with C source wrapper
  • Input format: ITU-R BT.656 format or YUV420 planar format or YUV422 progressive format from CMOS sensors

Product Details

This implementation of the MPEG-2 Video Encoder has been highly optimized to run on the Analog Devices ADSP-BF5xx Blackfin processor. It is a self-contained software module that is fully compliant with ISO/13818-2, Information technology - Generic coding of moving pictures and associated audio information: Video, Second edition 2000-12-15, specification.

The code has been implemented using Instruction and Data cache. To optimize video encoding performance, internal SRAMs for Program and Data memory and Memory DMA are also utilized effectively.

Downloads And Related Software

X +


X +

Each module supports the Analog Devices, Inc. (ADI) Blackfin or SHARC Processor family and is a licensed product that is available in object code format. Recipients must sign or accept a license agreement with ADI prior to being shipped or downloading the modules identified in the license agreement.

Performance Metrics

X +
MIPS/Memory summary table: Main Profile:
memory (KB) 
Buffer (MB) 
Buffer (MB) 
Buffer (MB) 
Moving Average Peak
 80 (830)
 86 (880)

  • MIPS measured using a bit rate of 6.0Mbps, 30 fps, 720x480 (NTSC D1) image size, ITU-R BT.656 input, NTSC format, optimal memory layout, ADSP-
  • BF561 rev 0.5 processor, for Main Profile.
  • Measurements done with CAS1 =3 for SDRAM, CCLK2 =600, SCLK3 =120 for ADSP-BF561.
  • Data cache and instruction cache are enabled. The cache is set in "write back" and "small cache" (DCBS=0) mode.
  • Memory DMA is used with 32 bit DMA.
  • "Data RAM" for one instance includes Stack, Scratch, Encoder Instance Memory, for D1 PAL resolution.
  • Frame Buffer for one instance of encoder and D1 PAL resolution.
  • Minimum Input and Output Single Buffers, for ITU-R BT656 D1 PAL input.
  • 1 MB = 1024 KB; 1 KB = 1024 Bytes.
  • NOTE: In deriving the "Moving Avg Peak" value, an 8 consecutive frame sliding window was used.
  • An average cycle count was measured for each window of frames, and the worst case average cycle from all the sliding window measurements was determined to be the "Moving Avg Peak" value.

CAS1 – Column Address Strobe Latency. Please refer BF5xx Hardware Reference Manual for more details on CAS.
CCLK2 – Core clock
SCLK3 – System Clock

Systems Requirements

  • Windows XP Professional SP3 (32-bit only).
  • Windows Vista Business/Enterprise/Ultimate SP2 (32-bit only). It is recommended to install the software in a non-UAC-protected location.
  • Windows 7 Professional/Enterprise/Ultimate (32 and 64-bit). It is recommended to install the software in a non-UAC-protected location.
  • Minimum of 2 GHz single core processor, 3.3 GHz dual core is recommended.
  • Minimum of 1 GB memory (RAM), 4 GB is recommended.
  • Minimum of 2 GB hard disk (HDD) space is required.

Related Hardware



Extender Boards