# ----------------------------------------------------------------------------
# Copyright (c) 2025-2026 Huawei Technologies Co., Ltd.
# This program is free software, you can redistribute it and/or modify it under the terms and conditions of
# CANN Open Software License Agreement Version 2.0 (the "License").
# Please refer to the License for details. You may not use this file except in compliance with the License.
# THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED,
# INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
# See LICENSE in the root of the software repository for the full text of the License.
# ----------------------------------------------------------------------------
ops-cv:
  src:
    release:
      - image/
      - objdetect/
      - common/
    unrelease:
      - examples/
      - docs/
      - tests/
      - scripts/
      - cmake/
      - experimental/
      - .clang-format
      - build.sh
      - classify_rule.yaml
      - install_deps.sh
      - LICENSE
      - OAT.xml
      - requirements.txt
      - Third_Party_Open_Source_Software_Notice
      - version.info
      - "*.md"
      - "*/*/*.md"
      - "*/*/tests/"
      - "*/*/examples/"
      - "*/*/docs/"
      - CMakeLists.txt
      - "*/CMakeLists.txt"
      - "*/*/CMakeLists.txt"
      - "*/*/*/CMakeLists.txt"
      - "*/*/*/*/CMakeLists.txt"
      - "*/*/*/*/*/CMakeLists.txt"
      - "*/*/*/*/*/*/CMakeLists.txt"
      - "*/*/*/*_def.cpp"
      # - "*/*/*/*_apt.cpp"
      - "*/*/op_host/config/"
      - "build/third_party/src/external_eigen_cv/"


objdetect@ops-cv:
    src:                                 
        release:
            style:     
                - ops/ops-cv/image/col2im/
                - ops/ops-cv/image/three_interpolate_backward/
                - ops/ops-cv/objdetect/
            opensource_style: null
            kernel_style: null
        unrelease:
            test_code: 
                - ops/ops-cv/image/col2im/examples/
                - ops/ops-cv/image/col2im/tests/
                - ops/ops-cv/image/three_interpolate_backward/examples/
                - ops/ops-cv/image/three_interpolate_backward/tests/
                - ops/ops-cv/objdetect/stack_group_points/examples/
                - ops/ops-cv/objdetect/stack_group_points/tests/
                - ops/ops-cv/objdetect/iou_v2/examples/
                - ops/ops-cv/objdetect/iou_v2/tests/
                - ops/ops-cv/objdetect/non_max_suppression_v6/tests/
                - ops/ops-cv/objdetect/roi_align_grad/tests/
                - ops/ops-cv/objdetect/ciou/examples/
                - ops/ops-cv/objdetect/ciou/tests/
                - ops/ops-cv/objdetect/roi_align/examples/
                - ops/ops-cv/objdetect/roi_align/tests/
                - ops/ops-cv/objdetect/mrgba_custom/examples/
                - ops/ops-cv/objdetect/mrgba_custom/tests/
                - ops/ops-cv/objdetect/roi_pooling_with_arg_max/examples/
                - ops/ops-cv/objdetect/roi_pooling_grad_with_arg_max/examples/
                - ops/ops-cv/objdetect/roi_pooling_grad_with_arg_max/tests/
                - ops/ops-cv/objdetect/roi_align_rotated_grad/examples/
                - ops/ops-cv/objdetect/roi_align_rotated_grad/tests/
                - ops/ops-cv/objdetect/background_replace/examples/
                - ops/ops-cv/objdetect/background_replace/tests/
                - ops/ops-cv/objdetect/roi_align_rotated/examples/
                - ops/ops-cv/objdetect/roi_align_rotated/tests/
                - ops/ops-cv/objdetect/blend_images_custom/examples/
                - ops/ops-cv/objdetect/blend_images_custom/tests/
            non_delivery: null
            open_source: null

image@ops-cv:
  src:
    release:
      style:
        - ops/ops-cv/image/grid_sample/
        - ops/ops-cv/image/grid_sample2_d/
        - ops/ops-cv/image/grid_sample3_d/
        - ops/ops-cv/image/grid_sampler2_d_grad/
        - ops/ops-cv/image/grid_sampler3_d_grad/
        - ops/ops-cv/image/resize_upsample_trilinear/
        - ops/ops-cv/image/upsample_bicubic2d/
        - ops/ops-cv/image/upsample_bicubic2d_aa/
        - ops/ops-cv/image/upsample_bicubic2d_aa_grad/
        - ops/ops-cv/image/upsample_bicubic2d_grad/
        - ops/ops-cv/image/upsample_bilinear2d/
        - ops/ops-cv/image/upsample_bilinear2d_aa/
        - ops/ops-cv/image/upsample_bilinear2d_aa_backward/
        - ops/ops-cv/image/upsample_bilinear2d_grad/
        - ops/ops-cv/image/upsample_linear1d/
        - ops/ops-cv/image/upsample_nearest/
        - ops/ops-cv/image/upsample_nearest2d_grad/
        - ops/ops-cv/image/upsample_nearest3d/
        - ops/ops-cv/image/upsample_nearest3d_grad/
        - ops/ops-cv/image/upsample_nearest_exact2d_grad/
        - ops/ops-cv/image/upsample_nearest_exact3d/
        - ops/ops-cv/image/upsample_nearest_exact3d_grad/
        - ops/ops-cv/image/upsample_trilinear3d_backward/
        - ops/ops-cv/image/resize_bilinear_v2/CMakeLists.txt
        - ops/ops-cv/image/resize_bilinear_v2/op_host/resize_bilinear_v2_def.cpp
        - ops/ops-cv/image/resize_nearest_neighbor_v2/CMakeLists.txt
        - ops/ops-cv/image/resize_nearest_neighbor_v2/op_host/resize_nearest_neighbor_v2_def.cpp
      opensource_style: null
      kernel_style: null
    unrelease:
      test_code:
        - ops/ops-cv/image/*/docs/
        - ops/ops-cv/image/*/examples/
        - ops/ops-cv/image/*/tests/
      non_delivery: null
      open_source: null

conv_forward_ascendc@ops-cv:
  src:
    release:
      style:
        - ops/ops-cv/image/aipp/
      opensource_style: null
      kernel_style: null
    unrelease:
      test_code:
        - ops/ops-cv/image/aipp/examples/
        - ops/ops-cv/image/aipp/tests/
      non_delivery: null
      open_source: null