Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / video_coding / main / test / normal_test.h
index 28a37c4..63e66b3 100644 (file)
@@ -32,15 +32,15 @@ class VCMNTEncodeCompleteCallback : public webrtc::VCMPacketizationCallback
   void RegisterTransportCallback(webrtc::VCMPacketizationCallback* transport);
   // process encoded data received from the encoder,
   // pass stream to the VCMReceiver module
-  int32_t
-  SendData(const webrtc::FrameType frameType,
-           const uint8_t payloadType,
-           const uint32_t timeStamp,
-           int64_t capture_time_ms,
-           const uint8_t* payloadData,
-           const uint32_t payloadSize,
-           const webrtc::RTPFragmentationHeader& fragmentationHeader,
-           const webrtc::RTPVideoHeader* videoHdr);
+  virtual int32_t SendData(
+      const webrtc::FrameType frameType,
+      const uint8_t payloadType,
+      const uint32_t timeStamp,
+      int64_t capture_time_ms,
+      const uint8_t* payloadData,
+      const uint32_t payloadSize,
+      const webrtc::RTPFragmentationHeader& fragmentationHeader,
+      const webrtc::RTPVideoHeader* videoHdr) OVERRIDE;
 
   // Register exisitng VCM.
   // Currently - encode and decode with the same vcm module.
@@ -73,8 +73,10 @@ public:
         _currentHeight(0) {}
     virtual ~VCMNTDecodeCompleCallback();
     void SetUserReceiveCallback(webrtc::VCMReceiveCallback* receiveCallback);
+
     // will write decoded frame into file
-    int32_t FrameToRender(webrtc::I420VideoFrame& videoFrame);
+    virtual int32_t FrameToRender(webrtc::I420VideoFrame& videoFrame) OVERRIDE;
+
     int32_t DecodedBytes();
 private:
     FILE*             _decodedFile;