ContRap-Libraries
|
This file is a part of ContRap. More...
Namespaces | |
namespace | crp |
Functions | |
Users lasaruk Projects ContRap Libraries src imageprocessing imageencoder h CONTRAP_IMAGES_API int CONTRAP_IMAGES_API | crp::codec_from_name (const std::string &codec_name) |
Returns the codec type from name. | |
CONTRAP_IMAGES_API void CONTRAP_IMAGES_API | crp::encode_YpCbCr_422_32_to_ARGB_32 (unsigned char *input, unsigned char *output, int size) |
Encodes an image in Y'CbCr format with 32 bits per pixel subdivided in 4:2:2 bytes. | |
CONTRAP_IMAGES_API void CONTRAP_IMAGES_API | crp::encode_GRAYVALUE_8_to_ARGB_32 (unsigned char *input, unsigned char *output, int size) |
Encodes an image in grayvalue format to an ARGB image with 32 bits. | |
CONTRAP_IMAGES_API void CONTRAP_IMAGES_API | crp::encode_GRAYVALUE_16_to_ARGB_32 (unsigned char *input, unsigned char *output, int size) |
Encodes an image in 16-bit linear format to an ARGB image with 32 bits. | |
CONTRAP_IMAGES_API void CONTRAP_IMAGES_API | crp::encode_ARGB_32_to_GRAYVALUE_8 (unsigned char *input, unsigned char *output, int size) |
Encodes an image in grayvalue format to an ARGB image with 32 bits. | |
CONTRAP_IMAGES_API bool CONTRAP_IMAGES_API | crp::encode_image (const RawImage &input, RawImage &output) |
Encodes image according to the codecs provided in the images. |
This file is a part of ContRap.
Copyright (c) 2009 Aless Lasaruk
ContRap is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
ContRap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with ContRap. If not, see <http://www.gnu.org/licenses/>.
This file contains encoders for different image types