Ignore:
Timestamp:
Sep 25, 2019, 3:29:26 PM (2 years ago)
Author:
Sanahuja Guillaume
Message:

use less bandwidth in vprnlite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairVisionFilter/src/CvtColor.cpp

    r157 r330  
    5757
    5858void CvtColor::UpdateFrom(const io_data *data) {
    59     IplImage *img=((cvimage*)data)->img;
     59    cvimage *img=(cvimage*)data;
    6060
    6161    data->GetMutex();
     
    6464    switch(conversion) {
    6565    case Conversion_t::ToGray:
    66         switch(((cvimage*)data)->GetDataType().GetFormat()) {
     66        switch(img->GetDataType().GetFormat()) {
    6767        case cvimage::Type::Format::YUYV:
    6868            //dspCvtColor(img,output->img,DSP_YUYV2GRAY);
Note: See TracChangeset for help on using the changeset viewer.