mirror of https://bitbucket.org/ausocean/av.git
codec/h264/h264dec: merged in master an fixed conflicts
This commit is contained in:
commit
ee12e4e90e
|
@ -1,8 +0,0 @@
|
||||||
module github.com/ausocean/h264decode
|
|
||||||
|
|
||||||
go 1.12
|
|
||||||
|
|
||||||
require (
|
|
||||||
github.com/icza/bitio v0.0.0-20180221120200-b25b30b42508
|
|
||||||
github.com/pkg/errors v0.8.1
|
|
||||||
)
|
|
|
@ -1,4 +0,0 @@
|
||||||
github.com/icza/bitio v0.0.0-20180221120200-b25b30b42508 h1:2LdkN1icT8cEFyB95fUbPE0TmQL9ZOjUv9MNJ1kg3XE=
|
|
||||||
github.com/icza/bitio v0.0.0-20180221120200-b25b30b42508/go.mod h1:1+iKpsBoI5fsqBTrjxjM81vidVQcxXCmDrM9vc6EU2w=
|
|
||||||
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
|
|
||||||
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
|
|
|
@ -1,7 +1,7 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
// NALU types, as defined in table 7-1 in specifications.
|
// NALU types, as defined in table 7-1 in specifications.
|
||||||
const (
|
const (
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
|
@ -8,7 +8,7 @@ DESCRIPTION
|
||||||
AUTHORS
|
AUTHORS
|
||||||
Saxon Nelson-Milton <saxon@ausocean.org>, The Australian Ocean Laboratory (AusOcean)
|
Saxon Nelson-Milton <saxon@ausocean.org>, The Australian Ocean Laboratory (AusOcean)
|
||||||
*/
|
*/
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
type MN struct {
|
type MN struct {
|
||||||
M, N int
|
M, N int
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
|
@ -11,12 +11,12 @@ AUTHORS
|
||||||
mrmod <mcmoranbjr@gmail.com>
|
mrmod <mcmoranbjr@gmail.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
|
@ -9,13 +9,13 @@ AUTHOR
|
||||||
Saxon Nelson-Milton <saxon@ausocean.org>, The Australian Ocean Laboratory (AusOcean)
|
Saxon Nelson-Milton <saxon@ausocean.org>, The Australian Ocean Laboratory (AusOcean)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestReadUe checks that readUe correctly parses an Exp-Golomb-coded element
|
// TestReadUe checks that readUe correctly parses an Exp-Golomb-coded element
|
|
@ -1,9 +1,9 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import "errors"
|
import "errors"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
|
@ -1,11 +1,11 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
// "github.com/nareix/joy4/av"
|
// "github.com/nareix/joy4/av"
|
||||||
|
@ -10,7 +10,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
)
|
)
|
||||||
|
|
||||||
// InitialNALU indicates the start of a h264 packet
|
// InitialNALU indicates the start of a h264 packet
|
|
@ -1,11 +1,11 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import "testing"
|
import "testing"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/ausocean/h264decode/h264/bits"
|
"bitbucket.org/ausocean/av/codec/h264/h264dec/bits"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
package h264
|
package h264dec
|
||||||
|
|
||||||
type StateTransx struct {
|
type StateTransx struct {
|
||||||
TransIdxLPS, TransIdxMPS int
|
TransIdxLPS, TransIdxMPS int
|
Loading…
Reference in New Issue