Lines Matching refs:orientation
48 …jpeg_head_info(const char * filename, uint32_t * width, uint32_t * height, uint32_t * orientation);
50 static bool get_jpeg_direction(uint8_t * data, uint32_t data_size, uint32_t * orientation);
137 uint32_t orientation = 0; in decoder_info() local
139 if(!get_jpeg_head_info(src, &width, &height, &orientation)) { in decoder_info()
145 header->w = (orientation % 180) ? height : width; in decoder_info()
146 header->h = (orientation % 180) ? width : height; in decoder_info()
423 …_jpeg_head_info(const char * filename, uint32_t * width, uint32_t * height, uint32_t * orientation) in get_jpeg_head_info() argument
436 if(!get_jpeg_direction(data, data_size, orientation)) { in get_jpeg_head_info()
478 static bool get_jpeg_direction(uint8_t * data, uint32_t data_size, uint32_t * orientation) in get_jpeg_direction() argument
536 *orientation = 0; in get_jpeg_direction()
539 *orientation = 180; in get_jpeg_direction()
542 *orientation = 90; in get_jpeg_direction()
545 *orientation = 270; in get_jpeg_direction()
548 *orientation = 0; in get_jpeg_direction()