view qtsmc.c @ 4270:178c84b1090e

clearing safely the buffer, queryfourcc returns 0x2 (hw accel, noconv.), setting eq only if drivers i able
author alex
date Sat, 19 Jan 2002 22:42:08 +0000
parents 4b652eac6738
children 818be6ba8758
line wrap: on
line source

/*
    Apple Graphics (SMC) Decoder for MPlayer
    by Mike Melanson
*/

#include "config.h"
#include "bswap.h"

#define BE_16(x) (be2me_16(*(unsigned short *)(x)))
#define BE_32(x) (be2me_32(*(unsigned int *)(x)))

void qt_decode_smc(
  unsigned char *encoded,
  int encoded_size,
  unsigned char *decoded,
  int width,
  int height,
  int bytes_per_pixel)
{

}