Skip to content

oven425/QSoft.YUV

Repository files navigation

QSoft.YUV

  • yuv444p to rgb24
byte[] yuv444p_raw = File.ReadAllBytes("s1-yuv444p.yuv");
var yuv444p = new QSoft.YUV.YUV444P(yuv444p_raw, 6000,3376);

refrence data

ffmpeg support pixel format

ffmpeg -pix_fmts
  • jpg to yuy2
ffmpeg -i 720-404-yuy2.jpg -pix_fmt yuyv422 .\a.yuv
  • jpg to yuv444p
ffmpeg -i 720-404-yuy2.jpg -pix_fmt yuv444p 720-404-yuv444p.yuv
  • jpg to yuv420p
ffmpeg -i 720-404-yuy2.jpg -pix_fmt yuv420p .\720-404-yuv420p.yuv
  • jpg to nv12(yuv420sp)
ffmpeg -i 720-404-yuy2.jpg -pix_fmt nv12 720-404-nv12.yuv
  • jpg to rgb24
ffmpeg -i 720-404-yuy2.jpg -pix_fmt rgb24 .\720-404-rgb24.rgb

https://codereview.stackexchange.com/questions/254255/sobel-operator-simd-x86-intrinsics-implementation