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

asticode / go-astiav / 7708958927
86%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2024 09:26AM UTC
Jobs 3
Files 38
Run time 7s
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

30 Jan 2024 09:25AM UTC coverage: 88.564% (+0.8%) from 87.789%
7708958927

push

github

web-flow
Implementation for SWS scale (#33)

* Draft implementation for SWS scale

* Update go.mod

* Revert "Update go.mod"

This reverts commit 760fb8c42.

* Renaming to AllocSwsContext and remove ChangeResolution this should handled by users

* update example to use new name and remove ChangeResolution

* Follow scaling example from libav, update readme, improve sws

Change scaling example to an similar libav example
Update readme
Add func to UpdateScalingParameters
Rename AllocSwsContext to SwsGetContext
Using a type for scaling algos/flags

* Fix Errors in scale example

* Review Changes

Now using sws context flags
Restructer sws context and adding ned simpler methods to update the ctx
Update the example
Update the test

* Correctly handle error for buffer alloc in PrepareDestinationFrameForScaling

* Add more getter and setter for sws

Get/Set source w,h,pixfmt
Get/Set dst w,h,pixfmt
Get/Set sws flags

* Adding resolution get/set

* Use CachedContext when updating sws ctx

* Review changes

Reorder flags, and update them
# Update Example
Use renaming function to create sws context
Clean up
Use new framdata image funcs
# Sws scale context
New way to update the context
Use sws_scale_frame instead of sws_scale
Reordering funcs for get and set
# Sws sclate context flag
Add "Flag" for algo name
# Update sws test

* fix fmt error args bug

* Review Changes

Simpfy sws update
Use c.int for sws flags
update test

162 of 166 new or added lines in 2 files covered. (97.59%)

1665 of 1880 relevant lines covered (88.56%)

29.65 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
97.12
software_scale_context.go
Jobs
ID Job ID Ran Files Coverage
1 7708958927.1 30 Jan 2024 09:26AM UTC 38
88.56
GitHub Action Run
2 7708958927.2 30 Jan 2024 09:27AM UTC 38
88.56
GitHub Action Run
3 7708958927.3 30 Jan 2024 09:30AM UTC 38
82.66
GitHub Action Run
Source Files on build 7708958927
  • Tree
  • List 38
  • Changed 4
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f836d588 on github
  • Prev Build on master (#7669949373)
  • Next Build on master (#7709389318)
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

© 2026 Coveralls, Inc