Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
url = https://github.com/pjkundert/ezpwd-reed-solomon.git
[submodule "testdata"]
path = testdata
url = https://github.com/happycube/ld-decode-testdata
url = https://github.com/happycube/ld-decode-testdata-ci
15 changes: 15 additions & 0 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,21 @@

This project uses CMake and enforces out-of-source builds. All build artifacts are kept in a separate `build/` directory, keeping the source tree clean.

## Cloning the Repository

This project uses git submodules for test data and dependencies. Clone the repository with `--recursive` to automatically fetch all submodules:

```bash
git clone --recursive https://github.com/happycube/ld-decode.git
cd ld-decode
```

**If you already cloned without `--recursive`**, initialize and update submodules:

```bash
git submodule update --init --recursive
```

## Quick Start

```bash
Expand Down
10 changes: 5 additions & 5 deletions cmake_modules/LdDecodeTests.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ add_test(
--cut-length 4
--expect-frames 4
--expect-vbi 9151563,15925845,15925845
${TESTDATA_DIR}/ve-snw-cut.lds
${TESTDATA_DIR}/ntsc/ve-snw-cut.ldf
)

add_test(
Expand All @@ -85,7 +85,7 @@ add_test(
--expect-bpsnr 43.3
--expect-vbi 9151563,15925840,15925840
--expect-efm-samples 40572
${TESTDATA_DIR}/ve-snw-cut.lds
${TESTDATA_DIR}/ntsc/ve-snw-cut.ldf
)

add_test(
Expand All @@ -97,7 +97,7 @@ add_test(
--expect-frames 4
--expect-bpsnr 37.6
--expect-vbi 9167913,15785241,15785241
${TESTDATA_DIR}/issues/176/issue176.lds
${TESTDATA_DIR}/ntsc/issue176.ldf
)

add_test(
Expand All @@ -111,7 +111,7 @@ add_test(
--expect-vbi 9151527,16065688,16065688
--expect-vitc 2,10,8,13,4,3,0,1
--expect-efm-samples 5292
${TESTDATA_DIR}/pal/jason-testpattern.lds
${TESTDATA_DIR}/pal/jason-testpattern.ldf
)

add_test(
Expand All @@ -129,7 +129,7 @@ add_test(
NAME ldf-reader-full
COMMAND ${SCRIPTS_DIR}/test-ldf-reader
--build ${CMAKE_BINARY_DIR}
--testdata ${TESTDATA_DIR}
--testdata ${TESTDATA_DIR}/ntsc
--input ggv-ntsc-mb-v2800.ldf
--full-sha256 0984ab9a4e66b49426b61e2d4de266e7783801dc48f566ed805257bc596098ec
--offset 1000000
Expand Down
2 changes: 1 addition & 1 deletion testdata