HW5 Camera/HW5 Camera/stb_image.h
// if there's a pending marker from the entropy stream, return that
// otherwise, fetch from the stream and get a marker. if there's no
// marker, return 0xff, which is never a valid marker value
if there's a pending marker from the entropy stream, return that
otherwise, fetch from the stream and get a marker. if there's no
marker, return 0xff, which is never a valid marker value
if there ' s a pending marker from the entropy stream return that otherwise fetch from the stream and get a marker . if there ' s no marker return 0xff which is never a valid marker value
static stbi_uc stbi__get_marker(stbi__jpeg *j)
{
	stbi_uc x;
	if (j->marker != STBI__MARKER_none) { x = j->marker; j->marker = STBI__MARKER_none; return x; }
	x = stbi__get8(j->s);
	if (x != 0xff) return STBI__MARKER_none;
	while (x == 0xff)
		x = stbi__get8(j->s); 
	return x;
}
static stbi_uc stbi__get_marker ( stbi__jpeg * j ) { stbi_uc x ; if ( j -> marker != STBI__MARKER_none ) { x = j -> marker ; j -> marker = STBI__MARKER_none ; return x ; } x = stbi__get8 ( j -> s ) ; if ( x != 0xff ) return STBI__MARKER_none ; while ( x == 0xff ) x = stbi__get8 ( j -> s ) ; return x ; }
if there's a pending marker from the entropy stream, return that
otherwise, fetch from the stream and get a marker.
if there ' s a pending marker from the entropy stream return that otherwise fetch from the stream and get a marker .
// consume repeated 0xff fill bytes