Auto-indent with GNU Indent

indent -br -ce -l80 -sob -cdw -cdb -sc -ncs -nbs -saf -sai -saw -nprs -nbc -brs -brf -ppi 2 -nbbo -nut -ts 2 -v -o tivi-fixed.cpp tivi.cpp