Lines Matching refs:height

80         int32_t width, height;  in bmp_info_header_parse()  local
109 height = read_int16(data, 6); in bmp_info_header_parse()
110 if ((width <= 0) || (height == 0)) in bmp_info_header_parse()
112 if (height < 0) { in bmp_info_header_parse()
114 height = -height; in bmp_info_header_parse()
123 if ((width > 256) || (height > 512)) { in bmp_info_header_parse()
127 bmp->height = height / 2; in bmp_info_header_parse()
131 bmp->height = height; in bmp_info_header_parse()
186 height = read_int32(data, 8); in bmp_info_header_parse()
187 if ((width <= 0) || (height == 0)) in bmp_info_header_parse()
189 if (height < 0) { in bmp_info_header_parse()
191 if (height <= -INT32_MAX) { in bmp_info_header_parse()
192 height = INT32_MAX; in bmp_info_header_parse()
194 height = -height; in bmp_info_header_parse()
204 if ((width > 256) || (height > 512)) { in bmp_info_header_parse()
208 bmp->height = height / 2; in bmp_info_header_parse()
212 bmp->height = height; in bmp_info_header_parse()
339 bmp->bitmap = bmp->bitmap_callbacks.bitmap_create(bmp->width, bmp->height, flags); in bmp_info_header_parse()
463 image->bmp.height = read_uint8(data, 1); in ico_header_parse()
464 if (image->bmp.height == 0) in ico_header_parse()
465 image->bmp.height = 256; in ico_header_parse()
491 area = image->bmp.width * image->bmp.height; in ico_header_parse()
494 ico->height = image->bmp.height; in ico_header_parse()
526 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb32()
540 for (y = 0; y < bmp->height; y++) { in bmp_decode_rgb32()
607 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb24()
621 for (y = 0; y < bmp->height; y++) { in bmp_decode_rgb24()
676 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb16()
688 for (y = 0; y < bmp->height; y++) { in bmp_decode_rgb16()
767 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rgb()
780 for (y = 0; y < bmp->height; y++) { in bmp_decode_rgb()
832 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_mask()
837 for (y = 0; y < bmp->height; y++) { in bmp_decode_mask()
887 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rle8()
903 if (y >= bmp->height) in bmp_decode_rle8()
921 if (y >= bmp->height) in bmp_decode_rle8()
928 pixels_left = (bmp->height - y) * bmp->width - x; in bmp_decode_rle8()
948 if (y >= bmp->height) in bmp_decode_rle8()
971 pixels_left = (bmp->height - y) * bmp->width - x; in bmp_decode_rle8()
997 if (y >= bmp->height) in bmp_decode_rle8()
1041 bottom = top + (uint64_t)swidth * (bmp->height - 1); in bmp_decode_rle4()
1057 if (y >= bmp->height) in bmp_decode_rle4()
1075 if (y >= bmp->height) in bmp_decode_rle4()
1082 pixels_left = (bmp->height - y) * bmp->width - x; in bmp_decode_rle4()
1102 if (y >= bmp->height) in bmp_decode_rle4()
1134 pixels_left = (bmp->height - y) * bmp->width - x; in bmp_decode_rle4()
1162 if (y >= bmp->height) in bmp_decode_rle4()
1320 bmp_image *ico_find(ico_collection *ico, uint16_t width, uint16_t height) in ico_find() argument
1328 if (height == 0) in ico_find()
1329 height = ico->height; in ico_find()
1331 if ((image->bmp.width == width) && (image->bmp.height == height)) in ico_find()
1334 y = image->bmp.height - height; in ico_find()