michael@0: /* michael@0: * Copyright (C) 2011 The Android Open Source Project michael@0: * michael@0: * Licensed under the Apache License, Version 2.0 (the "License"); michael@0: * you may not use this file except in compliance with the License. michael@0: * You may obtain a copy of the License at michael@0: * michael@0: * http://www.apache.org/licenses/LICENSE-2.0 michael@0: * michael@0: * Unless required by applicable law or agreed to in writing, software michael@0: * distributed under the License is distributed on an "AS IS" BASIS, michael@0: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. michael@0: * See the License for the specific language governing permissions and michael@0: * limitations under the License. michael@0: */ michael@0: michael@0: #ifndef I420_COLOR_CONVERTER_H michael@0: #define I420_COLOR_CONVERTER_H michael@0: michael@0: #include michael@0: michael@0: // This is a wrapper around the I420 color converter functions in michael@0: // II420ColorConverter, which is loaded from a shared library. michael@0: class I420ColorConverter: public II420ColorConverter { michael@0: public: michael@0: I420ColorConverter(); michael@0: ~I420ColorConverter(); michael@0: michael@0: // Returns true if the converter functions are successfully loaded. michael@0: bool isLoaded(); michael@0: private: michael@0: void* mHandle; michael@0: }; michael@0: michael@0: #endif /* I420_COLOR_CONVERTER_H */