mirror of https://bitbucket.org/ausocean/av.git
codec: updated commenting and file header descriptions for files in h265 and mjpeg packages
This commit is contained in:
parent
5d6e3171bf
commit
314a8dab9a
|
@ -3,7 +3,7 @@ NAME
|
|||
lex.go
|
||||
|
||||
DESCRIPTION
|
||||
See Readme.md
|
||||
lex.go provides a lexer to lex h264 bytestream into access units.
|
||||
|
||||
AUTHOR
|
||||
Dan Kortschak <dan@ausocean.org>
|
||||
|
@ -24,6 +24,7 @@ LICENSE
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with revid in gpl.txt. If not, see http://www.gnu.org/licenses.
|
||||
*/
|
||||
|
||||
package h264
|
||||
|
||||
import (
|
||||
|
|
|
@ -3,7 +3,7 @@ NAME
|
|||
lex_test.go
|
||||
|
||||
DESCRIPTION
|
||||
See Readme.md
|
||||
lex_test.go provides tests for the lexer in lex.go.
|
||||
|
||||
AUTHOR
|
||||
Dan Kortschak <dan@ausocean.org>
|
||||
|
|
|
@ -3,7 +3,7 @@ NAME
|
|||
lex.go
|
||||
|
||||
DESCRIPTION
|
||||
See Readme.md
|
||||
lex.go provides a lexer to extract separate JPEG images from a MJPEG stream.
|
||||
|
||||
AUTHOR
|
||||
Dan Kortschak <dan@ausocean.org>
|
||||
|
@ -25,7 +25,6 @@ LICENSE
|
|||
along with revid in gpl.txt. If not, see http://www.gnu.org/licenses.
|
||||
*/
|
||||
|
||||
// Package lex provides lexers for video encodings.
|
||||
package mjpeg
|
||||
|
||||
import (
|
||||
|
@ -42,7 +41,7 @@ func init() {
|
|||
close(noDelay)
|
||||
}
|
||||
|
||||
// MJPEG parses MJPEG frames read from src into separate writes to dst with
|
||||
// Lex parses MJPEG frames read from src into separate writes to dst with
|
||||
// successive writes being performed not earlier than the specified delay.
|
||||
func Lex(dst io.Writer, src io.Reader, delay time.Duration) error {
|
||||
var tick <-chan time.Time
|
||||
|
|
|
@ -3,7 +3,7 @@ NAME
|
|||
lex_test.go
|
||||
|
||||
DESCRIPTION
|
||||
See Readme.md
|
||||
lex_test.go provides testing for the lexer in lex.go.
|
||||
|
||||
AUTHOR
|
||||
Dan Kortschak <dan@ausocean.org>
|
||||
|
|
Loading…
Reference in New Issue