- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[bash]ExcStatus SetDCTType(int dctType) { m_dctType = dctType; return ExcStatusOk; } int GetDCTType(void) { return m_dctType; } [/bash]However, after careful searching, it appears the field is unused. Is it safe to remove this field? Is there reference to either JPEG specification or IJG documentation regarding the meaning of this field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is similar to 'use_qdct' param but due to some reason a consistency was lost. Take a look at
'JPGViewDoc.h' header:
...
class CJPGViewDoc : public CDocument
{
...
void SetDCTType( int use_qdct ) { m_param_jpeg.use_qdct = use_qdct; return; }
...
};
...
2.
In 'JPGView.rc' there is a control 'IDC_USE_QDCT'with a text 'Use fast DCT for not complete blocks'
and it looks like a letter'q' in the 'use_qdct'stands for 'quick'.
Best regards,
Sergey
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is similar to 'use_qdct' param but due to some reason a consistency was lost. Take a look at
'JPGViewDoc.h' header:
...
class CJPGViewDoc : public CDocument
{
...
void SetDCTType( int use_qdct ) { m_param_jpeg.use_qdct = use_qdct; return; }
...
};
...
2.
In 'JPGView.rc' there is a control 'IDC_USE_QDCT'with a text 'Use fast DCT for not complete blocks'
and it looks like a letter'q' in the 'use_qdct'stands for 'quick'.
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks like no.
Even ifan integer-based DCT implementations could be done results, compared to float-based
implementations,will be less accurate( roundoff problems ) but they can be calculatedfaster.
Best regards,
Sergey
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page