utility functions for free list of small integers
reuse render_targets pool allocated by VdpDecoder for new VdpVideoSurface's
Set rt_idx on newly bound VDPAU surfaces.
Merge pull request #22 from elenril/dev

Set rt_idx on newly bound VDPAU surfaces.