pngparse: improve parsing of the image
authorVineeth T M <vineeth.tm@samsung.com>
Thu, 13 Nov 2014 10:26:07 +0000 (15:56 +0530)
committerLuis de Bethencourt <luis.bg@samsung.com>
Wed, 7 Jan 2015 16:32:49 +0000 (16:32 +0000)
commit59e7f0597d1cc524174e847de7b91407922304c8
tree3b173111191b71f4173a394346d176d8f32d3f87
parente7c6eb6326b4f4fe9e4019c658e0b3d888dd5cb9
pngparse: improve parsing of the image

Everytime a buffer is being provided from baseparse, we are parsing all the data from the beginning.
But since we would have already parsed some of the data in the previous iterations,
it doesnt make much sense to keep parsing the same everytime.
Hence skipping the data which is already read in previous iterations to improve the parsing performance.

https://bugzilla.gnome.org/show_bug.cgi?id=740058
gst/videoparsers/gstpngparse.c
gst/videoparsers/gstpngparse.h