• 4087阅读
  • 0回复

qtopia-2.2.0中关于yuv2rgb.cpp中的问题 [复制链接]

上一主题 下一主题
离线dropping
 
只看楼主 正序阅读 楼主  发表于: 2009-10-28
const int32_t Inverse_Table_6_9[8][4] = {
    {117504, 138453, 13954, 34903}, /* no sequence_display_extension */
    {117504, 138453, 13954, 34903}, /* ITU-R Rec. 709 (1990) */
    {104597, 132201, 25675, 53279}, /* unspecified */
    {104597, 132201, 25675, 53279}, /* reserved */
    {104448, 132798, 24759, 53109}, /* FCC */
    {104597, 132201, 25675, 53279}, /* ITU-R Rec. 624-4 System B, G */
    {104597, 132201, 25675, 53279}, /* SMPTE 170M */
    {117579, 136230, 16907, 35559}  /* SMPTE 240M (1987) */

};

c_this->matrix_coefficients=6;

int crv = Inverse_Table_6_9[c_this->matrix_coefficients][0];
int cbu = Inverse_Table_6_9[c_this->matrix_coefficients][1];
int cgu = -Inverse_Table_6_9[c_this->matrix_coefficients][2];
int cgv = -Inverse_Table_6_9[c_this->matrix_coefficients][3];

表中的{104597, 132201, 25675, 53279}, /* SMPTE 170M */这组参数是什么意思?怎么使用?有人知道吗?和yuv转RGB公式如何对应上?
谢谢了~~
QT,怎么就学不会!!!????
快速回复
限100 字节
 
上一个 下一个