facedetect: Refactor the code
authorVanessa Chipirrás Navalón <vchipirras6@gmail.com>
Tue, 11 Aug 2015 22:20:26 +0000 (00:20 +0200)
committerLuis de Bethencourt <luis@debethencourt.com>
Fri, 14 Aug 2015 17:28:43 +0000 (18:28 +0100)
commit7a2f5d6b030e414f5d662eb73eb7849e9a5a4a1e
tree7f58f559a0b62deed572c4efcb19efdf124d4271
parent8f855a8b78ddeef4ed118a04354c6cd7dd767c03
facedetect: Refactor the code

Some lines of code are repeated several times, therefore
this lines are simplified with a inline function, that this is
proper style of C++.
ext/opencv/gstfacedetect.cpp