Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: third_party/openmax/omx_stub.cc

Issue 431041: Implement method stubs for OpenMAX IL instead of relying on -lOmxCore. (Closed)
Patch Set: Created 11 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « media/omx/omx_video_decoder.cc ('k') | third_party/openmax/openmax.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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"
OLDNEW
« no previous file with comments | « media/omx/omx_video_decoder.cc ('k') | third_party/openmax/openmax.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698