Product Details

The Blackfin 2D Graphics Library (BF2DGL-OCV) is a collection of Graphics primitives to help solve the Graphics rendering problem of ADI-Blackfin users. These primitives have been optimized to run on the Analog Devices’ Blackfin BF-5xx processor family. The primitives are based on OpenCV APIs. A demonstration code is also provided to demonstrate the usage of the various graphics rendering primitives on Blackfin.

Features

  • Cache: I Cache & D Cache in Release and Debug mode
  • Memory DMA: One channel Memory DMA is used
  • Both ITU-R BT.656 (for TV) and RGB888/BGR888/RGB565 (for LCD) format supported
  • Line: Horizontal, Vertical and of any slope
  • Poly line: Supported
  • Polygon: Supported
  • Rectangle: Draw and Fill
  • Chroma Key: Supported
  • Text Rendering: Supported
  • Alpha Blending of overlays: Supported
  • Per Pixel Alpha Blending: Supported
  • Dirty Sync Operation: Supported
  • YUV420 input format support: NOT Supported
  • Circle: Draw and Fill
  • Ellipse: Draw and Fill
  • Circular Arc: Supported
  • Elliptical Arc: Supported
  • Conformance Standard: None
  • Target Processor: This software module supports ADSP-BF52x, ADSP-BF53x, ADSP-BF54x, ADSP-BF561 processor families on VisualDSP++ 5.0 U7. Demonstrations are available for ADSP-BF527, ADSP-BF533, ADSP-BF548 and ADSP-BF561 EZ-KIT Lites.
  • Note that there is no demonstration code for ADSP-BF535/ADSP-BF537. The library should work on all Blackfin processors, but it has been tested on ADSP-BF527, ADSP-BF533, ADSP-BF548 and ADSP-BF561.
  • Input format: ARGB-8888 format, alpha (A) represented in only 7 bits Most significant bit is sign bit and it is always 0.

System 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

Performance Metrics

Graphics Primitive
and
Operation
Memory Scheme 1
(Optimal)
Memory Scheme 2
ADSP-BF561 ADSP-BF548 ADSP-BF533 ADSP-BF527 ADSP-BF561 ADSP-BF548 ADSP-BF533 ADSP-BF527
Horizontal Line Draw 46 33 40 45 150 108 123 125
Vertical Line Draw 112 63 114 67 316 209 262 148
Slant Line Draw 122 93 122 105 354 245 276 272
Poly line 174
(t = 1)
299
(t > 1)
142
(t = 1)
282
(t > 1)
168
(t = 1)
300
(t > 1)
159
(t = 1)
344
(t > 1)
535
(t = 1)
1062
(t > 1)
404
(t = 1)
835
(t > 1)
440
(t = 1)
880
(t > 1)
437
(t = 1)
865
(t > 1)
Polygon 83 78 94 86 306 227 255 250
Polygon with Hole 328 295 331 332 1005 785 845 814
Rectangle Draw 37 24 38 31 43 28 41 37
Rectangle Fill 12 12 13 15 15 15 16 22
Circle Draw 82
(t = 1)
55
(t > 1)
52
(t = 1)
31
(t > 1)
88
(t = 1)
56
(t > 1)
99
(t = 1)
55
(t > 1)
194
(t = 1)
77
(t > 1)
145
(t = 1)
48
(t > 1)
158
(t = 1)
71
(t > 1)
152
(t = 1)
67
(t > 1)
Circle Fill 47 23 53 33 63 34 63 43
Circular Arc 270
(t = 1)
262
(t = 2)
136
(t = 4)
357
(t = 1)
321
(t = 2)
166
(t = 4)
280
(t = 1)
268
(t = 2)
143
(t = 4)
514
(t = 1)
435
(t = 2)
226
(t = 4)
1700
(t = 1)
2076
(t = 2)
1059
(t = 4)
1904
(t = 1)
2009
(t = 2)
1039
(t = 4)
1388
(t = 1)
1636
(t = 2)
839
(t = 4)
1490
(t = 1)
1628
(t = 2)
833
(t = 4)
Ellipse Draw 85
(t = 1)
53
(t > 1)
55
(t = 1)
31
(t > 1)
92
(t = 1)
55
(t > 1)
104
(t = 1)
53
(t > 1)
237
(t = 1)
79
(t > 1)
175
(t = 1)
50
(t > 1)
190
(t = 1)
72
(t > 1)
186
(t = 1)
68
(t > 1)
Ellipse Fill 55 25 60 40 88 53 82 65
Elliptical Arc 430
(t = 1)
355
(t = 2)
183
(t = 4)
271
(t = 1)
276
(t = 2)
140
(t = 4)
446
(t = 1)
352
(t = 2)
186
(t = 4)
800
(t = 1)
645
(t = 2)
326
(t = 4)
2817
(t = 1)
2437
(t = 2)
1257
(t = 4)
1554
(t = 1)
1547
(t = 2)
785
(t = 4)
2298
(t = 1)
2005
(t = 2)
1037
(t = 4)
1963
(t = 1)
1945
(t = 2)
983
(t = 4)
Text 13 11 11 11 22 16 17 17

Notes:

t = thickness of the primitive.

Measurements done with CAS = 3 for SDRAM, CCLK = 513 MHz for BF527, BF533 and BF548, 600 MHz for BF561 and SCLK = 128 MHz for BF527, BF533 and BF548, 100 MHz for BF561.

In Memory scheme 1, Instruction and Data cache is enabled. The cache is set in "write back" and "large cache" (DCBS=1) mode. In Memory scheme 2, cache is disabled and some codes and data are in on-chip L1 memory while rest is in off-chip L3 memory.

One channel Memory DMA is used.

Performance data are dependent on the dimensions of the primitives.

Code memory (KiB) Data Memory(KiB) Overlay Buffer Frame Buffer
58 474 Depends on display size. Depends on display size.

  • 1 KiB = 1024 Bytes.
  • Each overlay buffer will be of size DISPLAY_WIDTH X DISPLAY_HEIGHT X 4.
  • Each Display buffer will be of size DISPLAY_WIDTH X DISPLAY_HEIGHT X 3 for LCD display and CCIR_WIDTH X CCIR_HEIGHT for TV display.
  • DISPLAY_WIDTH = 480 for ADSP-BF548, 320 for ADSP-BF527 and 720 for ADSP-BF533/61
  • DISPLAY_HEIGHT = 272 for ADSP-BF548, 240 for ADSP-BF527 and 576 for ADSP-BF533/61
  • CCIR_WIDTH = 1728 for ITU-R BT.656.
  • CCIR_HEIGHT = 625 for ITU-R BT.656.
  • BF527, BF533, BF54x and BF561 supported.

EngineerZone Support Community: Latest Software Modules, Starter Kits and Software Development Kits

Availability and Licensing

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.

Send Feedback X
content here.
content here.

Send Feedback

Close