Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHTTP download Pin
kashifkhwaja8-Oct-02 2:50
kashifkhwaja8-Oct-02 2:50 
GeneralRe: HTTP download Pin
dazinith8-Oct-02 3:48
dazinith8-Oct-02 3:48 
GeneralCFormView border is ugly Pin
DanYELL8-Oct-02 2:42
DanYELL8-Oct-02 2:42 
GeneralRe: CFormView border is ugly Pin
Chris Hambleton8-Oct-02 4:25
Chris Hambleton8-Oct-02 4:25 
GeneralRe: CFormView border is ugly Pin
Chris Richardson8-Oct-02 9:55
Chris Richardson8-Oct-02 9:55 
General2 appl with the same DLL problem Pin
Raphael Kindt8-Oct-02 2:18
Raphael Kindt8-Oct-02 2:18 
GeneralRe: 2 appl with the same DLL problem Pin
Iain Clarke, Warrior Programmer8-Oct-02 2:34
Iain Clarke, Warrior Programmer8-Oct-02 2:34 
QuestionEFM problem? Pin
chen8-Oct-02 1:54
chen8-Oct-02 1:54 
Hi,

As you known every 8-bit byte of data in a CD frame is converted to a 14-bit word using EFM before it is written. This ensures that the data spiral has no pits smaller than 3 bits or larger than 11 bits in length. But if you have an EFM word that ends in a "1", and the very next EFM word begins with a "1"? This breaks the "always more than two consecutive zeros" rule, and results in a pit smaller than 3 bits. This is why 3 merge bits are always inserted between EFM encoded words on the CD.

These 3 merge bits can be anything, but how to select them? Is there a optimal or near-optimal algorithm for doing this?
This can be seen an optimization problem with two constrains:
(1) The data spiral has no pits smaller than 3 bits or larger than 11 bits in length after 3 bits '0' or '1' have been added.
(2) The numbers of '0' and '1' should be about 50% in general.

Did you have any idear about this? or some related materials?

Thanks in advance!





chen
AnswerRe: EFM problem? Pin
Mike Nordell8-Oct-02 4:30
Mike Nordell8-Oct-02 4:30 
GeneralVisual C++ 6.0 incremental compiling Pin
Anonymous8-Oct-02 1:53
Anonymous8-Oct-02 1:53 
GeneralRe: Visual C++ 6.0 incremental compiling Pin
Roger Allen8-Oct-02 2:06
Roger Allen8-Oct-02 2:06 
GeneralResource compiler problem Pin
Roger Allen8-Oct-02 1:50
Roger Allen8-Oct-02 1:50 
GeneralProblem solved! Pin
Roger Allen8-Oct-02 2:23
Roger Allen8-Oct-02 2:23 
GeneralGetDIBits & SetDIBits in Windows CE Pin
Centaurus8-Oct-02 1:47
Centaurus8-Oct-02 1:47 
GeneralProblem relating to mciSendCommand Pin
Smithajacobk8-Oct-02 0:54
sussSmithajacobk8-Oct-02 0:54 
Generalrandom number Pin
wong19078-Oct-02 0:45
wong19078-Oct-02 0:45 
GeneralRe: random number Pin
jmkhael8-Oct-02 0:48
jmkhael8-Oct-02 0:48 
GeneralRe: random number Pin
Le centriste8-Oct-02 3:56
Le centriste8-Oct-02 3:56 
GeneralRe: random number Pin
Mike Nordell8-Oct-02 4:35
Mike Nordell8-Oct-02 4:35 
GeneralString Error Pin
John Bosko7-Oct-02 23:52
John Bosko7-Oct-02 23:52 
GeneralRe: String Error Pin
jmkhael8-Oct-02 0:46
jmkhael8-Oct-02 0:46 
GeneralRe: String Error Pin
Steve S8-Oct-02 1:06
Steve S8-Oct-02 1:06 
GeneralRe: String Error Pin
jmkhael8-Oct-02 1:06
jmkhael8-Oct-02 1:06 
GeneralDownload resume Pin
obr7-Oct-02 23:49
obr7-Oct-02 23:49 
GeneralRe: Download resume Pin
Jon Hulatt8-Oct-02 2:37
Jon Hulatt8-Oct-02 2:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.