PDA

View Full Version : Resizing or Rotating Inside SampleGrabber


Sevast
29th July 2007, 22:33
I am writing a video recompression application which have extras as applying effects on each video frame
All effects are done inside SampleGrabber.SampleCB function where each frame is processed.
Everything was fine until implementing a image rotation.
Each image received in SampleCB is rotated by an angle and tren send back to SampleGrabber
However when rotation changes the image size i got in trouble
No way to tell the SampleGrabber taht image size is changed.
Any attempts does not reach success.
Does anybody has a working example (no matter of programming language) which can resize image inside BufferCB
function
Thanks in advance