add support for davinci resizer and encoder(h.264 only)