| 243 | | + D e s t r o y C o d e r C o m p o n e n t % |
| 244 | | % % |
| 245 | | % % |
| 246 | | % % |
| 247 | | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 248 | | % |
| 249 | | % DestroyCoderComponent() destroys the coder component. |
| 250 | | % |
| 251 | | % The format of the DestroyCoderComponent method is: |
| 252 | | % |
| 253 | | % DestroyCoderComponent(void) |
| 254 | | % |
| 255 | | */ |
| 256 | | MagickExport void DestroyCoderComponent(void) |
| | 243 | + C o d e r C o m p o n e n t G e n e s i s % |
| | 244 | % % |
| | 245 | % % |
| | 246 | % % |
| | 247 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| | 248 | % |
| | 249 | % CoderComponentGenesis() instantiates the coder component. |
| | 250 | % |
| | 251 | % The format of the CoderComponentGenesis method is: |
| | 252 | % |
| | 253 | % MagickBooleanType CoderComponentGenesis(void) |
| | 254 | % |
| | 255 | */ |
| | 256 | MagickExport MagickBooleanType CoderComponentGenesis(void) |
| | 257 | { |
| | 258 | AcquireSemaphoreInfo(&coder_semaphore); |
| | 259 | RelinquishSemaphoreInfo(coder_semaphore); |
| | 260 | return(MagickTrue); |
| | 261 | } |
| | 262 | |
| | 263 | /* |
| | 264 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| | 265 | % % |
| | 266 | % % |
| | 267 | % % |
| | 268 | + C o d e r C o m p o n e n t T e r m i n u s % |
| | 269 | % % |
| | 270 | % % |
| | 271 | % % |
| | 272 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| | 273 | % |
| | 274 | % CoderComponentTerminus() destroys the coder component. |
| | 275 | % |
| | 276 | % The format of the CoderComponentTerminus method is: |
| | 277 | % |
| | 278 | % CoderComponentTerminus(void) |
| | 279 | % |
| | 280 | */ |
| | 281 | MagickExport void CoderComponentTerminus(void) |
| 518 | | } |
| 519 | | |
| 520 | | /* |
| 521 | | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 522 | | % % |
| 523 | | % % |
| 524 | | % % |
| 525 | | + I n s t a n t i a t e C o d e r C o m p o n e n t % |
| 526 | | % % |
| 527 | | % % |
| 528 | | % % |
| 529 | | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 530 | | % |
| 531 | | % InstantiateCoderComponent() instantiates the coder component. |
| 532 | | % |
| 533 | | % The format of the InstantiateCoderComponent method is: |
| 534 | | % |
| 535 | | % MagickBooleanType InstantiateCoderComponent(void) |
| 536 | | % |
| 537 | | */ |
| 538 | | MagickExport MagickBooleanType InstantiateCoderComponent(void) |
| 539 | | { |
| 540 | | AcquireSemaphoreInfo(&coder_semaphore); |
| 541 | | RelinquishSemaphoreInfo(coder_semaphore); |
| 542 | | return(MagickTrue); |