Skip to content

Commit

Permalink
Merge pull request #10 from AXERA-TECH/v1.45.0_P39
Browse files Browse the repository at this point in the history
V1.45.0 p39
  • Loading branch information
BUG1989 authored Nov 12, 2024
2 parents c9e450e + 20340ab commit 71ac841
Show file tree
Hide file tree
Showing 912 changed files with 58,843 additions and 21,653 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## What is this?

this is a ax650 linux bsp sdk form AX650_SDK_V1.45.0_P1. currently it is application layer open source.
this is a ax650 linux bsp sdk form AX650_SDK_V1.45.0_P39. currently it is application layer open source.

## How to compile

Expand Down
14 changes: 12 additions & 2 deletions app/demo/bin/boxdemo/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ fi
# settings
#
# ----------------------------------------------------------------------------------------------#
# core dump
core_dump=1

# Check whether config coredump path (Only "-q 0" to disable config)
if [[ $(expr match "$*" ".*-q 0.*") != 0 ]]
then
core_dump=0
else
core_dump=1
fi

# mount video
mount_video=1
Expand Down Expand Up @@ -55,6 +61,10 @@ export TIMESTAMP_APP_BUF_NUM=20
# RTP transport mode, 0: UDP (default) 1: TCP
# export RTP_TRANSPORT_MODE=1

# net
echo 1048576 > /proc/sys/net/core/rmem_max
echo 786432 > /proc/sys/net/core/rmem_default

echo "rm all syslogs ..."
rm /opt/data/AXSyslog/syslog/*
mkdir -p /var/log/
Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AencObserver.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AplayObserver.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioCap.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioCap.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioCapDev.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
8 changes: 4 additions & 4 deletions app/demo/src/audio/AudioCapDev.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand All @@ -20,7 +20,7 @@
#define AUDIO_CAP_DEV_META_SIZE (8 * 1024)
#define AUDIO_CAP_DEV_DEFAULT_BLK_SIZE (8 * 1024)
#define AUDIO_CAP_DEV_DEFAULT_BLK_CNT (64)
#define AUDIO_CAP_DEV_DEFAULT_DEPTH (32)
#define AUDIO_CAP_DEV_DEFAULT_DEPTH (30)

typedef struct audio_CAP_FRAME_T {
AX_U32 nChnCnt;
Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioDecoder.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioDecoder.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioEncoder.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioEncoder.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioFilePlay.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioFilePlay.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioPlay.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioPlay.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioPlayDev.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
8 changes: 4 additions & 4 deletions app/demo/src/audio/AudioPlayDev.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand All @@ -15,7 +15,7 @@
#include "ax_comm_aio.h"
#include "ax_ao_api.h"

#define AUDIO_PLAY_DEV_DEFAULT_DEPTH (32)
#define AUDIO_PLAY_DEV_DEFAULT_DEPTH (30)

typedef enum audioPLAY_DEV_STATUS_E {
AUDIO_PLAY_DEV_STATUS_DISABLE,
Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/audio/AudioWrapperObserver.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/capture/Capture.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/capture/Capture.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/capture/CaptureObserver.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/config/ini/IniWrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/config/ini/IniWrapper.hpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/config_parser/AlgoCfgParser.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
6 changes: 3 additions & 3 deletions app/demo/src/config_parser/AlgoCfgParser.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/**************************************************************************************************
*
* Copyright (c) 2019-2023 Axera Semiconductor (Ningbo) Co., Ltd. All Rights Reserved.
* Copyright (c) 2019-2023 Axera Semiconductor (Shanghai) Co., Ltd. All Rights Reserved.
*
* This source file is the property of Axera Semiconductor (Ningbo) Co., Ltd. and
* This source file is the property of Axera Semiconductor (Shanghai) Co., Ltd. and
* may not be copied or distributed in any isomorphic form without the prior
* written consent of Axera Semiconductor (Ningbo) Co., Ltd.
* written consent of Axera Semiconductor (Shanghai) Co., Ltd.
*
**************************************************************************************************/

Expand Down
Loading

0 comments on commit 71ac841

Please sign in to comment.