GPU Accelerated H.264 Decode

Both AMD and NVIDIA have fully accelerated H.264 decode on their GPUs and chipsets with integrated graphics, something Intel just recently added with G45. Apple has historically done a terrible job of taking advantage of GPU accelerated video decode features in its OS, which is partly why it took us so long to get somewhat acceptable deinterlacing in Apple's DVD app, despite solid deinterlacing support by the GPU vendors.

Part of the problem is that unlike on the PC platforms, companies like ATI and NVIDIA don't write the entire driver for Mac OS X. The GPU vendors provide the hardware interface portion of the driver but Apple handles much of the rest. It's up to Apple to take advantage of the various features supported by the GPU, and most of them aren't high on Apple's priority list.

With Apple heavily pushing H.264 as the codec of choice and offering high bitrate HD H.264 movie trailers at www.apple.com, the move to NVIDIA's GeForce 9400M appeared to be the perfect time to take advantage of GPU accelerated H.264 decode. For the first time ever, Quicktime will use the GPU for the majority of the decode pipeline when playing back H.264 content.

To test the impact of the GPU offload I measured CPU utilization while playing back the 160MB 1080p trailer of The Spirit from Apple's movie trailers website:

  New MacBook Pro 15" Old MacBook Pro 15"
CPU Utilization 10% 30 - 50%

 

The old MacBook Pro saw 30 - 50% of its dual core Core 2 Duo 2.5GHz CPU used up to decode the trailer, while the new MacBook Pro only needed 10% as the rest was done on the GPU. The GPU is also a more efficient place to perform H.264 decoding so you'll actually see an increase in battery life when playing back hardware accelerated content.

As OS X still lacks any official Blu-ray support, the H.264 decode acceleration isn't very useful beyond playing these sorts of files, but it's a definite start. It's also unclear how easy it will be for 3rd party developers to tie into the GPU acceleration hooks or if Quicktime will be your only hope for that.

Performance Battery Life: Take Two Steps Forward, and Two Steps Back
Comments Locked

66 Comments

View All Comments

  • headbox - Saturday, October 25, 2008 - link

    What about XP vs. Vista battery test or... install OSx86 on a few PC laptops :)
  • acfoltzer - Wednesday, October 22, 2008 - link

    Hi Anand,

    I just want to point out that the keyboard on my 2.4GHz MacBook IS backlit. It seems to be a little-documented difference between the 2.0 and 2.4.

    Cheers,
    Adam
  • andreschmidt - Wednesday, October 22, 2008 - link

    Indeed, that was one of the things I noticed in the article as well. The 2.4Ghz MacBook does have the backlit keyboard.
  • themadmilkman - Wednesday, October 22, 2008 - link

    Thank you for the honest assessment about whether to buy or wait. You just kept me from blowing $1300 by upgrading too soon.
  • Ronbo13 - Saturday, October 25, 2008 - link

    If you're basing this on the reflectivity of the screens, you need to look at them in person. The pictures are misleading, in that the new MBP is positioned to be reflecting a wall in direct daylight, and the one on the left is reflecting a wall in shadows. The new MBP is a pretty glossy screen. I have one, and I used to have a matte MBP. But the screen is, nevertheless, beautiful. Don't make up your mind until you see it in person.
  • preciousjerry - Monday, March 9, 2020 - link

    I needed to switch over to Apple computer, phone, and iPad because of software changes in my business. I was able to purchase a Macbook Air, iPhone 5se, and Ipad Air. These items were either an open box or refurbished with A ratings. Fabulous Prices, all worked and looked new. I am a faithful user of a popular online store that deals in the same items, however, I cannot get these kinds of <a href="https://www.makeoverarena.com/sabwap-movies-games-... especially at this condition and prices.

Log in

Don't have an account? Sign up now