Project import generated by Copybara.

PiperOrigin-RevId: 267280553
This commit is contained in:
MediaPipe Team
2019-09-04 19:11:29 -07:00
committed by jqtang
parent af67642055
commit dc9216dc59
57 changed files with 0 additions and 582 deletions
@@ -154,10 +154,6 @@ class OpenCvVideoDecoderCalculator : public CalculatorBase {
cv::COLOR_BGRA2RGBA);
}
}
<<<<<<< HEAD
cc->Outputs().Tag("VIDEO").Add(image_frame.release(), timestamp);
decoded_frames_++;
=======
// If the timestamp of the current frame is not greater than the one of the
// previous frame, the new frame will be discarded.
if (prev_timestamp_ < timestamp) {
@@ -166,7 +162,6 @@ class OpenCvVideoDecoderCalculator : public CalculatorBase {
decoded_frames_++;
}
>>>>>>> Project import generated by Copybara.
return ::mediapipe::OkStatus();
}
@@ -189,10 +184,7 @@ class OpenCvVideoDecoderCalculator : public CalculatorBase {
int frame_count_;
int decoded_frames_ = 0;
ImageFormat::Format format_;
<<<<<<< HEAD
=======
Timestamp prev_timestamp_ = Timestamp::Unset();
>>>>>>> Project import generated by Copybara.
};
REGISTER_CALCULATOR(OpenCvVideoDecoderCalculator);