define V4l2CodecBase
add v4l2_codecbase.h/cpp, v4l2_encode.cpp
separated files ok
t
t
t
move input thread to codecbase
ASSERT
fd, protected
up
use condition wait