| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Satisfies linker dependencies for targets requiring an OpenMAX Core library. | |
| 6 // Not intended in any way to be functional!! | |
| 7 | |
| 8 #include <OMX_Core.h> | |
| 9 | |
| 10 #define NOTIMPLEMENTED_POLICY 3 // Fail at runtime via DCHECK. | |
| 11 #include "base/logging.h" | |
| 12 | |
| 13 extern "C" { | |
| 14 | |
| 15 OMX_API OMX_ERRORTYPE OMX_Init() { | |
| 16 NOTIMPLEMENTED(); | |
| 17 return OMX_ErrorNotImplemented; | |
| 18 } | |
| 19 | |
| 20 OMX_API OMX_ERRORTYPE OMX_Deinit() { | |
| 21 NOTIMPLEMENTED(); | |
| 22 return OMX_ErrorNotImplemented; | |
| 23 } | |
| 24 | |
| 25 OMX_API OMX_ERRORTYPE OMX_GetHandle(OMX_HANDLETYPE*, OMX_STRING, OMX_PTR, | |
| 26 OMX_CALLBACKTYPE*) { | |
| 27 NOTIMPLEMENTED(); | |
| 28 return OMX_ErrorNotImplemented; | |
| 29 } | |
| 30 | |
| 31 OMX_API OMX_ERRORTYPE OMX_FreeHandle(OMX_HANDLETYPE) { | |
| 32 NOTIMPLEMENTED(); | |
| 33 return OMX_ErrorNotImplemented; | |
| 34 }; | |
| 35 | |
| 36 } // extern "C" | |
| OLD | NEW |