Lines Matching refs:src_alpha
543 unsigned char* src_alpha = M_IMGDATA->m_alpha;
547 if ( src_alpha )
592 if ( src_alpha )
593 sum_a += src_alpha[src_pixel_index];
604 if ( src_alpha )
661 unsigned char* src_alpha = M_IMGDATA->m_alpha;
665 if ( src_alpha )
721 if ( src_alpha )
722 sum_a += src_alpha[src_pixel_index] * pixel_weight;
733 if ( src_alpha )
749 unsigned char* src_alpha = M_IMGDATA->m_alpha;
761 if ( src_alpha )
801 if ( src_alpha )
802 sum_a += src_alpha[pixel_idx];
809 if ( src_alpha )
829 if ( src_alpha )
830 sum_a -= src_alpha[pixel_idx];
843 if ( src_alpha )
844 sum_a += src_alpha[pixel_idx];
851 if ( src_alpha )
867 unsigned char* src_alpha = M_IMGDATA->m_alpha;
879 if ( src_alpha )
919 if ( src_alpha )
920 sum_a += src_alpha[pixel_idx];
927 if ( src_alpha )
946 if ( src_alpha )
947 sum_a -= src_alpha[pixel_idx];
961 if ( src_alpha )
962 sum_a += src_alpha[pixel_idx];
969 if ( src_alpha )
1099 // src_alpha starts at the first pixel and increases by 1 after each step
1101 const unsigned char *src_alpha = M_IMGDATA->m_alpha;
1110 *(--dest_alpha) = *(src_alpha++); // copy one pixel
1127 // src_alpha starts at the first pixel and increases by 1 width after each step
1129 const unsigned char *src_alpha = M_IMGDATA->m_alpha;
1137 memcpy( dest_alpha, src_alpha, (size_t)width );
1138 src_alpha += width;
1162 const unsigned char *src_alpha = M_IMGDATA->m_alpha;
1168 if (src_alpha != NULL) {
1181 src_alpha += pixsoff; // won't be used if was NULL, so this is ok
1189 memcpy( subalpha, src_alpha, subwidth );
1191 src_alpha += width;