hardware accelerated h.264 playback on s5p4418 (nanopi 2)

Larry
Just like the topic here http://www.friendlyarm.net/forum/topic/5203 but
s5p4418 nanopi2.
I trying to use ffmpeg on nanopi2 for streaming h.264 but i don't know
where to find or don't know how to enable the hardware accelerator for it
(etc: vaapi). Software encode is very slow, i just get 5 fps for full 3xx %
cpu time.