Questions tagged [hardware-acceleration]

the use of computer hardware to perform some function faster than is possible in software running on the general-purpose CPU

In computing, hardware acceleration is the use of computer hardware to perform some function faster than is possible in software running on the general-purpose CPU. Examples of hardware acceleration include blitting acceleration functionality in graphics processing units (GPUs) and instructions for complex operations in CPUs.

Normally, processors are sequential, and instructions are executed one by one. Various techniques are used to improve performance; hardware acceleration is one of them. The main difference between hardware and software is concurrency, allowing hardware to be much faster than software. Hardware accelerators are designed for computationally intensive software code. Depending upon granularity, hardware acceleration can vary from a small functional unit to a large functional block (like motion estimation in MPEG-2).

The hardware that performs the acceleration, when in a separate unit from the CPU, is referred to as a hardware accelerator, or often more specifically as graphics accelerator or floating-point accelerator, etc. Those terms, however, are older and have been replaced with less descriptive terms like video card or graphics card.

Many hardware accelerators are built on top of field-programmable gate array chips.

Recently, regular expression hardware acceleration has been gaining popularity in the server industry, owing to very noticeable speed ups in spam control.

609 questions
23
votes
4 answers

GPU accelerated CSS animation vs SVG native animations

My question is, what is faster, native SVG animation tags, like for example:
Xirux Nefer
  • 830
  • 1
  • 7
  • 19
22
votes
1 answer

using ffmpeg hwaccel from C++

How do I decode a file with hardware acceleration with ffmpeg? I have written a working video player that uses ffmpeg. I have checked for support using "av_hwaccel_next" and found mpeg2_dxva. However, when I load an mpeg2 file (as usual) I do not…
ronag
  • 49,529
  • 25
  • 126
  • 221
21
votes
3 answers

Software rendering mode - WPF

I have a WPF user control for which I need to force rendering in RenderMode.SoftwareOnly. Since I am using .NET 3.5, I had to do something like this: var hwndSource = PresentationSource.FromVisual(this) as HwndSource; if (hwndSource != null) { …
Navaneeth K N
  • 15,295
  • 38
  • 126
  • 184
21
votes
3 answers

Does iPhone support hardware-accelerated AES Encryption?

I could find references to "hardware-accelerated AES encryption" on an iPhone/iPad. But the APIs that I could find to do the AES encryption (CCCrypt) don't talk about hardware-acceleration at all. Does anyone have any idea if these APIs are the ones…
Bala
  • 341
  • 1
  • 2
  • 6
21
votes
2 answers

Java Hardware Acceleration

I have been spending some time looking into the hardware acceleration features of Java, and I am still a bit confused as none of the sites that I found online directly and clearly answered some of the questions I have. So here are the questions I…
Freezerburn
  • 1,013
  • 3
  • 11
  • 29
18
votes
5 answers

How does one disable hardware acceleration in wpf?

What is the procedure for disabling hardware acceleration in WPF? What is it exactly? Is it a Windows setting, a Visual Studio setting, or something you alter in the code of your WPF project? Will it affect only the program you're running or will it…
Stefan
  • 529
  • 2
  • 8
  • 15
17
votes
2 answers

Any way to programmatically disable hardware accelerated h.264 video decoding in silverlight 5?

We are getting reports from our Mac users that some of their video is playing back garbled. This only started happening when Silverlight 5 was released. This release included hardware video decoding acceleration for H.264, which is the codec we use.…
Bryce Kahle
  • 8,159
  • 1
  • 23
  • 26
16
votes
2 answers

Android TextureView hardware acceleration with lockCanvas()

I'm trying to use the hardware acceleration for Android with my canvas. I used to have a SurfaceView which I did lockCanvas() on to get a canvas which I later draw on, but I changed to TextureView since I couldn't get SurfaceView to use hardware…
Alle
  • 324
  • 4
  • 19
15
votes
1 answer

Using MMU to implement resizable arrays

Usually, lists are implemented either as linked lists, which are slow to traverse, or as array lists, which are slow when inserting elements. I was wondering if it would be possible to use the processor's MMU to implement lists more efficiently, by…
d9584
  • 153
  • 5
15
votes
2 answers

How to decode a H.264 frame on iOS by hardware decoding?

I have been used ffmpeg to decode every single frame that I received from my ip cam. The brief code looks like this: -(void) decodeFrame:(unsigned char *)frameData frameSize:(int)frameSize{ AVFrame frame; AVPicture picture; AVPacket pkt; …
ChihHao
  • 273
  • 1
  • 4
  • 15
15
votes
3 answers

How do I use Hardware accelerated video/H.264 decoding with directx 11 and windows 7?

I've been researching all day and not gotten very far. I'm on windows 7, using directx 11. (My final output is to be a frame of video onto a DX11 texture) I want to decode some very large H.264 video files, and the CPU (using libav) doesn't cut…
Soylent Graham
  • 847
  • 1
  • 12
  • 22
15
votes
1 answer

Android view animation and hardware layers

I'm currently trying to work out how to properly use hardware layers when animating views. I'm implementing a ViewGroup that enables the user to drag a child view, after which I animate it to a position when they release (like how ViewPager will…
SimonVT
  • 1,080
  • 10
  • 12
14
votes
2 answers

Why aren't browsers smart enough to hardware accelerate without tricks?

There are tons of webpages these days recommending you add these rules to your content to make it hardware accelerated: transform: translate3d(0,0,0); -webkit-transform: translate3d(0,0,0); This always struck me as ridiculous. Why should the…
Domenic
  • 110,262
  • 41
  • 219
  • 271
14
votes
3 answers

Hardware accelerated FFmpeg on android?

I compiled an older version of FFmpeg for Android (if I recall correctly it was 0.6.X). FFmpeg decodes a video frame, scales it, then I'm using OpenGL to draw it on the screen. As far as I can tell, the problem is the decoding and scaling---they're…
U Avalos
  • 6,538
  • 7
  • 48
  • 81
14
votes
8 answers

iOS6 UIwebView CSS3D transforms are not HW accelerated

I have problems with poor scrolling performance in iOS6 UIWebView component..In iOS5 scrolling was really fluid, though. So I have searched the web little bit and found this (part of iOS6 beta changelog). WebKit no longer always creates…
simekadam
  • 7,334
  • 11
  • 56
  • 79
1
2
3
40 41