Alternatively you can pass in a kCVPixelBufferWidthKey
and kCVPixelBufferHeightKey
to your pixel buffer properties for whatever your decode path is (as options for say a track reader output). This will vend smaller pixel buffers, but i dont think it will do the most efficient thing all the time, but should work everywhere by introducing a VImage pass inside the video toolbox decompression session.