Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
/* m and n values for given CtxIdx */

/* I Slices */
static const int h264ContextInitIntra[460][2] = {
static const i32 h264ContextInitIntra[460][2] = {
/* 0 -> 10 */
{20, -15}, {2, 54}, {3, 74}, {20, -15},
{2, 54}, {3, 74}, {-28, 127}, {-23, 104},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ uint8_t *GetInputFrame(uint32_t *framSize);
* @brief Return whether hardware handshake (slice/stream) mode is active.
* @retval bool true if hw handshake mode enabled.
*/
bool IsHwHanshakeMode(void);
bool IsHwHandshakeMode(void);

/**
* @brief Get DCMIPP pixel packer format id used by the pipeline.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ HAL_StatusTypeDef MX_DCMIPP_Init(DCMIPP_HandleTypeDef *hdcmipp)
if (ret == HAL_OK)
{
/* Specific Hardware Handshake if needed*/
if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
ret = dcmipp_enable_HW_Handshake(hdcmipp);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ bool IsVideoOverflow(void)
{
bool videoOverflow = false;

if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
videoOverflow = (nbLineEvent != 0U);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ uint32_t GetNbInputFrame(void)
* @brief Return whether hardware handshake (slice/stream) mode is enabled.
* @retval true if HW handshake mode enabled, false otherwise.
*/
bool IsHwHanshakeMode(void)
bool IsHwHandshakeMode(void)
{
#if (VENC_HW_MODE_ENABLE == 1U)
return true;
Expand Down Expand Up @@ -297,7 +297,7 @@ HAL_StatusTypeDef GetDCMIPPLinesConfig(uint32_t *pWarpLines, uint32_t *pIrqLines
uint32_t nbLinesCaptured = VENC_LINE_BUF_DEPTH * CAM_MACROBLOCK_HEIGHT;
HAL_StatusTypeDef ret = HAL_OK;

if (!IsHwHanshakeMode())
if (!IsHwHandshakeMode())
{
return HAL_ERROR;
}
Expand Down Expand Up @@ -335,7 +335,7 @@ HAL_StatusTypeDef GetDCMIPPLinesConfig(uint32_t *pWarpLines, uint32_t *pIrqLines
uint32_t GetDCMIPPNbLinesCaptured(void)
{
/* In hardware handshake mode, capture N lines within a 2*N buffer */
if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
return (uint32_t)(2U * VENC_LINE_BUF_DEPTH * CAM_MACROBLOCK_HEIGHT);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ uint8_t * GetInputFrame(uint32_t * framSize);
* @brief Return whether hardware handshake (slice/stream) mode is active.
* @retval bool true if hw handshake mode enabled.
*/
bool IsHwHanshakeMode(void);
bool IsHwHandshakeMode(void);

/**
* @brief Get DCMIPP pixel packer format id used by the pipeline.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ HAL_StatusTypeDef MX_DCMIPP_Init(DCMIPP_HandleTypeDef *hdcmipp)
if (ret == HAL_OK)
{
/* Specific Hardware Handshake if needed*/
if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
ret = dcmipp_enable_HW_Handshake(hdcmipp);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ bool IsVideoOverflow(void)
{
bool videoOverflow = false;

if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
videoOverflow = (nbLineEvent != 0U);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ uint32_t GetNbInputFrame(void)
* @brief Return whether hardware handshake (slice/stream) mode is enabled.
* @retval true if HW handshake mode enabled, false otherwise.
*/
bool IsHwHanshakeMode(void)
bool IsHwHandshakeMode(void)
{
#if (VENC_HW_MODE_ENABLE == 1U)
return true;
Expand Down Expand Up @@ -286,7 +286,7 @@ HAL_StatusTypeDef GetDCMIPPLinesConfig(uint32_t *pWarpLines, uint32_t *pIrqLines
uint32_t nbLinesCaptured = VENC_LINE_BUF_DEPTH * CAM_MACROBLOCK_HEIGHT;
HAL_StatusTypeDef ret = HAL_OK;

if (!IsHwHanshakeMode())
if (!IsHwHandshakeMode())
{
return HAL_ERROR;
}
Expand Down Expand Up @@ -324,7 +324,7 @@ HAL_StatusTypeDef GetDCMIPPLinesConfig(uint32_t *pWarpLines, uint32_t *pIrqLines
uint32_t GetDCMIPPNbLinesCaptured(void)
{
/* In hardware handshake mode, capture N lines within a 2*N buffer */
if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
return (uint32_t)(2U * VENC_LINE_BUF_DEPTH * CAM_MACROBLOCK_HEIGHT);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level.417448642" name="Optimization level" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.cpp.compiler.option.optimization.level" useByScannerDiscovery="false"/>
</tool>
<tool id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.1849438250" name="MCU GCC Linker" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker">
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.93089147" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="C:\git\n6\STM32Cube_FW_N6_V1.3.0_Ext_Refact\Projects\STM32N6570-DK\Applications\VENC\VENC_SDCard_ThreadX\STM32CubeIDE\Appli\STM32N657XX.ld" valueType="string"/>
<option id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script.93089147" name="Linker Script (-T)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.script" value="${workspace_loc:/${ProjName}/STM32N657XX.ld}" valueType="string"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.otherflags.113829423" name="Other flags" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.otherflags" valueType="stringList"/>
<option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.directories.1500726823" name="Library search path (-L)" superClass="com.st.stm32cube.ide.mcu.gnu.managedbuild.tool.c.linker.option.directories" valueType="libPaths">
<listOptionValue builtIn="false" value="../../../../../../../../Middlewares/ST/STM32_ISP_Library/evision/Lib"/>
Expand Down Expand Up @@ -251,4 +251,4 @@
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cproject>
</cproject>
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ uint8_t * GetInputFrame(uint32_t * framSize);
* @brief Return whether hardware handshake (slice/stream) mode is active.
* @retval bool true if hw handshake mode enabled.
*/
bool IsHwHanshakeMode(void);
bool IsHwHandshakeMode(void);

/**
* @brief Get DCMIPP pixel packer format id used by the pipeline.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ HAL_StatusTypeDef MX_DCMIPP_Init(DCMIPP_HandleTypeDef *hdcmipp)
if (ret == HAL_OK)
{
/* Specific Hardware Handshake if needed*/
if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
ret = dcmipp_enable_HW_Handshake(hdcmipp);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ bool IsVideoOverflow(void)
{
bool videoOverflow = false;

if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
videoOverflow = (nbLineEvent != 0U);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ uint32_t GetNbInputFrame(void)
* @brief Return whether hardware handshake (slice/stream) mode is enabled.
* @retval true if HW handshake mode enabled, false otherwise.
*/
bool IsHwHanshakeMode(void)
bool IsHwHandshakeMode(void)
{
#if (VENC_HW_MODE_ENABLE == 1U)
return true;
Expand Down Expand Up @@ -293,7 +293,7 @@ HAL_StatusTypeDef GetDCMIPPLinesConfig(uint32_t *pWarpLines, uint32_t *pIrqLines
uint32_t nbLinesCaptured = VENC_LINE_BUF_DEPTH * CAM_MACROBLOCK_HEIGHT;
HAL_StatusTypeDef ret = HAL_OK;

if (!IsHwHanshakeMode())
if (!IsHwHandshakeMode())
{
return HAL_ERROR;
}
Expand Down Expand Up @@ -331,7 +331,7 @@ HAL_StatusTypeDef GetDCMIPPLinesConfig(uint32_t *pWarpLines, uint32_t *pIrqLines
uint32_t GetDCMIPPNbLinesCaptured(void)
{
/* In hardware handshake mode, capture N lines within a 2*N buffer */
if (IsHwHanshakeMode())
if (IsHwHandshakeMode())
{
return (uint32_t)(2U * VENC_LINE_BUF_DEPTH * CAM_MACROBLOCK_HEIGHT);
}
Expand Down