Yes that's what I'm doing at the moment. What I want to happen is for th_decode_ycbcr_out to give me the frames in the size that I want. I'll probably try to do this by adding a th_decode_ctl() command of some kind to specify the required size and then modify th_decode_packetin() to do the decoding to the size I've asked for..