errors.c
上传用户:fy98168
上传日期:2015-06-26
资源大小:13771k
文件大小:23k
源码类别:

DVD

开发平台:

C/C++

  1. /* from err.pl autogenerated file error.c */
  2. #include "stddefs.h"
  3. #include "staud.h" //TMTM
  4. #include "stavmem.h"
  5. #include "stboot.h"
  6. #include "stclkrv.h"
  7. #include "stdenc.h"
  8. #include "stevt.h"
  9. #include "sti2c.h"
  10. #include "stlayer.h"
  11. #include "stfdma.h"
  12. #include "stpti.h"
  13. #include "sttuner.h"
  14. #include "stuart.h"
  15. #include "stvid.h"
  16. #include "stvmix.h"
  17. #include "stvtg.h"
  18. #include "stvout.h"
  19. #include "errors.h"
  20. /* Private Types ------------------------------------------------------ */
  21. /* Private Constants -------------------------------------------------- */
  22. /* Private Variables -------------------------------------------------- */
  23. /* Private Macros ----------------------------------------------------- */
  24. /* Private Function prototypes ---------------------------------------- */
  25. /* Functions ---------------------------------------------------------- */
  26. /*-------------------------------------------------------------------------
  27.  * Function : KB_ErrorGetText
  28.  * Input    : ST_ErrorCode
  29.  * Output   :
  30.  * Return   : Error String
  31.  * ----------------------------------------------------------------------*/
  32. char *KB_ErrorGetText(ST_ErrorCode_t ST_ErrorCode)
  33. {
  34.     switch(ST_ErrorCode)
  35.     {
  36.         /* stfdma.h */
  37.         case STFDMA_ERROR_NOT_INITIALIZED:
  38.             return("STFDMA_ERROR_NOT_INITIALIZED");
  39.         case STFDMA_ERROR_DEVICE_NOT_SUPPORTED:
  40.             return("STFDMA_ERROR_DEVICE_NOT_SUPPORTED");
  41.         case STFDMA_ERROR_NO_CALLBACK_TASK:
  42.             return("STFDMA_ERROR_NO_CALLBACK_TASK");
  43.         case STFDMA_ERROR_BLOCKING_TIMEOUT:
  44.             return("STFDMA_ERROR_BLOCKING_TIMEOUT");
  45.         case STFDMA_ERROR_CHANNEL_BUSY:
  46.             return("STFDMA_ERROR_CHANNEL_BUSY");
  47.         case STFDMA_ERROR_NO_FREE_CHANNELS:
  48.             return("STFDMA_ERROR_NO_FREE_CHANNELS");
  49.         case STFDMA_ERROR_ALL_CHANNELS_LOCKED:
  50.             return("STFDMA_ERROR_ALL_CHANNELS_LOCKED");
  51.         case STFDMA_ERROR_CHANNEL_NOT_LOCKED:
  52.             return("STFDMA_ERROR_CHANNEL_NOT_LOCKED");
  53.         case STFDMA_ERROR_UNKNOWN_CHANNEL_ID:
  54.             return("STFDMA_ERROR_UNKNOWN_CHANNEL_ID");
  55.         case STFDMA_ERROR_INVALID_TRANSFER_ID:
  56.             return("STFDMA_ERROR_INVALID_TRANSFER_ID");
  57.         case STFDMA_ERROR_TRANSFER_ABORTED:
  58.             return("STFDMA_ERROR_TRANSFER_ABORTED");
  59.         case STFDMA_ERROR_TRANSFER_IN_PROGRESS:
  60.             return("STFDMA_ERROR_TRANSFER_IN_PROGRESS");
  61.         case STFDMA_ERROR_INVALID_BUFFER:
  62.             return("STFDMA_ERROR_INVALID_BUFFER");
  63.         case STFDMA_ERROR_INVALID_CHANNEL:
  64.             return("STFDMA_ERROR_INVALID_CHANNEL");
  65.         case STFDMA_ERROR_INVALID_CONTEXT_ID:
  66.             return("STFDMA_ERROR_INVALID_CONTEXT_ID");
  67.         case STFDMA_ERROR_INVALID_SC_RANGE:
  68.             return("STFDMA_ERROR_INVALID_SC_RANGE");
  69.         case STFDMA_ERROR_NO_FREE_CONTEXTS:
  70.             return("STFDMA_ERROR_NO_FREE_CONTEXTS");
  71.       /* staud.h */
  72.         case STAUD_ERROR_DECODER_RUNNING:
  73.             return("STAUD_ERROR_DECODER_RUNNING");
  74.         case STAUD_ERROR_DECODER_STOPPED:
  75.             return("STAUD_ERROR_DECODER_STOPPED");
  76.         case STAUD_ERROR_DECODER_PREPARING:
  77.             return("STAUD_ERROR_DECODER_PREPARING");
  78.         case STAUD_ERROR_DECODER_PREPARED:
  79.             return("STAUD_ERROR_DECODER_PREPARED");
  80.         case STAUD_ERROR_DECODER_PAUSING:
  81.             return("STAUD_ERROR_DECODER_PAUSING");
  82.         case STAUD_ERROR_DECODER_NOT_PAUSING:
  83.             return("STAUD_ERROR_DECODER_NOT_PAUSING");
  84.         case STAUD_ERROR_INVALID_STREAM_ID:
  85.             return("STAUD_ERROR_INVALID_STREAM_ID");
  86.         case STAUD_ERROR_INVALID_STREAM_TYPE:
  87.             return("STAUD_ERROR_INVALID_STREAM_TYPE");
  88.         case STAUD_ERROR_INVALID_DEVICE:
  89.             return("STAUD_ERROR_INVALID_DEVICE");
  90.         case STAUD_ERROR_EVT_REGISTER:
  91.             return("STAUD_ERROR_EVT_REGISTER");
  92.         case STAUD_ERROR_EVT_UNREGISTER:
  93.             return("STAUD_ERROR_EVT_UNREGISTER");
  94.         case STAUD_ERROR_CLKRV_OPEN:
  95.             return("STAUD_ERROR_CLKRV_OPEN");
  96.         case STAUD_ERROR_CLKRV_CLOSE:
  97.             return("STAUD_ERROR_CLKRV_CLOSE");
  98.         case STAUD_ERROR_AVSYNC_TASK:
  99.             return("STAUD_ERROR_AVSYNC_TASK");
  100.         /* stavmem.h */
  101.         case STAVMEM_ERROR_FUNCTION_NOT_IMPLEMENTED:
  102.             return("STAVMEM_ERROR_FUNCTION_NOT_IMPLEMENTED");
  103.         case STAVMEM_ERROR_MAX_PARTITION:
  104.             return("STAVMEM_ERROR_MAX_PARTITION");
  105.         case STAVMEM_ERROR_INVALID_PARTITION_HANDLE:
  106.             return("STAVMEM_ERROR_INVALID_PARTITION_HANDLE");
  107.         case STAVMEM_ERROR_PARTITION_FULL:
  108.             return("STAVMEM_ERROR_PARTITION_FULL");
  109.         case STAVMEM_ERROR_CREATED_PARTITION:
  110.             return("STAVMEM_ERROR_CREATED_PARTITION");
  111.         case STAVMEM_ERROR_MAX_BLOCKS:
  112.             return("STAVMEM_ERROR_MAX_BLOCKS");
  113.         case STAVMEM_ERROR_INVALID_BLOCK_HANDLE:
  114.             return("STAVMEM_ERROR_INVALID_BLOCK_HANDLE");
  115.         case STAVMEM_ERROR_ALLOCATED_BLOCK:
  116.             return("STAVMEM_ERROR_ALLOCATED_BLOCK");
  117.         case STAVMEM_ERROR_BLOCK_IN_FORBIDDEN_ZONE:
  118.             return("STAVMEM_ERROR_BLOCK_IN_FORBIDDEN_ZONE");
  119.         case STAVMEM_ERROR_GPDMA_OPEN:
  120.             return("STAVMEM_ERROR_GPDMA_OPEN");
  121.         case STAVMEM_ERROR_GPDMA_CLOSE:
  122.             return("STAVMEM_ERROR_GPDMA_CLOSE");
  123.         /* stboot.h */
  124.         case STBOOT_ERROR_KERNEL_INIT:
  125.             return("STBOOT_ERROR_KERNEL_INIT");
  126.         case STBOOT_ERROR_KERNEL_START:
  127.             return("STBOOT_ERROR_KERNEL_START");
  128.         case STBOOT_ERROR_INTERRUPT_INIT:
  129.             return("STBOOT_ERROR_INTERRUPT_INIT");
  130.         case STBOOT_ERROR_INTERRUPT_ENABLE:
  131.             return("STBOOT_ERROR_INTERRUPT_ENABLE");
  132.         case STBOOT_ERROR_UNKNOWN_BACKEND:
  133.             return("STBOOT_ERROR_UNKNOWN_BACKEND");
  134.         case STBOOT_ERROR_BACKEND_MISMATCH:
  135.             return("STBOOT_ERROR_BACKEND_MISMATCH");
  136.         case STBOOT_ERROR_INVALID_DCACHE:
  137.             return("STBOOT_ERROR_INVALID_DCACHE");
  138.         case STBOOT_ERROR_SDRAM_INIT:
  139.             return("STBOOT_ERROR_SDRAM_INIT");
  140.         /* stclkrv.h */
  141.         case STCLKRV_ERROR_HANDLER_INSTALL:
  142.             return("STCLKRV_ERROR_HANDLER_INSTALL");
  143.         case STCLKRV_ERROR_PCR_UNAVAILABLE:
  144.             return("STCLKRV_ERROR_PCR_UNAVAILABLE");
  145.         case STCLKRV_ERROR_EVT_REGISTER:
  146.             return("STCLKRV_ERROR_EVT_REGISTER");
  147.         /* stddefs.h */
  148.         case ST_ERROR_BAD_PARAMETER:
  149.             return("ST_ERROR_BAD_PARAMETER");
  150.         case ST_ERROR_NO_MEMORY:
  151.             return("ST_ERROR_NO_MEMORY");
  152.         case ST_ERROR_UNKNOWN_DEVICE:
  153.             return("ST_ERROR_UNKNOWN_DEVICE");
  154.         case ST_ERROR_ALREADY_INITIALIZED:
  155.             return("ST_ERROR_ALREADY_INITIALIZED");
  156.         case ST_ERROR_NO_FREE_HANDLES:
  157.             return("ST_ERROR_NO_FREE_HANDLES");
  158.         case ST_ERROR_OPEN_HANDLE:
  159.             return("ST_ERROR_OPEN_HANDLE");
  160.         case ST_ERROR_INVALID_HANDLE:
  161.             return("ST_ERROR_INVALID_HANDLE");
  162.         case ST_ERROR_FEATURE_NOT_SUPPORTED:
  163.             return("ST_ERROR_FEATURE_NOT_SUPPORTED");
  164.         case ST_ERROR_INTERRUPT_INSTALL:
  165.             return("ST_ERROR_INTERRUPT_INSTALL");
  166.         case ST_ERROR_INTERRUPT_UNINSTALL:
  167.             return("ST_ERROR_INTERRUPT_UNINSTALL");
  168.         case ST_ERROR_TIMEOUT:
  169.             return("ST_ERROR_TIMEOUT");
  170.         case ST_ERROR_DEVICE_BUSY:
  171.             return("ST_ERROR_DEVICE_BUSY");
  172.         /* stdenc.h */
  173.         case STDENC_ERROR_I2C:
  174.             return("STDENC_ERROR_I2C");
  175.         case STDENC_ERROR_INVALID_ENCODING_MODE:
  176.             return("STDENC_ERROR_INVALID_ENCODING_MODE");
  177.         /* stevt.h */
  178.         case STEVT_ERROR_INVALID_EVENT_ID:
  179.             return("STEVT_ERROR_INVALID_EVENT_ID");
  180.         case STEVT_ERROR_INVALID_SUBSCRIBER_ID:
  181.             return("STEVT_ERROR_INVALID_SUBSCRIBER_ID");
  182.         case STEVT_ERROR_ALREADY_SUBSCRIBED:
  183.             return("STEVT_ERROR_ALREADY_SUBSCRIBED");
  184.         case STEVT_ERROR_ALREADY_REGISTERED:
  185.             return("STEVT_ERROR_ALREADY_REGISTERED");
  186.         case STEVT_ERROR_NO_MORE_SPACE:
  187.             return("STEVT_ERROR_NO_MORE_SPACE");
  188.         case STEVT_ERROR_INVALID_EVENT_NAME:
  189.             return("STEVT_ERROR_INVALID_EVENT_NAME");
  190.         case STEVT_ERROR_ALREADY_UNREGISTERED:
  191.             return("STEVT_ERROR_ALREADY_UNREGISTERED");
  192.         case STEVT_ERROR_MISSING_NOTIFY_CALLBACK:
  193.             return("STEVT_ERROR_MISSING_NOTIFY_CALLBACK");
  194.         case STEVT_ERROR_NOT_SUBSCRIBED:
  195.             return("STEVT_ERROR_NOT_SUBSCRIBED");
  196.         /* sti2c.h */
  197.         case STI2C_ERROR_LINE_STATE:
  198.             return("STI2C_ERROR_LINE_STATE");
  199.         case STI2C_ERROR_STATUS:
  200.             return("STI2C_ERROR_STATUS");
  201.         case STI2C_ERROR_ADDRESS_ACK:
  202.             return("STI2C_ERROR_ADDRESS_ACK");
  203.         case STI2C_ERROR_WRITE_ACK:
  204.             return("STI2C_ERROR_WRITE_ACK");
  205.         case STI2C_ERROR_NO_DATA:
  206.             return("STI2C_ERROR_NO_DATA");
  207.         case STI2C_ERROR_PIO:
  208.             return("STI2C_ERROR_PIO");
  209.         case STI2C_ERROR_BUS_IN_USE:
  210.             return("STI2C_ERROR_BUS_IN_USE");
  211.         case STI2C_ERROR_EVT_REGISTER:
  212.             return("STI2C_ERROR_EVT_REGISTER");
  213.         /* stlayer.h */
  214.         case STLAYER_ERROR_INVALID_INPUT_RECTANGLE:
  215.             return("STLAYER_ERROR_INVALID_INPUT_RECTANGLE");
  216.         case STLAYER_ERROR_INVALID_OUTPUT_RECTANGLE:
  217.             return("STLAYER_ERROR_INVALID_OUTPUT_RECTANGLE");
  218.         case STLAYER_ERROR_NO_FREE_HANDLES:
  219.             return("STLAYER_ERROR_NO_FREE_HANDLES");
  220.         case STLAYER_ERROR_IORECTANGLES_NOT_ADJUSTABLE:
  221.             return("STLAYER_ERROR_IORECTANGLES_NOT_ADJUSTABLE");
  222.         case STLAYER_ERROR_INVALID_LAYER_TYPE:
  223.             return("STLAYER_ERROR_INVALID_LAYER_TYPE");
  224.         case STLAYER_ERROR_USER_ALLOCATION_NOT_ALLOWED:
  225.             return("STLAYER_ERROR_USER_ALLOCATION_NOT_ALLOWED");
  226.         case STLAYER_ERROR_OVERLAP_VIEWPORT:
  227.             return("STLAYER_ERROR_OVERLAP_VIEWPORT");
  228.         case STLAYER_ERROR_NO_AV_MEMORY:
  229.             return("STLAYER_ERROR_NO_AV_MEMORY");
  230.         case STLAYER_ERROR_OUT_OF_LAYER:
  231.             return("STLAYER_ERROR_OUT_OF_LAYER");
  232.         case STLAYER_ERROR_OUT_OF_BITMAP:
  233.             return("STLAYER_ERROR_OUT_OF_BITMAP");
  234.         case STLAYER_ERROR_INSIDE_LAYER:
  235.             return("STLAYER_ERROR_INSIDE_LAYER");
  236.         case STLAYER_ERROR_EVENT_REGISTRATION:
  237.             return("STLAYER_ERROR_EVENT_REGISTRATION");
  238.         /* stpti.h */
  239.         case STPTI_ERROR_ALREADY_WAITING_ON_SLOT:
  240.             return("STPTI_ERROR_ALREADY_WAITING_ON_SLOT");
  241.         case STPTI_ERROR_ALT_OUT_ALREADY_IN_USE:
  242.             return("STPTI_ERROR_ALT_OUT_ALREADY_IN_USE");
  243.         case STPTI_ERROR_ALT_OUT_TYPE_NOT_SUPPORTED:
  244.             return("STPTI_ERROR_ALT_OUT_TYPE_NOT_SUPPORTED");
  245.         case STPTI_ERROR_BUFFER_NOT_LINKED:
  246.             return("STPTI_ERROR_BUFFER_NOT_LINKED");
  247.         case STPTI_ERROR_CAROUSEL_ALREADY_ALLOCATED:
  248.             return("STPTI_ERROR_CAROUSEL_ALREADY_ALLOCATED");
  249.         case STPTI_ERROR_CAROUSEL_ENTRY_INSERTED:
  250.             return("STPTI_ERROR_CAROUSEL_ENTRY_INSERTED");
  251.         case STPTI_ERROR_CAROUSEL_LOCKED_BY_DIFFERENT_SESSION:
  252.             return("STPTI_ERROR_CAROUSEL_LOCKED_BY_DIFFERENT_SESSION");
  253.         case STPTI_ERROR_CAROUSEL_NOT_LOCKED:
  254.             return("STPTI_ERROR_CAROUSEL_NOT_LOCKED");
  255.         case STPTI_ERROR_CAROUSEL_OUTPUT_ONLY_ON_NULL_SLOT:
  256.             return("STPTI_ERROR_CAROUSEL_OUTPUT_ONLY_ON_NULL_SLOT");
  257.         case STPTI_ERROR_COLLECT_FOR_ALT_OUT_ONLY_ON_NULL_SLOT:
  258.             return("STPTI_ERROR_COLLECT_FOR_ALT_OUT_ONLY_ON_NULL_SLOT");
  259.         case STPTI_ERROR_CORRUPT_DATA_IN_BUFFER:
  260.             return("STPTI_ERROR_CORRUPT_DATA_IN_BUFFER");
  261.         case STPTI_ERROR_DESCRAMBLER_ALREADY_ASSOCIATED:
  262.             return("STPTI_ERROR_DESCRAMBLER_ALREADY_ASSOCIATED");
  263.         case STPTI_ERROR_DESCRAMBLER_NOT_ASSOCIATED:
  264.             return("STPTI_ERROR_DESCRAMBLER_NOT_ASSOCIATED");
  265.         case STPTI_ERROR_DESCRAMBLER_TYPE_NOT_SUPPORTED:
  266.             return("STPTI_ERROR_DESCRAMBLER_TYPE_NOT_SUPPORTED");
  267.         case STPTI_ERROR_DMA_UNAVAILABLE:
  268.             return("STPTI_ERROR_DMA_UNAVAILABLE");
  269.         case STPTI_ERROR_ENTRY_ALREADY_INSERTED:
  270.             return("STPTI_ERROR_ENTRY_ALREADY_INSERTED");
  271.         case STPTI_ERROR_ENTRY_IN_USE:
  272.             return("STPTI_ERROR_ENTRY_IN_USE");
  273.         case STPTI_ERROR_ENTRY_NOT_IN_CAROUSEL:
  274.             return("STPTI_ERROR_ENTRY_NOT_IN_CAROUSEL");
  275.         case STPTI_ERROR_EVENT_QUEUE_EMPTY:
  276.             return("STPTI_ERROR_EVENT_QUEUE_EMPTY");
  277.         case STPTI_ERROR_EVENT_QUEUE_FULL:
  278.             return("STPTI_ERROR_EVENT_QUEUE_FULL");
  279.         case STPTI_ERROR_FILTER_ALREADY_ASSOCIATED:
  280.             return("STPTI_ERROR_FILTER_ALREADY_ASSOCIATED");
  281.         case STPTI_ERROR_FLUSH_FILTERS_NOT_SUPPORTED:
  282.             return("STPTI_ERROR_FLUSH_FILTERS_NOT_SUPPORTED");
  283.         case STPTI_ERROR_FUNCTION_NOT_SUPPORTED:
  284.             return("STPTI_ERROR_FUNCTION_NOT_SUPPORTED");
  285.         case STPTI_ERROR_INCOMPLETE_PES_IN_BUFFER:
  286.             return("STPTI_ERROR_INCOMPLETE_PES_IN_BUFFER");
  287.         case STPTI_ERROR_INCOMPLETE_SECTION_IN_BUFFER:
  288.             return("STPTI_ERROR_INCOMPLETE_SECTION_IN_BUFFER");
  289.         case STPTI_ERROR_INDEX_INVALID_ASSOCIATION:
  290.             return("STPTI_ERROR_INDEX_INVALID_ASSOCIATION");
  291.         case STPTI_ERROR_INDEX_INVALID_HANDLE:
  292.             return("STPTI_ERROR_INDEX_INVALID_HANDLE");
  293.         case STPTI_ERROR_INDEX_NONE_FREE:
  294.             return("STPTI_ERROR_INDEX_NONE_FREE");
  295.         case STPTI_ERROR_INDEX_NOT_ASSOCIATED:
  296.             return("STPTI_ERROR_INDEX_NOT_ASSOCIATED");
  297.         case STPTI_ERROR_INDEX_PID_ALREADY_ASSOCIATED:
  298.             return("STPTI_ERROR_INDEX_PID_ALREADY_ASSOCIATED");
  299.         case STPTI_ERROR_INDEX_SLOT_ALREADY_ASSOCIATED:
  300.             return("STPTI_ERROR_INDEX_SLOT_ALREADY_ASSOCIATED");
  301.         case STPTI_ERROR_INTERRUPT_QUEUE_EMPTY:
  302.             return("STPTI_ERROR_INTERRUPT_QUEUE_EMPTY");
  303.         case STPTI_ERROR_INTERRUPT_QUEUE_FULL:
  304.             return("STPTI_ERROR_INTERRUPT_QUEUE_FULL");
  305.         case STPTI_ERROR_INVALID_ALLOW_OUTPUT_TYPE:
  306.             return("STPTI_ERROR_INVALID_ALLOW_OUTPUT_TYPE");
  307.         case STPTI_ERROR_INVALID_ALTERNATE_OUTPUT_TYPE:
  308.             return("STPTI_ERROR_INVALID_ALTERNATE_OUTPUT_TYPE");
  309.         case STPTI_ERROR_INVALID_BUFFER_HANDLE:
  310.             return("STPTI_ERROR_INVALID_BUFFER_HANDLE");
  311.         case STPTI_ERROR_INVALID_CAROUSEL_ENTRY_HANDLE:
  312.             return("STPTI_ERROR_INVALID_CAROUSEL_ENTRY_HANDLE");
  313.         case STPTI_ERROR_INVALID_CAROUSEL_HANDLE:
  314.             return("STPTI_ERROR_INVALID_CAROUSEL_HANDLE");
  315.         case STPTI_ERROR_INVALID_CD_FIFO_ADDRESS:
  316.             return("STPTI_ERROR_INVALID_CD_FIFO_ADDRESS");
  317.         case STPTI_ERROR_INVALID_DESCRAMBLER_ASSOCIATION:
  318.             return("STPTI_ERROR_INVALID_DESCRAMBLER_ASSOCIATION");
  319.         case STPTI_ERROR_INVALID_DESCRAMBLER_HANDLE:
  320.             return("STPTI_ERROR_INVALID_DESCRAMBLER_HANDLE");
  321.         case STPTI_ERROR_INVALID_DEVICE:
  322.             return("STPTI_ERROR_INVALID_DEVICE");
  323.         case STPTI_ERROR_INVALID_FILTER_DATA:
  324.             return("STPTI_ERROR_INVALID_FILTER_DATA");
  325.         case STPTI_ERROR_INVALID_FILTER_HANDLE:
  326.             return("STPTI_ERROR_INVALID_FILTER_HANDLE");
  327.         case STPTI_ERROR_INVALID_FILTER_OPERATING_MODE:
  328.             return("STPTI_ERROR_INVALID_FILTER_OPERATING_MODE");
  329.         case STPTI_ERROR_INVALID_FILTER_REPEAT_MODE:
  330.             return("STPTI_ERROR_INVALID_FILTER_REPEAT_MODE");
  331.         case STPTI_ERROR_INVALID_FILTER_TYPE:
  332.             return("STPTI_ERROR_INVALID_FILTER_TYPE");
  333.         case STPTI_ERROR_INVALID_INJECTION_TYPE:
  334.             return("STPTI_ERROR_INVALID_INJECTION_TYPE");
  335.         case STPTI_ERROR_INVALID_KEY_USAGE:
  336.             return("STPTI_ERROR_INVALID_KEY_USAGE");
  337.         case STPTI_ERROR_INVALID_LOADER_OPTIONS:
  338.             return("STPTI_ERROR_INVALID_LOADER_OPTIONS");
  339.         case STPTI_ERROR_INVALID_PARITY:
  340.             return("STPTI_ERROR_INVALID_PARITY");
  341.         case STPTI_ERROR_INVALID_PES_START_CODE:
  342.             return("STPTI_ERROR_INVALID_PES_START_CODE");
  343.         case STPTI_ERROR_INVALID_PID:
  344.             return("STPTI_ERROR_INVALID_PID");
  345.         case STPTI_ERROR_INVALID_SESSION_HANDLE:
  346.             return("STPTI_ERROR_INVALID_SESSION_HANDLE");
  347.         case STPTI_ERROR_INVALID_SIGNAL_HANDLE:
  348.             return("STPTI_ERROR_INVALID_SIGNAL_HANDLE");
  349.         case STPTI_ERROR_INVALID_SLOT_HANDLE:
  350.             return("STPTI_ERROR_INVALID_SLOT_HANDLE");
  351.         case STPTI_ERROR_INVALID_SLOT_TYPE:
  352.             return("STPTI_ERROR_INVALID_SLOT_TYPE");
  353.         case STPTI_ERROR_INVALID_SUPPORTED_TC_CODE:
  354.             return("STPTI_ERROR_INVALID_SUPPORTED_TC_CODE");
  355.         case STPTI_ERROR_NOT_ALLOCATED_IN_SAME_SESSION:
  356.             return("STPTI_ERROR_NOT_ALLOCATED_IN_SAME_SESSION");
  357.         case STPTI_ERROR_NOT_INITIALISED:
  358.             return("STPTI_ERROR_NOT_INITIALISED");
  359.         case STPTI_ERROR_NOT_ON_SAME_DEVICE:
  360.             return("STPTI_ERROR_NOT_ON_SAME_DEVICE");
  361.         case STPTI_ERROR_NO_FREE_DESCRAMBLERS:
  362.             return("STPTI_ERROR_NO_FREE_DESCRAMBLERS");
  363.         case STPTI_ERROR_NO_FREE_DMAS:
  364.             return("STPTI_ERROR_NO_FREE_DMAS");
  365.         case STPTI_ERROR_NO_FREE_FILTERS:
  366.             return("STPTI_ERROR_NO_FREE_FILTERS");
  367.         case STPTI_ERROR_NO_FREE_SLOTS:
  368.             return("STPTI_ERROR_NO_FREE_SLOTS");
  369.         case STPTI_ERROR_NO_PACKET:
  370.             return("STPTI_ERROR_NO_PACKET");
  371.         case STPTI_ERROR_OFFSET_EXCEEDS_PACKET_SIZE:
  372.             return("STPTI_ERROR_OFFSET_EXCEEDS_PACKET_SIZE");
  373.         case STPTI_ERROR_ONLY_ONE_SIGNAL_PER_BUFFER:
  374.             return("STPTI_ERROR_ONLY_ONE_SIGNAL_PER_BUFFER");
  375.         case STPTI_ERROR_ONLY_ONE_SIGNAL_PER_SLOT:
  376.             return("STPTI_ERROR_ONLY_ONE_SIGNAL_PER_SLOT");
  377.         case STPTI_ERROR_PID_ALREADY_COLLECTED:
  378.             return("STPTI_ERROR_PID_ALREADY_COLLECTED");
  379.         case STPTI_ERROR_SET_MATCH_ACTION_NOT_SUPPORTED:
  380.             return("STPTI_ERROR_SET_MATCH_ACTION_NOT_SUPPORTED");
  381.         case STPTI_ERROR_SIGNAL_ABORTED:
  382.             return("STPTI_ERROR_SIGNAL_ABORTED");
  383.         case STPTI_ERROR_SIGNAL_EVERY_PACKET_ONLY_ON_PES_SLOT:
  384.             return("STPTI_ERROR_SIGNAL_EVERY_PACKET_ONLY_ON_PES_SLOT");
  385.         case STPTI_ERROR_SLOT_FLAG_NOT_SUPPORTED:
  386.             return("STPTI_ERROR_SLOT_FLAG_NOT_SUPPORTED");
  387.         case STPTI_ERROR_SLOT_NOT_ASSOCIATED:
  388.             return("STPTI_ERROR_SLOT_NOT_ASSOCIATED");
  389.         case STPTI_ERROR_SLOT_NOT_RAW_MODE:
  390.             return("STPTI_ERROR_SLOT_NOT_RAW_MODE");
  391.         case STPTI_ERROR_SLOT_NOT_SIGNAL_EVERY_PACKET:
  392.             return("STPTI_ERROR_SLOT_NOT_SIGNAL_EVERY_PACKET");
  393.         case STPTI_ERROR_STORE_LAST_HEADER_ONLY_ON_RAW_SLOT:
  394.             return("STPTI_ERROR_STORE_LAST_HEADER_ONLY_ON_RAW_SLOT");
  395.         case STPTI_ERROR_UNABLE_TO_ENABLE_FILTERS:
  396.             return("STPTI_ERROR_UNABLE_TO_ENABLE_FILTERS");
  397.         case STPTI_ERROR_USER_BUFFER_NOT_ALIGNED:
  398.             return("STPTI_ERROR_USER_BUFFER_NOT_ALIGNED");
  399.         case STPTI_ERROR_WILDCARD_PID_ALREADY_SET:
  400.             return("STPTI_ERROR_WILDCARD_PID_ALREADY_SET");
  401.         case STPTI_ERROR_WILDCARD_PID_NOT_SUPPORTED:
  402.             return("STPTI_ERROR_WILDCARD_PID_NOT_SUPPORTED");
  403.         /* sttuner.h */
  404.         case STTUNER_ERROR_UNSPECIFIED:
  405.             return("STTUNER_ERROR_UNSPECIFIED");
  406.         case STTUNER_ERROR_HWFAIL:
  407.             return("STTUNER_ERROR_HWFAIL");
  408.         case STTUNER_ERROR_EVT_REGISTER:
  409.             return("STTUNER_ERROR_EVT_REGISTER");
  410.         case STTUNER_ERROR_ID:
  411.             return("STTUNER_ERROR_ID");
  412.         case STTUNER_ERROR_POINTER:
  413.             return("STTUNER_ERROR_POINTER");
  414.         case STTUNER_ERROR_INITSTATE:
  415.             return("STTUNER_ERROR_INITSTATE");
  416.         case STTUNER_ERROR_END_OF_SCAN:
  417.             return("STTUNER_ERROR_END_OF_SCAN");
  418.         /* stuart.h */
  419.         case STUART_ERROR_OVERRUN:
  420.             return("STUART_ERROR_OVERRUN");
  421.         case STUART_ERROR_PARITY:
  422.             return("STUART_ERROR_PARITY");
  423.         case STUART_ERROR_FRAMING:
  424.             return("STUART_ERROR_FRAMING");
  425.         case STUART_ERROR_ABORT:
  426.             return("STUART_ERROR_ABORT");
  427.         case STUART_ERROR_RETRIES:
  428.             return("STUART_ERROR_RETRIES");
  429.         case STUART_ERROR_PIO:
  430.             return("STUART_ERROR_PIO");
  431.         /* stvid.h */
  432.         case STVID_ERROR_DECODER_RUNNING:
  433.             return("STVID_ERROR_DECODER_RUNNING");
  434.         case STVID_ERROR_DECODER_RUNNING_IN_RT_MODE:
  435.             return("STVID_ERROR_DECODER_RUNNING_IN_RT_MODE");
  436.         case STVID_ERROR_DECODER_PAUSING:
  437.             return("STVID_ERROR_DECODER_PAUSING");
  438.         case STVID_ERROR_DECODER_STOPPED:
  439.             return("STVID_ERROR_DECODER_STOPPED");
  440.         case STVID_ERROR_DECODER_NOT_PAUSING:
  441.             return("STVID_ERROR_DECODER_NOT_PAUSING");
  442.         case STVID_ERROR_NOT_AVAILABLE:
  443.             return("STVID_ERROR_NOT_AVAILABLE");
  444.         case STVID_ERROR_DECODER_FREEZING:
  445.             return("STVID_ERROR_DECODER_FREEZING");
  446.         case STVID_ERROR_EVENT_REGISTRATION:
  447.             return("STVID_ERROR_EVENT_REGISTRATION");
  448.         case STVID_ERROR_SYSTEM_CLOCK:
  449.             return("STVID_ERROR_SYSTEM_CLOCK");
  450.         /* stvmix.h */
  451.         case STVMIX_ERROR_LAYER_UNKNOWN:
  452.             return("STVMIX_ERROR_LAYER_UNKNOWN");
  453.         case STVMIX_ERROR_LAYER_UPDATE_PARAMETERS:
  454.             return("STVMIX_ERROR_LAYER_UPDATE_PARAMETERS");
  455.         case STVMIX_ERROR_LAYER_ALREADY_CONNECTED:
  456.             return("STVMIX_ERROR_LAYER_ALREADY_CONNECTED");
  457.         case STVMIX_ERROR_LAYER_ACCESS:
  458.             return("STVMIX_ERROR_LAYER_ACCESS");
  459.         case STVMIX_ERROR_VOUT_UNKNOWN:
  460.             return("STVMIX_ERROR_VOUT_UNKNOWN");
  461.         case STVMIX_ERROR_VOUT_ALREADY_CONNECTED:
  462.             return("STVMIX_ERROR_VOUT_ALREADY_CONNECTED");
  463.         case STVMIX_ERROR_NO_VSYNC:
  464.             return("STVMIX_ERROR_NO_VSYNC");
  465.         /* stvout.h */
  466.         case STVOUT_ERROR_DENC_ACCESS:
  467.             return("STVOUT_ERROR_DENC_ACCESS");
  468.         case STVOUT_ERROR_VOUT_NOT_AVAILABLE:
  469.             return("STVOUT_ERROR_VOUT_NOT_AVAILABLE");
  470.         case STVOUT_ERROR_VOUT_NOT_ENABLE:
  471.             return("STVOUT_ERROR_VOUT_NOT_ENABLE");
  472.         case STVOUT_ERROR_VOUT_ENABLE:
  473.             return("STVOUT_ERROR_VOUT_ENABLE");
  474.         case STVOUT_ERROR_VOUT_INCOMPATIBLE:
  475.             return("STVOUT_ERROR_VOUT_INCOMPATIBLE");
  476.         /* stvtg.h */
  477.         case STVTG_ERROR_INVALID_MODE:
  478.             return("STVTG_ERROR_INVALID_MODE");
  479.         case STVTG_ERROR_EVT_REGISTER:
  480.             return("STVTG_ERROR_EVT_REGISTER");
  481.         case STVTG_ERROR_EVT_UNREGISTER:
  482.             return("STVTG_ERROR_EVT_UNREGISTER");
  483.         case STVTG_ERROR_EVT_SUBSCRIBE:
  484.             return("STVTG_ERROR_EVT_SUBSCRIBE");
  485.         case STVTG_ERROR_DENC_OPEN:
  486.             return("STVTG_ERROR_DENC_OPEN");
  487.         case STVTG_ERROR_DENC_ACCESS:
  488.             return("STVTG_ERROR_DENC_ACCESS");
  489.         case ST_NO_ERROR:
  490.             return("ST_NO_ERROR");
  491.         default:
  492.             break;
  493.     }
  494.     return("UNKNOWN ERROR");
  495. }
  496. /* End of j_errors.c */