Blame interface/VideoPostProcessHost.h

Packit 1244b8
/*
Packit 1244b8
 * Copyright (C) 2013 Intel Corporation. All rights reserved.
Packit 1244b8
 *
Packit 1244b8
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit 1244b8
 * you may not use this file except in compliance with the License.
Packit 1244b8
 * You may obtain a copy of the License at
Packit 1244b8
 *
Packit 1244b8
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit 1244b8
 *
Packit 1244b8
 * Unless required by applicable law or agreed to in writing, software
Packit 1244b8
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit 1244b8
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit 1244b8
 * See the License for the specific language governing permissions and
Packit 1244b8
 * limitations under the License.
Packit 1244b8
 */
Packit 1244b8
Packit 1244b8
#ifndef VIDEO_POST_PROCESS_HOST_H_
Packit 1244b8
#define VIDEO_POST_PROCESS_HOST_H_
Packit 1244b8
Packit 1244b8
#include <string>
Packit 1244b8
#include <vector>
Packit 1244b8
#include <VideoPostProcessInterface.h>
Packit 1244b8
Packit 1244b8
/** \file VideoPostProcessHost.h
Packit 1244b8
*/
Packit 1244b8
Packit 1244b8
/** \fn IVideoPostProcess *createVideoPostProcess(const char *mimeType)
Packit 1244b8
 * \brief create encoder basing on given mimetype
Packit 1244b8
*/
Packit 1244b8
YamiMediaCodec::IVideoPostProcess *createVideoPostProcess(const char *mimeType);
Packit 1244b8
/** \fn void releaseVideoPostProcess(IVideoPostProcess *p)
Packit 1244b8
 * \brief destroy encoder
Packit 1244b8
*/
Packit 1244b8
void releaseVideoPostProcess(YamiMediaCodec::IVideoPostProcess * p);
Packit 1244b8
/** \fn void getVideoPostProcessMimeTypes()
Packit 1244b8
 * \brief return the MimeTypes enabled in the current build
Packit 1244b8
*/
Packit 1244b8
std::vector<std::string> getVideoPostProcessMimeTypes();
Packit 1244b8
Packit 1244b8
typedef YamiMediaCodec::IVideoPostProcess *(*YamiCreateVideoPostProcessFuncPtr) (const char *mimeType);
Packit 1244b8
typedef void (*YamiReleaseVideoPostProcessFuncPtr)(YamiMediaCodec::IVideoPostProcess * p);
Packit 1244b8
#endif                          /* VIDEO_POST_PROCESS_HOST_H_ */