projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
segv handler, playlist_move bugfix, resize_yuv422 optimisation
[melted]
/
src
/
framework
/
mlt_frame.c
diff --git
a/src/framework/mlt_frame.c
b/src/framework/mlt_frame.c
index
314facd
..
2fef7c0
100644
(file)
--- a/
src/framework/mlt_frame.c
+++ b/
src/framework/mlt_frame.c
@@
-416,6
+416,10
@@
void mlt_resize_yuv422( uint8_t *output, int owidth, int oheight, uint8_t *input
iheight = iheight - ( iheight % 2 );
oheight = oheight - ( oheight % 2 );
+ // Optimisation point
+ if ( iwidth == owidth && iheight == oheight )
+ memcpy( output, input, iheight * istride );
+
// Coordinates (0,0 is middle of output)
int y;