Skip to content
Snippets Groups Projects

Add configuration to stream, H264 support, codec selection

Merged Nicolas Pope requested to merge feature/configstream into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -30,7 +30,7 @@ bool OpenCVDecoder::decode(const ftl::codecs::Packet &pkt, cv::Mat &out) {
cv::Rect roi(cx,cy,chunk_width,chunk_height);
cv::Mat chunkHead = out(roi);
LOG(INFO) << "DECODE JPEG " << (int)pkt.block_number << "/" << chunk_dim;
//LOG(INFO) << "DECODE JPEG " << (int)pkt.block_number << "/" << chunk_dim;
// Decode in temporary buffers to prevent long locks
cv::imdecode(pkt.data, cv::IMREAD_UNCHANGED, &tmp);
Loading