History

move trace related info to interface header

ruil2 committed 12 years ago

Commit 44b048e1 parent 84c1f3a7 files · +20 −22Browse files

Showing the changes to codec/api (2 of 7 files). Show all

Unified · Split

2 files
  1. codec/api/svc/codec_api.h +1 −0
  2. codec/api/svc/codec_app_def.h +12 −0
codec/api/svc/codec_api.h+1−0
@@ -191,6 +191,7 @@ long (*GetOption) (ISVCDecoder*, DECODER_OPTION eOptionId, void* pOption); · 190 unmodified lines
191};191};
192#endif192#endif
193 193
194typedef void (*WelsTraceCallback) (void* ctx, int level, const char* string);
194 195
195int WelsCreateSVCEncoder (ISVCEncoder** ppEncoder);196int WelsCreateSVCEncoder (ISVCEncoder** ppEncoder);
196void WelsDestroySVCEncoder (ISVCEncoder* pEncoder);197void WelsDestroySVCEncoder (ISVCEncoder* pEncoder);
codec/api/svc/codec_app_def.h+12−0
@@ -231,6 +231,18 @@ typedef enum { · 230 unmodified lines
231 LEVEL_5_2231 LEVEL_5_2
232} ELevelIdc;232} ELevelIdc;
233 233
234
235enum {
236 WELS_LOG_QUIET = 0x00, // Quiet mode
237 WELS_LOG_ERROR = 1 << 0, // Error log iLevel
238 WELS_LOG_WARNING = 1 << 1, // Warning log iLevel
239 WELS_LOG_INFO = 1 << 2, // Information log iLevel
240 WELS_LOG_DEBUG = 1 << 3, // Debug log iLevel
241 WELS_LOG_RESV = 1 << 4, // Resversed log iLevel
242 WELS_LOG_LEVEL_COUNT = 5,
243 WELS_LOG_DEFAULT = WELS_LOG_DEBUG // Default log iLevel in Wels codec
244};
245
234typedef struct {246typedef struct {
235 SliceModeEnum uiSliceMode; //by default, uiSliceMode will be SM_SINGLE_SLICE247 SliceModeEnum uiSliceMode; //by default, uiSliceMode will be SM_SINGLE_SLICE
236 SSliceArgument sSliceArgument;248 SSliceArgument sSliceArgument;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t