#pragma once

struct AVFrame;

namespace smartcut::core {
struct PreviewFrame;
}

namespace smartcut::media {

// Applies the permanent evaluation watermark in-place. Returns false when the
// frame cannot be made writable or its pixel layout cannot be handled safely.
bool apply_trial_watermark(AVFrame* frame);

// Applies the same permanent evaluation watermark to a CPU BGRA preview frame.
// This closes still-image delivery routes that operate after preview conversion.
bool apply_trial_watermark(core::PreviewFrame* frame);

}  // namespace smartcut::media
