comparison libswscale/yuv2rgb.c @ 31613:55abf5e08172

Add av_ prefix to bswap macros
author mru
date Sat, 10 Jul 2010 22:12:38 +0000
parents ef9fdc663e72
children 9fb969676b7c
comparison
equal deleted inserted replaced
31612:7fc1f051a19f 31613:55abf5e08172
772 y_table16[i+2048] = (yval >> 4) << bbase; 772 y_table16[i+2048] = (yval >> 4) << bbase;
773 yb += cy; 773 yb += cy;
774 } 774 }
775 if (isNotNe) 775 if (isNotNe)
776 for (i = 0; i < 1024*3; i++) 776 for (i = 0; i < 1024*3; i++)
777 y_table16[i] = bswap_16(y_table16[i]); 777 y_table16[i] = av_bswap16(y_table16[i]);
778 fill_table(c->table_rV, 2, crv, y_table16 + yoffs); 778 fill_table(c->table_rV, 2, crv, y_table16 + yoffs);
779 fill_table(c->table_gU, 2, cgu, y_table16 + yoffs + 1024); 779 fill_table(c->table_gU, 2, cgu, y_table16 + yoffs + 1024);
780 fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2048); 780 fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2048);
781 fill_gv_table(c->table_gV, 2, cgv); 781 fill_gv_table(c->table_gV, 2, cgv);
782 break; 782 break;
795 y_table16[i+2048] = (yval >> 3) << bbase; 795 y_table16[i+2048] = (yval >> 3) << bbase;
796 yb += cy; 796 yb += cy;
797 } 797 }
798 if(isNotNe) 798 if(isNotNe)
799 for (i = 0; i < 1024*3; i++) 799 for (i = 0; i < 1024*3; i++)
800 y_table16[i] = bswap_16(y_table16[i]); 800 y_table16[i] = av_bswap16(y_table16[i]);
801 fill_table(c->table_rV, 2, crv, y_table16 + yoffs); 801 fill_table(c->table_rV, 2, crv, y_table16 + yoffs);
802 fill_table(c->table_gU, 2, cgu, y_table16 + yoffs + 1024); 802 fill_table(c->table_gU, 2, cgu, y_table16 + yoffs + 1024);
803 fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2048); 803 fill_table(c->table_bU, 2, cbu, y_table16 + yoffs + 2048);
804 fill_gv_table(c->table_gV, 2, cgv); 804 fill_gv_table(c->table_gV, 2, cgv);
805 break; 805 break;