MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
DetectLetterbox.h
Go to the documentation of this file.
1 // -*- Mode: c++ -*-
2 
3 #include "mythplayer.h"
4 
5 using namespace std;
6 
7 class MythPlayer;
8 
9 class MTV_PUBLIC DetectLetterbox
10 {
11 public:
12  DetectLetterbox(MythPlayer* const player);
13  ~DetectLetterbox();
14  void SetDetectLetterbox(bool detect);
15  bool GetDetectLetterbox() const;
16  void Detect(VideoFrame *frame);
17  void SwitchTo(VideoFrame *frame);
18 
19 private:
22 
24  AdjustFillMode detectLetterboxDetectedMode; // Wich mode was last detected
25  long long detectLetterboxSwitchFrame; // On wich frame was the mode switch detected
29 
31 
34 };
35 
36 /* vim: set expandtab tabstop=4 shiftwidth=4: */