capture_op.cpp 452 B

1234567891011121314151617181920212223242526
  1. #include <stdint.h>
  2. #include <memory>
  3. #include "api/video/video_frame.h"
  4. #include "../common/comm.h"
  5. #include "capture_op.h"
  6. CaptureOp::CaptureOp(RenderPosition type,int32_t index):_type(type),_index(index)
  7. {
  8. _forward=true;
  9. }
  10. RenderPosition CaptureOp::GetType()
  11. {
  12. return _type;
  13. }
  14. int32_t CaptureOp::GetIndex()
  15. {
  16. return _index;
  17. }
  18. bool CaptureOp::IsForward()
  19. {
  20. return _forward;
  21. }
  22. void CaptureOp::SetForward(bool b)
  23. {
  24. _forward=b;
  25. }