// +build !debug /* DESCRIPTION Displays debug information for the motion filters. AUTHORS Scott Barnard LICENSE This file is Copyright (C) 2020 the Australian Ocean Lab (AusOcean) It is free software: you can redistribute it and/or modify them under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. It is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License in gpl.txt. If not, see http://www.gnu.org/licenses. */ package filter // debugWindows is used for sending debug information to a file. type debugFile struct{} // newDebugFile creates a file for saving debugging frames to. func (d *debugFile) newDebugFile() error { return nil } // closeDebugFile closes files used for debugging purposes. func (d *debugFile) closeDebugFile() error { return nil } // drawToDebugFile draws debugging information to a frame. func (d *debugFile) drawToDebugFile(i, j int, val uint8) {} // saveFrame writes a frame showing motion to a file. func (d *debugFile) saveFrame(motion, pix int) error { return nil } // resetDebugFileFrame makes an image of given dimensions. func (d *debugFile) resetDebugFileFrame(w, h int) {}