1 Star 0 Fork 0

milkv-jupiter/k1x-vpu-test

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
format.sh 894 Bytes
一键复制 编辑 原始数据 按行查看 历史
James Deng 提交于 2024-03-01 19:28 . Update for v1.0alpha2
#!/bin/bash
###
# Copyright 2022-2023 SPACEMIT. All rights reserved.
# Use of this source code is governed by a BSD-style license
# that can be found in the LICENSE file.
#
# @Author: David(qiang.fu@spacemit.com)
# @Date: 2023-01-18 11:26:26
# @LastEditTime: 2023-11-02 17:56:41
# @Description: code style optimization, use clang-format to format the code
###
###
# How to use
# 1. apt install clang-format(if not root, do it in docker)
# 2. su username, switch from root to normal
# 3. ./format.sh in the mpp root directory
# 4. check the code and verify it again, code-stype optimization may cause trouble
###
find . -name "*.cc" -o -name "*.c" -o -name "*.h" -o -name "*.hh" -o -name "*.cpp" -o -name "*.hpp" | xargs clang-format -style=Google -i
git checkout include/mvx-v4l2-controls.h
git checkout include/fw_v2/mve_protocol_def.h
git checkout include/mvx_log_ram.h
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/milkv-jupiter/k1x-vpu-test.git
git@gitee.com:milkv-jupiter/k1x-vpu-test.git
milkv-jupiter
k1x-vpu-test
k1x-vpu-test
bl-v1.0.y

搜索帮助