2012-09-02 12:41:38 +00:00
|
|
|
/* RetroArch - A frontend for libretro.
|
2014-01-01 00:50:59 +00:00
|
|
|
* Copyright (C) 2010-2014 - Hans-Kristian Arntzen
|
2012-09-02 12:41:38 +00:00
|
|
|
*
|
|
|
|
* RetroArch is free software: you can redistribute it and/or modify it under the terms
|
|
|
|
* of the GNU General Public License as published by the Free Software Found-
|
|
|
|
* ation, either version 3 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* RetroArch 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 General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with RetroArch.
|
|
|
|
* If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2012-09-02 12:30:46 +00:00
|
|
|
#ifndef PIXCONV_H__
|
|
|
|
#define PIXCONV_H__
|
|
|
|
|
2013-11-20 17:15:44 +00:00
|
|
|
#include "scaler_common.h"
|
|
|
|
|
2012-09-02 12:30:46 +00:00
|
|
|
void conv_0rgb1555_argb8888(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2012-10-19 23:12:02 +00:00
|
|
|
void conv_0rgb1555_rgb565(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
2012-10-21 20:58:33 +00:00
|
|
|
|
|
|
|
void conv_rgb565_0rgb1555(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
2012-10-19 23:12:02 +00:00
|
|
|
|
|
|
|
void conv_rgb565_argb8888(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2014-08-08 02:34:50 +00:00
|
|
|
void conv_rgba4444_argb8888(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2012-09-02 12:30:46 +00:00
|
|
|
void conv_bgr24_argb8888(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
|
|
|
void conv_argb8888_0rgb1555(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2012-10-19 23:12:02 +00:00
|
|
|
void conv_argb8888_rgb565(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2012-09-02 12:30:46 +00:00
|
|
|
void conv_argb8888_bgr24(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2013-01-03 00:18:19 +00:00
|
|
|
void conv_argb8888_abgr8888(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2012-09-02 12:30:46 +00:00
|
|
|
void conv_0rgb1555_bgr24(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2012-10-19 23:12:02 +00:00
|
|
|
void conv_rgb565_bgr24(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2013-11-20 14:31:56 +00:00
|
|
|
void conv_yuyv_argb8888(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
2012-09-02 12:30:46 +00:00
|
|
|
void conv_copy(void *output, const void *input,
|
|
|
|
int width, int height,
|
|
|
|
int out_stride, int in_stride);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|