2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FMedia_PlayerVideoEventArg.h
20 * @brief This header file contains the declaration of Tizen::Media namespace.
25 #ifndef _FMEDIA_INTERNAL_PLAYER_VIDEO_EVENTARG_H_
26 #define _FMEDIA_INTERNAL_PLAYER_VIDEO_EVENTARG_H_
28 #include <FGrpDimension.h>
29 #include <FGrpBitmapCommon.h>
30 #include <FOspConfig.h>
31 #include <FBaseRtIEventArg.h>
32 #include <FBaseRtEvent.h>
33 #include <FBaseErrorDefine.h>
34 #include <FBaseObject.h>
35 #include <FBaseDataType.h>
36 #include <FMediaPlayerTypes.h>
37 #include "FMedia_PlayerVideoEventTypes.h"
39 namespace Tizen {namespace Media
42 class _PlayerVideoEventTypeArg
43 : public Tizen::Base::Runtime::IEventArg
44 , public Tizen::Base::Object
48 _PlayerVideoEventTypeArg(void);
49 virtual ~_PlayerVideoEventTypeArg(void);
50 _PlayerVideoEventType GetVideoEventType(void) const;
51 void SetVideoEventType(_PlayerVideoEventType eType);
54 _PlayerVideoEventTypeArg(const _PlayerVideoEventTypeArg& rhs);
55 _PlayerVideoEventTypeArg& operator =(const _PlayerVideoEventTypeArg& rhs);
57 _PlayerVideoEventType __playerVideoEventType;
61 class _PlayerVideoEventArg
62 : public _PlayerVideoEventTypeArg
66 _PlayerVideoEventArg(void);
67 virtual ~_PlayerVideoEventArg(void);
69 byte* GetBuffer(void) const;
70 void SetBuffer(byte* data);
72 int GetSizeOfBuffer(void) const;
73 void SetSizeOfBuffer(int size);
75 Tizen::Graphics::BitmapPixelFormat GetPixelFormat(void) const;
76 void SetPixelFormat(Tizen::Graphics::BitmapPixelFormat pixelFormat);
78 Tizen::Graphics::Dimension GetDim(void) const;
79 void SetDim(Tizen::Graphics::Dimension dim);
81 result GetResult(void) const;
82 void SetResult(result r);
85 byte* __pDecodedFrameDataBuffer;
87 Tizen::Graphics::Dimension __dim;
88 Tizen::Graphics::BitmapPixelFormat __pixelFormat;