1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-31 15:43:57 +00:00

Revert accidentally pushed changes

This commit is contained in:
Bryan Roe
2022-02-04 17:22:47 -08:00
parent c7f4906889
commit d821d53f19
2 changed files with 0 additions and 534 deletions

View File

@@ -75,34 +75,6 @@ EncoderParameters encParam;
LPVOID tilebuffer = NULL;
unsigned int tilebuffersize = 0;
extern "C"
{
void __jpeghelp(void *xx)
{
EncoderParameters *pp = (EncoderParameters*)xx;
GUID x = EncoderQuality;
printf("ImageCodecInfo: %d", sizeof(ImageCodecInfo));
printf("MimeType: %d\n", FIELD_OFFSET(ImageCodecInfo, MimeType));
printf("Clsid: %d\n", FIELD_OFFSET(ImageCodecInfo, Clsid));
printf("EncoderParameters::Count => %d\n", FIELD_OFFSET(EncoderParameters, Count));
printf("EncoderParameters::Parameter => %d\n", FIELD_OFFSET(EncoderParameters, Parameter));
printf("EncoderParameter::Guid => %d\n", FIELD_OFFSET(EncoderParameter, Guid));
printf("EncoderParameter::NumberOfValues => %d\n", FIELD_OFFSET(EncoderParameter, NumberOfValues));
printf("EncoderParameter::Type => %d\n", FIELD_OFFSET(EncoderParameter, Type));
printf("EncoderParameter::Value => %d\n", FIELD_OFFSET(EncoderParameter, Value));
printf("sizeof(EncoderParameters): %d\n", sizeof(EncoderParameters));
}
void __jpeghelp2(void *x)
{
ImageCodecInfo *info = (ImageCodecInfo*)x;
printf("MIME: %d\n", (char*)&(info->MimeType) - (char*)info);
if (info != NULL)
{
printf("x");
}
}
}
// Used to obtain the GUID for the image encoder.
int GetEncoderClsid(const WCHAR* format, CLSID* pClsid)
{