delete personal file

This commit is contained in:
hanruobing
2019-08-16 10:45:44 +08:00
parent 6ae9490a35
commit 97b7d8cdf1
11 changed files with 563 additions and 470 deletions

22
convert_test.go Normal file
View File

@@ -0,0 +1,22 @@
package main
import (
"fmt"
"testing"
)
func BenchmarkConvert(b *testing.B) {
//读取文件
inputFile := "/work/dana_work/gopath/src/github.com/lucish/convert-video/src/huangxiao.h265"
src, err := ReadAll(inputFile)
if err != nil || len(src) == 0 {
fmt.Println(err.Error())
fmt.Println("read file err")
return
}
for i := 0; i < b.N; i++ {
c_h265_to_jpeg(src, len(src))
}
}