亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mpeg2_vld_intra_n.sa

?? h263,jpeg,mpeg2編解碼核心程序(TI DSP C64xx)
?? SA
?? 第 1 頁 / 共 3 頁
字號:
* ========================================================================= **   NAME                                                                    **       mpeg2_vld_intra                                                     **                                                                           **   PLATFORM                                                                **       C6400                                                               **                                                                           **   DESCRIPTION                                                             * *       This routine takes a bitstream of an MPEG-2 intra coded macroblock  * *       and returns the decoded IDCT coefficients. The routine is           * *       implemented as specified in the MPEG-2 standard text (ISO/IEC       * *       13818-2). The routine checks the coded block pattern (cbp),         * *       performs DC and AC decoding inlcuding, variable length decode,      * *       run-length expansion, inverse zigzag, dequantization, saturation    * *       and mismatch control.                                               * *                                                                           * *   USAGE                                                                   * *       This routine is C callable, and has the following C prototype:      * *                                                                           * *       void mpeg2_vld_intra                                                * *       (                                                                   * *           const short    *restrict Wptr,                                  * *           short          *restrict outi,                                  * *           IMG_mpeg2_vld  *restrict Mpeg2v,                                * *           int            dc_pred[3],                                      * *           int            mode_12Q4,                                       * *           int            num_blocks,                                      * *           int            bsbuf_words                                      * *       );                                                                  * *                                                                           * *         Wptr:   Pointer to array that contains quantization matrix. The   * *                 elements of the quantization matrix in *Wptr must be      * *                 ordered according to the scan pattern used (zigzag or     * *                 alternate scan). Video format 4:2:0 requires one          * *                 quantization matrix (64 array elements).  For formats     * *                 4:2:2 and 4:4:4 two quantization matrices (one for luma   * *                 and one for chroma) must specified in the array (128      * *                 array elements).                                          * *                                                                           * *         outi:   Pointer to the IDCT coefficients output array             * *                 (6*64 elements), elements must be set to zero prior to    * *                 function call.                                            * *                                                                           * *         Mpeg2v: Pointer to the context object containing the coding       * *                 parameters of the MB to be decoded and the current state  * *                 of the bitstream buffer. The structure is described       * *                 below.                                                    * *                                                                           * *        dc_pred: Intra DC prediction array, the first element of dc_pred   * *                 is the DC prediction for Y, the second for Cr and the     * *                 third for Cb.                                             * *                                                                           * *      mode_12Q4: 0: Coefficients are returned in normal 16-bit integer     * *                 format.                                                   * *                 Otherwise: Coefficients are returned in 12Q4 format       * *                 (normal 16-bit integer format left shifted by 4). This    * *                 mode is useful for directly passing the coefficients      * *                 into the IMG_idct_8x8 routine.                            * *                                                                           * *     num_blocks: Number of blocks that the MB contains. Valid values are   * *                 6 for 4:2:0, 8 for 4:2:2 and 12 for 4:4:4 format.         * *                                                                           * *    bsbuf_words: Size of bitstream buffer in words. Must be a power of 2.  * *                 Bitstream buffer must be aligned at an address boundary   * *                 equal to its size in bytes (bitstream buffer is           * *                 addressed circularly by this routine.)                    * *                                                                           * *       The structure Mpeg2v is defined as follows:                         * *                                                                           * *C        #ifndef IMG_MPEG2_VLD_STRUCT_                                     * *C        #define IMG_MPEG2_VLD_STRUCT_ 1                                   * *C                                                                          * *C        typedef struct {                                                  * *C            unsigned int  *bsbuf;      // pointer to bitstream buffer     * *C            unsigned int  next_wptr;   // next word to read from buffer   * *C            unsigned int  bptr;        // bit position within word        * *C            unsigned int  word1;       // word aligned buffer             * *C            unsigned int  word2;       // word aligned buffer             * *C            unsigned int  top0;        // top 32 bits of bitstream        * *C            unsigned int  top1;        // next 32 bits of bitstream       * *C            const unsigned char *scan; // inverse zigzag scan matrix      * *C            unsigned int  intravlc;    // intra_vlc_format                * *C            unsigned int  quant_scale; // quant_scale                     * *C            unsigned int  dc_prec;     // intra_dc_precision              * *C            unsigned int  cbp;         // coded_block_pattern             * *C            unsigned int  fault;       // fault condition (returned)      * *C            unsigned int  reserved;    // reserved                        * *C        } IMG_mpeg2_vld;                                                  * *C                                                                          * *C        #endif                                                            * *                                                                           * *       The Mpeg2v variables should have a fixed layout since they are      * *       accessed by this routine.  If the layout is changed, the            * *       corresponding changes have to be made in the assembly code too.     * *                                                                           * *       The routine sets the fault flag Mpeg2v.fault to 1 if an invalid     * *       VLC code was encountered or the total run went beyond 63. In        * *       theses cases the decoder has to resynchronize.                      * *S                                                                          * *S      The following files contain the required VLD look-up tables:        * *S                                                                          * *S          b14s_tbl.c    : run-level VLD table (1152 bytes, Table B-14)    * *S          b15s_tbl.c    : run-level VLD table (1152 bytes, Table B-15)    * *S          b14_len_tbl.c : code word length table (640 bytes, Table B-14)  * *S          b15_len_tbl.c : code word length table (640 bytes, Table B-15)  * *                                                                           * *       Before calling the routine the bitstream variables in Mpeg2v        * *       have to be initialized. If bsbuf is a circular buffer and bsptr     * *       contains the number of bits in the buffer that already have         * *       been consumed, then next_wptr, bptr, word1, word2, top0 and         * *       top1 are initialized as follows:                                    * *                                                                           * *       1. nextwptr: bsptr may not be a multiple of 32, therefore obtain    * *       the next lower multiple of 32.                                      * *                                                                           * *           next_wptr = (bsptr >> 5);                                       * *                                                                           * *       2. bptr: bptr is the bit pointer which points to the current        * *       bit WITHIN the word pointed to by next_wptr.                        * *                                                                           * *           bptr = bsptr & 31;                                              * *           bptr_cmpl = 32 - bptr;                                          * *                                                                           * *       3. word1 and word2: read next 3 words from the bitstream buffer     * *       (word0 is a temporary variable). bsbuf_words is the size of the     * *       bitstream buffer in words.                                          * *                                                                           * *           word0 = bsbuf[next_wptr];                                       * *           next_wptr = (next_wptr + 1) & (bsbuf_words-1);                  * *                                                                           * *           word1 = bsbuf[next_wptr];                                       * *           next_wptr = (next_wptr + 1) & (bsbuf_words-1);                  * *                                                                           * *           word2 = bsbuf[next_wptr];                                       * *           next_wptr = (next_wptr + 1) & (bsbuf_words-1);                  * *                                                                           * *       4. top0 and top1: Shift words word0, word1, word2 by bptr to the    * *       left so that the current bit becomes the MSB in word0. word0 can    * *       simply be shifted by bptr; the then empty LSBs of word0 have to be  * *       filled with the MSBs of word1. To do that the required MSBs are     * *       brought into the position of empty LSBs of word0 by shifting word1  * *       to the right by (32-bptr). The result is then copied into word0 by  * *       an addition. Rather than overwriting word0, top0 is used to hold    * *       the new bit aligned word. The same procedure is used to obtain      * *       top1. top0 and top1 contain the next 64 bits of the bitstream.      * *                                                                           * *           s1 = word0 << bptr;                                             * *           s2 = word1 >> bptr_cmpl;  /* unsigned right-shift */            * *           top0 = s1 + s2;                                                 * *                                                                           * *           s3 = word1 << bptr;                                             * *           s4 = word2 >> bptr_cmpl;  /* unsigned right-shift */            * *           top1 = s3 + s4;                                                 * *                                                                           * *       Note that the routine returns the updated state of the bitstream    * *       buffer variables, top0, top1, word1, word2, bptr and next_wptr. If  * *       all other functions which access the bitstream in a decoder system  * *       maintain the buffer variables in the same way, then the above       * *       initialization procedure has to be performed only once at the       * *       beginning.                                                          * *                                                                           * *   TECHNIQUES                                                              * *       The instruction NORM is used to detect the number of leading zeros  * *       or ones in a code word. This value together with additional bits    * *       extracted from the codeword is then used as an index into look-up   * *       tables to determine the length, run, level and sign. Escape code    * *       sequences are directly extracted from the code word.                * *                                                                           * *       DC coefficients are decoded without lookup tables by exploiting     * *       the relatively simple relationship between the number of leading    * *       zeros and dc_size and the length of the code word.                  * *                                                                           * *   ASSUMPTIONS                                                             * *       The bitstream must be stored in memory in 32-bit words which are    * *       in little endian byte order.                                        * *                                                                           * *       Wptr is allowed to overrun once (to detect total run overrun), so   * *       maximum overrun that can occur is 66 (Error mark). Therefore,       * *       in memory 66+1 halfwords behind the weighting matrix should be      * *       valid (e.g. peripherals). No memory is overwritten,                 * *       only loads occurr.                                                  * *                                                                           * *       Note that the AMR register is set to zero on exit.                  * *                                                                           * *   DATA SIZE                                                               * *       3584 bytes for the lookup tables                                    * * ------------------------------------------------------------------------- **             Copyright (c) 2002 Texas Instruments, Incorporated.           **                            All Rights Reserved.                           ** ========================================================================= *            .sect ".text:nsa"            .global _mpeg2_vld_intra_nsa            .global _IMG_len_tbl0            .global _IMG_rld_table0            .global _IMG_len_tbl1            .global _IMG_rld_table1_mpeg2_vld_intra_nsa .cproc Wptr, outi, Mpeg2v, dc_pred, m12Q4, num_blocks, bsbuf_size                    .no_mdep;                           A4,   B4,   A6,     B6,     A8,    B8,         A10* ========================================================================= **  Registers                                                                ** ========================================================================= *    .reg block                      ; block number (0-3: lum, 4, 5: chrom)     .reg cnt, cnt_sav    .reg flag        .reg const1, const24, const31, const32, const63      .reg const128, const36, const65    .reg amr_config, csr_bk, no_gie* ------------------------------------------------------------------------- **  coded block pattern                                                      ** ------------------------------------------------------------------------- *    .reg cbp, bcomp, cbp_mask, coded* ------------------------------------------------------------------------- **  32-bit words at 32-bit boundaries from bitstream buffer bsbuf[]          ** ------------------------------------------------------------------------- *    .reg bsbuf, word0, word1, word2, next_wptr, byte_diff

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线欧美日韩国产| 亚洲精品大片www| 色综合激情五月| 午夜精品久久久久影视| 欧美一区二区三区视频| 91亚洲永久精品| 日韩欧美中文一区二区| 久久99久久99小草精品免视看| 日韩欧美成人午夜| 欧美电影免费观看高清完整版在线| 91精品国产色综合久久ai换脸| 欧美电影免费观看高清完整版| 国产精品久久看| 亚洲一区在线观看视频| 日日夜夜免费精品| 成人精品国产一区二区4080| 免费观看成人av| 午夜一区二区三区在线观看| 欧美激情中文字幕| 久久美女艺术照精彩视频福利播放| 成人美女视频在线观看18| 麻豆成人免费电影| 亚洲人123区| 精品乱码亚洲一区二区不卡| 91免费观看国产| 一本久久综合亚洲鲁鲁五月天| 免费亚洲电影在线| 国产欧美精品日韩区二区麻豆天美| 4438亚洲最大| 日韩你懂的在线播放| 欧美中文字幕一区二区三区亚洲| 婷婷开心激情综合| 亚洲色图清纯唯美| 国产精品国产三级国产| 日韩精品一区二区三区swag| 欧美猛男男办公室激情| 色噜噜久久综合| av激情成人网| 成人av网站在线观看免费| 国产麻豆精品95视频| 久久99热狠狠色一区二区| 看电影不卡的网站| 久久国产精品色婷婷| 日韩成人dvd| 激情五月激情综合网| 国产精品资源在线观看| 国产 欧美在线| 99re亚洲国产精品| 色哦色哦哦色天天综合| 91黄视频在线| 欧美一区二区三区系列电影| 日韩一区二区麻豆国产| 欧美一区二区女人| 久久久综合精品| 亚洲精品高清视频在线观看| 夜夜嗨av一区二区三区网页| 日韩不卡免费视频| 成人av免费网站| 欧美一区二区视频在线观看| 久久丝袜美腿综合| 亚洲国产成人av| 国产精品1区2区3区在线观看| 97国产精品videossex| 日韩欧美一区二区视频| 亚洲天堂中文字幕| 免费看日韩a级影片| 91首页免费视频| 久久精品视频免费| 日韩综合小视频| 91影视在线播放| 欧美精彩视频一区二区三区| 日韩电影一区二区三区| 懂色av中文一区二区三区| 日韩欧美激情四射| 亚洲一区二区美女| 欧美色综合影院| 亚洲天堂2016| 欧美在线免费视屏| 日韩美女视频19| 色爱区综合激月婷婷| 精品久久久久久久久久久久包黑料 | 国产视频亚洲色图| 视频在线在亚洲| 欧美福利视频一区| 美女一区二区在线观看| 日韩亚洲欧美中文三级| 寂寞少妇一区二区三区| 制服丝袜亚洲精品中文字幕| 欧美一区二区三区白人| 最新高清无码专区| 色综合天天狠狠| 欧美一二三区在线观看| 亚洲色大成网站www久久九九| 中文字幕欧美日本乱码一线二线| 久久亚洲私人国产精品va媚药| 日韩欧美高清一区| 日韩精品一区二区三区在线 | 欧美日韩一区不卡| 欧美日韩免费在线视频| 在线看一区二区| 在线播放中文一区| 久久久久久毛片| 亚洲日本韩国一区| 五月激情丁香一区二区三区| 日韩影院在线观看| 国产一区不卡精品| 色综合色狠狠天天综合色| 欧美私模裸体表演在线观看| 91精品国产免费| 国产精品久久久久三级| 亚洲图片欧美视频| 国产盗摄视频一区二区三区| av在线不卡电影| 精品国产成人系列| 一区二区三区精品在线| 久久精品国产77777蜜臀| 成人午夜电影小说| 日韩免费观看高清完整版| 国产精品区一区二区三| 裸体歌舞表演一区二区| 欧美性生活久久| 欧美国产日产图区| 日本不卡的三区四区五区| thepron国产精品| 国产日韩精品一区二区三区在线| 三级亚洲高清视频| 97久久精品人人爽人人爽蜜臀| 欧美一区二区三区视频免费播放| 一区二区视频在线看| 国产乱码精品1区2区3区| 日韩欧美亚洲国产另类| 日韩黄色免费电影| 欧美三电影在线| 亚洲欧洲美洲综合色网| 北岛玲一区二区三区四区 | 精品av久久707| 老司机午夜精品| 日韩精品一区二区三区中文精品| 亚洲h动漫在线| 欧美一区二区在线看| 日韩黄色免费网站| 精品88久久久久88久久久| 精品一区二区日韩| 国产亚洲欧美一级| 99久久精品99国产精品| 国产精品色哟哟网站| 91高清视频在线| 日韩高清不卡在线| 亚洲精品一线二线三线无人区| 国产精品一区二区你懂的| 亚洲国产精华液网站w| 91小宝寻花一区二区三区| 伊人婷婷欧美激情| 2022国产精品视频| 99免费精品在线| 亚洲综合久久久| 欧美丰满嫩嫩电影| 国产v综合v亚洲欧| 亚洲一区中文日韩| 久久中文字幕电影| 色综合中文字幕| 美女免费视频一区| 亚洲精品国产a| 久久影院午夜论| 欧美男人的天堂一二区| 精品无人码麻豆乱码1区2区 | 日韩一区有码在线| 精品国产sm最大网站免费看| 在线精品观看国产| 成人激情av网| 国产精品自拍av| 免费在线观看成人| 性欧美疯狂xxxxbbbb| 日韩一区欧美一区| 亚洲色欲色欲www| 国产精品久久久久久妇女6080| 日韩一区二区三区精品视频| 欧美男生操女生| 欧美人与禽zozo性伦| 色播五月激情综合网| 日本丶国产丶欧美色综合| 色综合婷婷久久| 国产成人免费在线视频| 成人综合婷婷国产精品久久免费| 激情五月激情综合网| 韩国女主播成人在线| 国产伦精品一区二区三区在线观看| 青青国产91久久久久久| 韩国成人精品a∨在线观看| 裸体一区二区三区| 国产精品123| 91免费国产在线| 欧美日韩激情一区二区| 91精品国产综合久久久久| 精品国产乱码久久久久久1区2区 | 亚洲欧美自拍偷拍色图| 中文字幕亚洲一区二区av在线| 亚洲三级在线免费观看| 三级久久三级久久久| 国产盗摄女厕一区二区三区|