SlideShare a Scribd company logo
1 of 9
5.13)Video Accelerator
• It is a hardware circuits on a display adapter that speed up fill motion video.
• Primary video accelerator functions are color space conversion, which converts YUV to RGB.
• Hardware scaling is used to enlarge the image to full screen and double buffering which moves
the frames into the frame buffer faster.
Video compression
•MPEG-2 forms the basis for U.S. HDTV
broadcasting.
• This compression uses several component
algorithms together in a feedback loop.
•Discrete cosine transform (DCT) used in
JPEG and MPEG-2.
•DCT used a block of pixels which is
quantized for lossy compression.
•Variable-length coderassign number of
bits required to represent the block.
5.13.1)Block motion Estimation
• MPEG uses motion to encode one frame in
terms of another.
• Block motion estimationsome frames are sent
as modified forms of other frames
• During encoding, the frame is divided into macro
blocks.
• Encoder uses the encoding information to
recreate the lossily-encoded picture, compares it
to the original frame, and generates an error
signal.
• Decoder keep recently decoded frames in
memory so that it can retrieve the pixel values of
macro-blocks.
5.13.2).Concept of Block motion estimation
• To find the best match between regions in the two frames.
• Divide the current frame into 16 x 16 macro blocks.
• For every macro block in the frame, to find the region in the previous frame that most closely
matches the macro block.
• Measure similarity using the following sum-of-differences measure
• M(i,j)  intensity of the macro block at pixel i,j,
• S(i,j)  intensity of the search region
• N size of the macro block in one dimension
• <ox, oy>offset between the macro block and search region
• We choose the macro block position relative to the search area that gives us the smallest
value for this metric.
• The offset at this chosen position describes a vector from the search area center to the
macro block's center that is called the motion vector.
5.13.3)Algorithm and requirements
• C code for a single search, which assumes that the search region does not extend past the
boundary of the frame.
• The arithmetic on each pixel is simple, but we have to process a lot of pixels.
• If MBSIZE is 16 and SEARCHSIZE is 8, and remembering that the search distance in each
• dimension is 8 + 1 + 8, then we must perform
5.13.4)Requirements
5.13.5)Specification
• Specification for the system is relatively straightforward because the algorithm is simple.
• The following classes used to describe basic data types in the system motion vector, macro
block, search area.
5.13.6)Sequence Diagram
• The accelerator provides a behavior compute-
mv() that performs the block motion
estimation algorithm.
• After initiating the behavior, the accelerator
reads the search area and macro block from
the PC, after computing the motion vector, it
returns it to the PC.
5.13.7)Architecture
• The macro block has 16 x16 = 256.
• The search area has (8 + 8 + 1 + 8 + 8)2 =
1,089 pixels.
• FPGA probably will not have enough
memory to hold 1,089 (8-bit )values.
• The machine has two memories, one for
the macro block and another for the search
memories.
• It has 16 processing elements that perform
the difference calculation on a pair of
pixels.
• Comparator sums them up and selects the
best value to find the motion vector.
5.13.8)System testing
• Testing video algorithms requires a large amount of data.
• we are designing only a motion estimation accelerator and not a complete video compressor,
it is probably easiest to use images, not video, for test data.
• use standard video tools to extract a few frames from a digitized video and store them in
JPEG format.
• Open source for JPEG encoders and decoders is available.
• These programs can be modified to read JPEG images and put out pixels in the format
required by your accelerator.

More Related Content

Similar to 5-3.pptx

AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptx
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptxAN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptx
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptx
Keshvan Dhanapal
 
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdf
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdfAN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdf
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdf
Keshvan Dhanapal
 
Multi Processor Architecture for image processing
Multi Processor Architecture for image processingMulti Processor Architecture for image processing
Multi Processor Architecture for image processing
ideas2ignite
 
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2CSmall_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
Morvarid Mohammadian
 
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2CSmall_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
Armin Agharazi
 

Similar to 5-3.pptx (20)

ASIC Implementation for SOBEL Accelerator
ASIC Implementation for SOBEL AcceleratorASIC Implementation for SOBEL Accelerator
ASIC Implementation for SOBEL Accelerator
 
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptx
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptxAN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptx
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1.pptx
 
BIRA recent.pptx
BIRA recent.pptxBIRA recent.pptx
BIRA recent.pptx
 
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdf
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdfAN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdf
AN EFFICIENT MEMORY DESIGN FOR ERROR TOLERANT APPLICATION1 (1).pdf
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
A Review on Image Compression in Parallel using CUDA
A Review on Image Compression in Parallel using CUDAA Review on Image Compression in Parallel using CUDA
A Review on Image Compression in Parallel using CUDA
 
Gpu with cuda architecture
Gpu with cuda architectureGpu with cuda architecture
Gpu with cuda architecture
 
Video Annotation for Visual Tracking via Selection and Refinement_tran.pptx
Video Annotation for Visual Tracking via Selection and Refinement_tran.pptxVideo Annotation for Visual Tracking via Selection and Refinement_tran.pptx
Video Annotation for Visual Tracking via Selection and Refinement_tran.pptx
 
UNIT-4.pdf
UNIT-4.pdfUNIT-4.pdf
UNIT-4.pdf
 
