#ifndef RTC_TOOLS_FRAME_ANALYZER_VIDEO_COLOR_ALIGNER_H_
#define RTC_TOOLS_FRAME_ANALYZER_VIDEO_COLOR_ALIGNER_H_
#include <array>
#include "api/scoped_refptr.h"
#include "api/video/video_frame_buffer.h"
#include "rtc_tools/video_file_reader.h"
namespace webrtc {
namespace test {
ColorTransformationMatrix;
ColorTransformationMatrix CalculateColorTransformationMatrix(
const rtc::scoped_refptr<Video>& reference_video,
const rtc::scoped_refptr<Video>& test_video);
ColorTransformationMatrix CalculateColorTransformationMatrix(
const rtc::scoped_refptr<I420BufferInterface>& reference_frame,
const rtc::scoped_refptr<I420BufferInterface>& test_frame);
rtc::scoped_refptr<Video> AdjustColors(
const ColorTransformationMatrix& color_matrix,
const rtc::scoped_refptr<Video>& video);
rtc::scoped_refptr<I420BufferInterface> AdjustColors(
const ColorTransformationMatrix& color_matrix,
const rtc::scoped_refptr<I420BufferInterface>& frame);
}
}
#endif