• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

asticode / go-astiav / 7643887323
86%

Build:
DEFAULT BRANCH: master
Ran 24 Jan 2024 05:24PM UTC
Jobs 2
Files 37
Run time 5s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 Jan 2024 05:23PM UTC coverage: 84.784% (-2.2%) from 86.991%
7643887323

push

github

web-flow
Implementation for HW Context (#32)

* Adding HW Context

* Check for hw pixel format and transfer data on ReciveFrame when its hw pixel format

* Remove hw_decoding example and update demuxing_dec example

* unref hw_device_ctx, and improve example

Unref correctly hw_device_ctx on free
decoding example has now a flag for hw decoding
Use error on hw context because its good to know the error that happen
Add a method to list supported hw codecs so user could check if system has a specif hwcodec before the create a hw context

* Fix test to use err, and update hw with device to also return error

* revert changes in demux example

* Add/Modify according to review

Seperate Hardware Device Context and Test
Renaming HW to Hardware
Create dedicated hardware_decoding Example
Update Readme
Add TransferHardwareData to frame.go
Add SetHardwareDeviceContext to codec_context.go

* Review changes

add HardwareConfigs to codec
create codec_hardware_config
create codec_hardware_config_method_flag
update example
update flags
better error handling in TransferHardwareData
update CreateHardwareDeviceContext, better null handling
remove hw ctx test because it fails when no nvidia is present
some reordering of conss in hardware_device_type

* Minor tweaks (review changes)

HardwareConfigs only returns a slice an no error anymore
remove if HardwareDeviceType checking in codec.go this should be done by user
order codec hw_config_method_flags constants alphabetically
some small changes in example
##  hardware_device_context.go
change link
update optionsC

21 of 67 new or added lines in 7 files covered. (31.34%)

1432 of 1689 relevant lines covered (84.78%)

20.54 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
90.1
-1.43% codec_context.go
3
93.88
-1.96% frame.go
9
0.0
codec_hardware_config.go
12
84.62
-15.38% codec.go
19
0.0
hardware_device_context.go
Jobs
ID Job ID Ran Files Coverage
1 7643887323.1 24 Jan 2024 05:24PM UTC 37
84.78
GitHub Action Run
2 7643887323.2 24 Jan 2024 05:27PM UTC 37
78.21
GitHub Action Run
Source Files on build 7643887323
  • Tree
  • List 37
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 767f28bc on github
  • Prev Build on master (#7643634618)
  • Next Build on master (#7643964675)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc