cmake_modules/CMakePascalCompiler.cmake.in
author koda
Sun, 20 Mar 2016 03:08:51 -0400
changeset 11617 b7d5d75469ee
parent 8859 bead90828a94
permissions -rw-r--r--
Move pixel format conversion from uVideoRec to AVWrapper This has several benefits, being in C-land allows us to better use libav API and avoid mixing memory allocated from Pascal. Also the C code for the conversion loop generated by GCC or Clang is probably more optimized than by Freepascal. Finally it will simplify code in the future if we are going to enable any other pixel format than yuv420p. Change the coefficients to improve color accuracy during conversion.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8859
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     1
set(CMAKE_Pascal_COMPILER "@CMAKE_Pascal_COMPILER@")
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     2
set(CMAKE_Pascal_COMPILER_ARG1 "@CMAKE_Pascal_COMPILER_ARG1@")
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     3
set(CMAKE_Pascal_COMPILER_LOADED 1)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     4
set(CMAKE_Pascal_COMPILER_VERSION "@CMAKE_Pascal_COMPILER_VERSION@")
8750
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     5
8859
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     6
set(CMAKE_Pascal_COMPILER_ENV_VAR "FPC")
8750
d9e57426e759 barebone cmake config file to support pascal files, based off plplot's ada files
koda
parents:
diff changeset
     7
8859
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     8
set(CMAKE_Pascal_SOURCE_FILE_EXTENSIONS "pas" "pp")
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
     9
set(CMAKE_Pascal_IGNORE_EXTENSIONS ppu;PPU;h;H;o;O;obj;OBJ;def;DEF;rc;RC)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
    10
set(CMAKE_Pascal_LINKER_PREFERENCE Prefered)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
    11
set(CMAKE_Pascal_OUTPUT_EXTENSION_REPLACE 1)
bead90828a94 cmake netiquette
koda
parents: 8852
diff changeset
    12
set(CMAKE_Pascal_OUTPUT_EXTENSION ".o")