( apixels, cols, rows, maxacolors, acolorsP )
| 593 | & 0x7fffffff ) % HASH_SIZE ) |
| 594 | |
| 595 | static acolorhist_vector |
| 596 | pam_computeacolorhist( apixels, cols, rows, maxacolors, acolorsP ) |
| 597 | rgbaPixel** apixels; |
| 598 | int cols, rows, maxacolors; |
| 599 | int* acolorsP; |
| 600 | { |
| 601 | acolorhash_table acht; |
| 602 | acolorhist_vector achv; |
| 603 | |
| 604 | acht = pam_computeacolorhash( apixels, cols, rows, maxacolors, acolorsP ); |
| 605 | if ( acht == (acolorhash_table) 0 ) |
| 606 | return (acolorhist_vector) 0; |
| 607 | achv = pam_acolorhashtoacolorhist( acht, maxacolors ); |
| 608 | pam_freeacolorhash( acht ); |
| 609 | return achv; |
| 610 | } |
| 611 | |
| 612 | |
| 613 |
no test coverage detected