Mod vidc to use pmem in case of encoder input buffers