Lines Matching refs:Context

612   hjpeg->Context = 0;  in HAL_JPEG_Init()
660 hjpeg->Context = 0; in HAL_JPEG_DeInit()
1178 if ((hjpeg->Context & JPEG_CONTEXT_CUSTOM_TABLES) != 0UL) in HAL_JPEG_ConfigEncoding()
1204 if ((hjpeg->Context & JPEG_CONTEXT_CUSTOM_TABLES) != 0UL) in HAL_JPEG_ConfigEncoding()
1276 hjpeg->Context |= JPEG_CONTEXT_CONF_ENCODING; in HAL_JPEG_ConfigEncoding()
1473 hjpeg->Context |= JPEG_CONTEXT_CUSTOM_TABLES; in HAL_JPEG_SetUserQuantTables()
1564 if ((hjpeg->Context & JPEG_CONTEXT_CONF_ENCODING) == JPEG_CONTEXT_CONF_ENCODING) in HAL_JPEG_Encode()
1570 hjpeg->Context &= ~(JPEG_CONTEXT_OPERATION_MASK | JPEG_CONTEXT_METHOD_MASK); in HAL_JPEG_Encode()
1571 hjpeg->Context |= (JPEG_CONTEXT_ENCODE | JPEG_CONTEXT_POLLING); in HAL_JPEG_Encode()
1669 hjpeg->Context &= ~(JPEG_CONTEXT_OPERATION_MASK | JPEG_CONTEXT_METHOD_MASK); in HAL_JPEG_Decode()
1670 hjpeg->Context |= (JPEG_CONTEXT_DECODE | JPEG_CONTEXT_POLLING); in HAL_JPEG_Decode()
1760 if ((hjpeg->Context & JPEG_CONTEXT_CONF_ENCODING) == JPEG_CONTEXT_CONF_ENCODING) in HAL_JPEG_Encode_IT()
1766 hjpeg->Context &= ~(JPEG_CONTEXT_OPERATION_MASK | JPEG_CONTEXT_METHOD_MASK); in HAL_JPEG_Encode_IT()
1767 hjpeg->Context |= (JPEG_CONTEXT_ENCODE | JPEG_CONTEXT_IT); in HAL_JPEG_Encode_IT()
1827 hjpeg->Context &= ~(JPEG_CONTEXT_OPERATION_MASK | JPEG_CONTEXT_METHOD_MASK); in HAL_JPEG_Decode_IT()
1828 hjpeg->Context |= (JPEG_CONTEXT_DECODE | JPEG_CONTEXT_IT); in HAL_JPEG_Decode_IT()
1890 if ((hjpeg->Context & JPEG_CONTEXT_CONF_ENCODING) == JPEG_CONTEXT_CONF_ENCODING) in HAL_JPEG_Encode_DMA()
1896 hjpeg->Context &= ~(JPEG_CONTEXT_OPERATION_MASK | JPEG_CONTEXT_METHOD_MASK); in HAL_JPEG_Encode_DMA()
1897 hjpeg->Context |= (JPEG_CONTEXT_ENCODE | JPEG_CONTEXT_DMA); in HAL_JPEG_Encode_DMA()
1968 hjpeg->Context &= ~(JPEG_CONTEXT_OPERATION_MASK | JPEG_CONTEXT_METHOD_MASK); in HAL_JPEG_Decode_DMA()
1969 hjpeg->Context |= (JPEG_CONTEXT_DECODE | JPEG_CONTEXT_DMA); in HAL_JPEG_Decode_DMA()
2022 if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_DMA) in HAL_JPEG_Pause()
2026 hjpeg->Context |= JPEG_CONTEXT_PAUSE_INPUT; in HAL_JPEG_Pause()
2031 hjpeg->Context |= JPEG_CONTEXT_PAUSE_OUTPUT; in HAL_JPEG_Pause()
2037 else if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_IT) in HAL_JPEG_Pause()
2042 hjpeg->Context |= JPEG_CONTEXT_PAUSE_INPUT; in HAL_JPEG_Pause()
2047 hjpeg->Context |= JPEG_CONTEXT_PAUSE_OUTPUT; in HAL_JPEG_Pause()
2078 if ((hjpeg->Context & (JPEG_CONTEXT_PAUSE_INPUT | JPEG_CONTEXT_PAUSE_OUTPUT)) == 0UL) in HAL_JPEG_Resume()
2084 if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_DMA) in HAL_JPEG_Resume()
2089 hjpeg->Context &= (~JPEG_CONTEXT_PAUSE_INPUT); in HAL_JPEG_Resume()
2110 hjpeg->Context &= (~JPEG_CONTEXT_PAUSE_OUTPUT); in HAL_JPEG_Resume()
2112 if ((hjpeg->Context & JPEG_CONTEXT_ENDING_DMA) != 0UL) in HAL_JPEG_Resume()
2134 else if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_IT) in HAL_JPEG_Resume()
2138 hjpeg->Context &= (~JPEG_CONTEXT_PAUSE_INPUT); in HAL_JPEG_Resume()
2143 hjpeg->Context &= (~JPEG_CONTEXT_PAUSE_OUTPUT); in HAL_JPEG_Resume()
2196 tmpContext = hjpeg->Context; in HAL_JPEG_Abort()
2199 …hjpeg->Context &= ~(JPEG_CONTEXT_OPERATION_MASK | JPEG_CONTEXT_METHOD_MASK | JPEG_CONTEXT_ENDING_D… in HAL_JPEG_Abort()
2260 hjpeg->Context &= ~(JPEG_CONTEXT_PAUSE_INPUT | JPEG_CONTEXT_PAUSE_OUTPUT); in HAL_JPEG_Abort()
2444 if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_IT) in HAL_JPEG_IRQHandler()
2448 else if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_DMA) in HAL_JPEG_IRQHandler()
3270 hjpeg->Context &= (~(JPEG_CONTEXT_PAUSE_INPUT | JPEG_CONTEXT_PAUSE_OUTPUT)); in JPEG_Init_Process()
3272 if ((hjpeg->Context & JPEG_CONTEXT_OPERATION_MASK) == JPEG_CONTEXT_DECODE) in JPEG_Init_Process()
3301 if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_IT) in JPEG_Init_Process()
3306 else if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_DMA) in JPEG_Init_Process()
3329 if ((hjpeg->Context & JPEG_CONTEXT_OPERATION_MASK) == JPEG_CONTEXT_DECODE) in JPEG_Process()
3355 if ((hjpeg->Context & JPEG_CONTEXT_PAUSE_INPUT) == 0UL) in JPEG_Process()
3377 if ((hjpeg->Context & JPEG_CONTEXT_PAUSE_OUTPUT) == 0UL) in JPEG_Process()
3403 if ((hjpeg->Context & JPEG_CONTEXT_METHOD_MASK) == JPEG_CONTEXT_IT) in JPEG_Process()
3426 tmpContext = hjpeg->Context; in JPEG_Process()
3428 hjpeg->Context &= (JPEG_CONTEXT_CONF_ENCODING | JPEG_CONTEXT_CUSTOM_TABLES); in JPEG_Process()
3601 if (((hjpeg->Context & JPEG_CONTEXT_PAUSE_INPUT) == 0UL) && (nb_bytes > 0UL)) in JPEG_ReadInputData()
3660 hjpeg->Context &= ~JPEG_CONTEXT_ENDING_DMA; in JPEG_DMA_StartProcess()
3714 if ((hjpeg->Context & JPEG_CONTEXT_OPERATION_MASK) == JPEG_CONTEXT_DECODE) in JPEG_DMA_ContinueProcess()
3746 hjpeg->Context |= JPEG_CONTEXT_ENDING_DMA; in JPEG_DMA_ContinueProcess()
3817 tmpContext = hjpeg->Context; in JPEG_DMA_EndProcess()
3819 hjpeg->Context &= (JPEG_CONTEXT_CONF_ENCODING | JPEG_CONTEXT_CUSTOM_TABLES); in JPEG_DMA_EndProcess()
3845 else if ((hjpeg->Context & JPEG_CONTEXT_PAUSE_OUTPUT) == 0UL) in JPEG_DMA_EndProcess()
3870 if ((hjpeg->Context & JPEG_CONTEXT_PAUSE_OUTPUT) == 0UL) in JPEG_DMA_PollResidualData()
3897 tmpContext = hjpeg->Context; in JPEG_DMA_PollResidualData()
3916 tmpContext = hjpeg->Context; in JPEG_DMA_PollResidualData()
3918 hjpeg->Context &= (JPEG_CONTEXT_CONF_ENCODING | JPEG_CONTEXT_CUSTOM_TABLES); in JPEG_DMA_PollResidualData()
3958 if ((hjpeg->Context & (JPEG_CONTEXT_METHOD_MASK | JPEG_CONTEXT_ENDING_DMA)) == in JPEG_DMAInCpltCallback()
3984 if (((hjpeg->Context & JPEG_CONTEXT_PAUSE_INPUT) == 0UL) && (hjpeg->InDataLength > 0UL)) in JPEG_DMAInCpltCallback()
4019 if ((hjpeg->Context & (JPEG_CONTEXT_METHOD_MASK | JPEG_CONTEXT_ENDING_DMA)) == in JPEG_DMAOutCpltCallback()
4034 if ((hjpeg->Context & JPEG_CONTEXT_PAUSE_OUTPUT) == 0UL) in JPEG_DMAOutCpltCallback()
4099 if ((hjpeg->Context & JPEG_CONTEXT_ENDING_DMA) != 0UL) in JPEG_DMAOutAbortCallback()