UNIT-4.pdf
UNIT-4.pdfUNIT-4.pdf
UNIT-4.pdf
 
Squashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse MatrixSquashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse Matrix
 
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIXSQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
SQUASHED JPEG IMAGE COMPRESSION VIA SPARSE MATRIX
 
Squashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse MatrixSquashed JPEG Image Compression via Sparse Matrix
Squashed JPEG Image Compression via Sparse Matrix
 
UNIT-4.pptx
UNIT-4.pptxUNIT-4.pptx
UNIT-4.pptx
 
Moving object detection on FPGA
Moving object detection on FPGAMoving object detection on FPGA
Moving object detection on FPGA
 
IEEE 2014 MATLAB IMAGE PROCESSING PROJECTS Compressed domain video retargeting
IEEE 2014 MATLAB IMAGE PROCESSING PROJECTS Compressed domain video retargetingIEEE 2014 MATLAB IMAGE PROCESSING PROJECTS Compressed domain video retargeting
IEEE 2014 MATLAB IMAGE PROCESSING PROJECTS Compressed domain video retargeting
 
Graphics processing unit (GPU)
Graphics processing unit (GPU)Graphics processing unit (GPU)
Graphics processing unit (GPU)
 
Multi Processor Architecture for image processing
Multi Processor Architecture for image processingMulti Processor Architecture for image processing
Multi Processor Architecture for image processing
 
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2CSmall_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
 
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2CSmall_Size_League_-_RoboCup_2016_-_TDP_KN2C
Small_Size_League_-_RoboCup_2016_-_TDP_KN2C
 

Recently uploaded

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
dollysharma2066
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
dharasingh5698
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
Epec Engineered Technologies
 

Recently uploaded (20)

Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced LoadsFEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
FEA Based Level 3 Assessment of Deformed Tanks with Fluid Induced Loads
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoorTop Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
Top Rated Call Girls In chittoor 📱 {7001035870} VIP Escorts chittoor
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...Bhosari ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For ...
Bhosari ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For ...
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

5-3.pptx

  • 1. 5.13)Video Accelerator • It is a hardware circuits on a display adapter that speed up fill motion video. • Primary video accelerator functions are color space conversion, which converts YUV to RGB. • Hardware scaling is used to enlarge the image to full screen and double buffering which moves the frames into the frame buffer faster. Video compression •MPEG-2 forms the basis for U.S. HDTV broadcasting. • This compression uses several component algorithms together in a feedback loop. •Discrete cosine transform (DCT) used in JPEG and MPEG-2. •DCT used a block of pixels which is quantized for lossy compression. •Variable-length coderassign number of bits required to represent the block.
  • 2. 5.13.1)Block motion Estimation • MPEG uses motion to encode one frame in terms of another. • Block motion estimationsome frames are sent as modified forms of other frames • During encoding, the frame is divided into macro blocks. • Encoder uses the encoding information to recreate the lossily-encoded picture, compares it to the original frame, and generates an error signal. • Decoder keep recently decoded frames in memory so that it can retrieve the pixel values of macro-blocks.
  • 3. 5.13.2).Concept of Block motion estimation • To find the best match between regions in the two frames. • Divide the current frame into 16 x 16 macro blocks. • For every macro block in the frame, to find the region in the previous frame that most closely matches the macro block. • Measure similarity using the following sum-of-differences measure • M(i,j)  intensity of the macro block at pixel i,j, • S(i,j)  intensity of the search region • N size of the macro block in one dimension • <ox, oy>offset between the macro block and search region • We choose the macro block position relative to the search area that gives us the smallest value for this metric. • The offset at this chosen position describes a vector from the search area center to the macro block's center that is called the motion vector.
  • 4. 5.13.3)Algorithm and requirements • C code for a single search, which assumes that the search region does not extend past the boundary of the frame. • The arithmetic on each pixel is simple, but we have to process a lot of pixels. • If MBSIZE is 16 and SEARCHSIZE is 8, and remembering that the search distance in each • dimension is 8 + 1 + 8, then we must perform
  • 6. 5.13.5)Specification • Specification for the system is relatively straightforward because the algorithm is simple. • The following classes used to describe basic data types in the system motion vector, macro block, search area.
  • 7. 5.13.6)Sequence Diagram • The accelerator provides a behavior compute- mv() that performs the block motion estimation algorithm. • After initiating the behavior, the accelerator reads the search area and macro block from the PC, after computing the motion vector, it returns it to the PC.
  • 8. 5.13.7)Architecture • The macro block has 16 x16 = 256. • The search area has (8 + 8 + 1 + 8 + 8)2 = 1,089 pixels. • FPGA probably will not have enough memory to hold 1,089 (8-bit )values. • The machine has two memories, one for the macro block and another for the search memories. • It has 16 processing elements that perform the difference calculation on a pair of pixels. • Comparator sums them up and selects the best value to find the motion vector.
  • 9. 5.13.8)System testing • Testing video algorithms requires a large amount of data. • we are designing only a motion estimation accelerator and not a complete video compressor, it is probably easiest to use images, not video, for test data. • use standard video tools to extract a few frames from a digitized video and store them in JPEG format. • Open source for JPEG encoders and decoders is available. • These programs can be modified to read JPEG images and put out pixels in the format required by your accelerator.