* Implementing Gstreamer projection * Moved back to QtQuick video sink, still no display * "works" but spikes cpu * merge upstream develop * Missed a merge conflict * added resize * GSTVideoOutput works within ia openauto frame now * Fixed up cmake for gst * Add destructor for GST * Added PI4 support * Accidently added a bad cmake run at some point * Stylistic changes * Cleaning up unused variables * Stylistic update * Stylistic Changes * Quick merge fix * Review feedback * Post review feedback * Left handed pointers/CMake fix Co-authored-by: Cole Brinsfield <brinsfield.cole@gmail.com>
16 lines
477 B
CMake
16 lines
477 B
CMake
|
|
function( findRpiRevision OUTPUT )
|
|
# Find it with an automated script
|
|
execute_process( COMMAND grep -Po "^Revision\\s*:\\s*\\K[[:xdigit:]]+" /proc/cpuinfo OUTPUT_VARIABLE TMP )
|
|
|
|
# If have not found the Revision number, use the last version
|
|
if ( TMP )
|
|
message( "-- Detecting Raspberry Pi Revision Number: ${TMP}" )
|
|
else()
|
|
set( TMP "0006" )
|
|
message( WARNING "-- Could NOT find Raspberry Pi revision!" )
|
|
endif()
|
|
|
|
set( ${OUTPUT} "${TMP}" PARENT_SCOPE )
|
|
endfunction()
|