xbmc/xbmc — pull request #4709 by popcornmix (2014-05-13 13:51:55+00:00)
Title: [omx] Skip the resize when not needed when decoding jpegs

The decode to texture path almost always uses cached jpegs that are the correct size, so the resize is rarely needed.
The re-enc path usually needs resizing, but may not where the source is small.

Skipping the resize stage saves a little time and memory on GPU and also saves some setup time.