码迷,mamicode.com
首页 > 其他好文 > 详细

zimg

时间:2021-04-21 12:43:01      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:yuv   tran   linear   data   format   limit   lin   matrix   field   

zscale=t=linear:npl=400

(gdb) p *src_format
$27 = {version = 515, width = 3840, height = 2160, pixel_type = ZIMG_PIXEL_WORD, subsample_w = 1, subsample_h = 1, color_family = ZIMG_COLOR_YUV, matrix_coefficients = ZIMG_MATRIX_BT2020_NCL, transfer_characteristics = ZIMG_TRANSFER_ST2084, color_primaries = ZIMG_PRIMARIES_BT2020, depth = 10, pixel_range = ZIMG_RANGE_LIMITED, field_parity = ZIMG_FIELD_PROGRESSIVE,
chroma_location = ZIMG_CHROMA_LEFT, active_region = {left = nan(0x8000000000000), top = nan(0x8000000000000), width = nan(0x8000000000000), height = nan(0x8000000000000)}}
(gdb) p *dst_format
$28 = {version = 515, width = 3840, height = 2160, pixel_type = ZIMG_PIXEL_FLOAT, subsample_w = 0, subsample_h = 0, color_family = ZIMG_COLOR_RGB, matrix_coefficients = ZIMG_MATRIX_RGB, transfer_characteristics = ZIMG_TRANSFER_LINEAR, color_primaries = ZIMG_PRIMARIES_BT2020, depth = 32, pixel_range = ZIMG_RANGE_FULL, field_parity = ZIMG_FIELD_PROGRESSIVE,
chroma_location = ZIMG_CHROMA_LEFT, active_region = {left = nan(0x8000000000000), top = nan(0x8000000000000), width = nan(0x8000000000000), height = nan(0x8000000000000)}}

 

(gdb) p src[0] src[1] src[2]
$31 = {m_data = 0x7f07885e6540, m_stride = 7680, m_mask = 4294967295} //sizeof(ushort) * 3840
$32 = {m_data = 0x7f07895d65c0, m_stride = 3840, m_mask = 4294967295}
$33 = {m_data = 0x7f07899d2640, m_stride = 3840, m_mask = 4294967295}


(gdb) p dst[0] dst[1] dst[2]
$34 = {m_data = 0x7f074885a040, m_stride = 15360, m_mask = 4294967295}   //sizeof(float) * 3840 
$35 = {m_data = 0x7f074c81c040, m_stride = 15360, m_mask = 4294967295}   //sizeof(float) * 3840
$36 = {m_data = 0x7f074a83b040, m_stride = 15360, m_mask = 4294967295}   //sizeof(float) * 3840

zimg

标签:yuv   tran   linear   data   format   limit   lin   matrix   field   

原文地址:https://www.cnblogs.com/luoyinjie/p/14680498.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!