Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
vstroebel
/
jpeg-encoder
Public
Notifications
You must be signed in to change notification settings
Fork
12
Star
33
Code
Issues
5
Pull requests
1
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Safe AVX YCbCr
- #17
#17
Merged
vstroebel
merged 18 commits into
vstroebel:main
vstroebel/jpeg-encoder:main
from
Shnatsel:safe-simd-ycbcr
Shnatsel/jpeg-encoder:safe-simd-ycbcr
Copy head branch name to clipboard
Nov 29, 2025
Conversation
Commits
18
(18)
Checks
Files changed
Merged
Safe AVX YCbCr
#17
vstroebel
merged 18 commits into
vstroebel:main
vstroebel/jpeg-encoder:main
from
Shnatsel:safe-simd-ycbcr
Shnatsel/jpeg-encoder:safe-simd-ycbcr
Copy head branch name to clipboard
Commits
Commits on Oct 29, 2025
Bump MSRV to 1.86
Shnatsel
committed
92110c5
View commit details
Copy full SHA for 92110c5
Browse repository at this point
AVX ycbcr: safety: always access the slice in &self with bounds checks instead of raw pointers
Shnatsel
committed
333c101
View commit details
Copy full SHA for 333c101
Browse repository at this point
Split the transmute into a helper function
Shnatsel
committed
af429c7
View commit details
Copy full SHA for af429c7
Browse repository at this point
AVX ycbcr: safety: Always perform bounds checks on the ycbcr output buffers. Verify that there is enough capacity to hold the data before filling them to avoid buffer overflows. Treat them as Maybe…
Show description for 04a0c27
Shnatsel
committed
04a0c27
View commit details
Copy full SHA for 04a0c27
Browse repository at this point
AVX ycbcr: the function no longer needs to be `unsafe`, all unsafe operations are now wrapped in safe abstractions that verify preconditions
Shnatsel
committed
4a97518
View commit details
Copy full SHA for 4a97518
Browse repository at this point
refactor for slightly better codegen
Shnatsel
committed
5590004
View commit details
Copy full SHA for 5590004
Browse repository at this point
cargo fmt
Shnatsel
committed
5642f24
View commit details
Copy full SHA for 5642f24
Browse repository at this point
expand safety comment
Shnatsel
committed
df6173b
View commit details
Copy full SHA for df6173b
Browse repository at this point
Replace manual bookkeeping and unsafe{set_len()} with safe Vec methods
Shnatsel
committed
fc320d8
View commit details
Copy full SHA for fc320d8
Browse repository at this point
Commits on Nov 3, 2025
Add a test verifying that AVX2 result is identical to scalar
Shnatsel
committed
f431b60
View commit details
Copy full SHA for f431b60
Browse repository at this point
add a TODO
Shnatsel
committed
fb3f9d5
View commit details
Copy full SHA for fb3f9d5
Browse repository at this point
Add a note about scalar loads
Shnatsel
committed
120c5be
View commit details
Copy full SHA for 120c5be
Browse repository at this point
Commits on Nov 5, 2025
Don't attempt to run AVX2 test on machines without AVX2
Shnatsel
committed
8d2d642
View commit details
Copy full SHA for 8d2d642
Browse repository at this point
Address compiler warning
Shnatsel
committed
c2b36b1
View commit details
Copy full SHA for c2b36b1
Browse repository at this point
Commits on Nov 8, 2025
bump MSRV
Shnatsel
committed
a32ab68
View commit details
Copy full SHA for a32ab68
Browse repository at this point
Commits on Nov 12, 2025
bump github workflow version to match MSRV
Shnatsel
committed
bf3ab88
View commit details
Copy full SHA for bf3ab88
Browse repository at this point
Commits on Nov 25, 2025
Merge branch 'main' into safe-simd-ycbcr
Shnatsel
committed
324b734
View commit details
Copy full SHA for 324b734
Browse repository at this point
Commits on Nov 29, 2025
Merge branch 'main' into safe-simd-ycbcr
Shnatsel
committed
f75f32b
View commit details
Copy full SHA for f75f32b
Browse repository at this point
You can’t perform that action at this time.