MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / begin_decoding

Method begin_decoding

external/basisu/encoder/jpgd.cpp:2995–3011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2993 }
2994
2995 int jpeg_decoder::begin_decoding()
2996 {
2997 if (m_ready_flag)
2998 return JPGD_SUCCESS;
2999
3000 if (m_error_code)
3001 return JPGD_FAILED;
3002
3003 if (setjmp(m_jmp_state))
3004 return JPGD_FAILED;
3005
3006 decode_start();
3007
3008 m_ready_flag = true;
3009
3010 return JPGD_SUCCESS;
3011 }
3012
3013 jpeg_decoder::~jpeg_decoder()
3014 {

Callers 3

readScanlineMethod · 0.80
readImageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected