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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? mpeg2_vld_inter_h.asm

?? h263,jpeg,mpeg2編解碼核心程序(TI DSP C64xx)
?? ASM
?? 第 1 頁 / 共 3 頁
字號:
* ========================================================================= **   TEXAS INSTRUMENTS, INC.                                                 **                                                                           **   NAME                                                                    **       mpeg2_vld_inter                                                     **                                                                           **   PLATFORM                                                                **       C6400                                                               **                                                                           **   DESCRIPTION                                                             * *       This routine takes a bitstream of an MPEG-2 non-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 coefficient 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_inter                                                * *       (                                                                   * *           const short    *restrict Wptr,                                  * *           short          *restrict outi,                                  * *           IMG_mpeg2_vld  *restrict Mpeg2v,                                * *           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.                                                    * *                                                                           * *      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          b14s_tbl.c    : run-level VLD table (1152 bytes, Table B-14)    * *S          b14_len_tbl.c : code word length table (640 bytes, Table B-14)  * *                                                                           * *       Before calling the routine the bitstream varaibles 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.                * *                                                                           * *   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.                  * *                                                                           * *   NOTES                                                                   * *       This code is little ENDIAN.                                         * *       This code is interrupt-tolerant but not interruptible.              * *                                                                           * *   MEMORY NOTES                                                            * *       No bank conflicts                                                   * *                                                                           * *   CYCLES                                                                  * *       10 * (S - CB) + 37 * CB + 15 * NCB + 34                             * *       where S:   Number of symbols in MB, CB: Number of coded blocks,     * *             NCB: Number of not-coded blocks, and CB+NCB=6                 * *                                                                           * *   CODE SIZE                                                               * *       1212 bytes                                                          * *                                                                           * *   MEMORY REQUIREMENTS                                                     * *       1792 bytes for the lookup tables                                    * *       (can be shared with mpeg2_vld_intra)                                * *                                                                           * *                                                                           * * ------------------------------------------------------------------------- **             Copyright (c) 2002 Texas Instruments, Incorporated.           **                            All Rights Reserved.                           ** ========================================================================= ** ===================== SYMBOLIC REGISTER ASSIGNMENTS ====================== *        .asg            A0,         A_neg        .asg            A1,         A_bptr1        .asg            A1,         A_qw        .asg            A1,         A_test1        .asg            A1,         A_test2        .asg            A16,        A_len_c        .asg            A17,        A_bptr        .asg            A18,        A_len_tbl_adr        .asg            A19,        A_const31        .asg            A2,         A_top0l        .asg            A20,        A_const32        .asg            A22,        A_const36        .asg            A23,        A_qscl        .asg            A24,        A_level4        .asg            A24,        A_t2        .asg            A24,        A_top0_bk        .asg            A25,        A_empty        .asg            A25,        A_len        .asg            A26,        A_nrm        .asg            A26,        A_t1l        .asg            A26,        A_t4l        .asg            A27,        A_t1h        .asg            A27,        A_t4h        .asg            A3,         A_top0h        .asg            A4,         A_ptop0l        .asg            A5,         A_level_f        .asg            A5,         A_level5        .asg            A5,         A_ptop0h        .asg            A6,         A_W        .asg            A7,         A_top1        .asg            A8,         A_word1        .asg            A9,         A_t3        .asg            A9,         A_t7        .asg            A9,         A_t8        .asg            B0,         B_eob        .asg            B1,         B_run        .asg            B1,         B_test3        .asg            B1,         B_12Q4      ; 12Q4 MERGE        .asg            B16,        B_level2        .asg            B16,        B_rld_left        .asg            B17,        B_bptr_cmpl        .asg            B17,        B_t14        .asg            B17,        B_t9        .asg            B19,        B_word2        .asg            B20,        B_Wptr_end        .asg            B21,        B_Zptr        .asg            B22,        B_outi        .asg            B23,        B_sum        .asg            B24,        B_top0_bk        .asg            B26,        B_level3        .asg            B3,         B_const63        .asg            B4,         B_rld_table_adr        .asg            B5,         B_const32        .asg            B6,         B_rld_table_adr_1        .asg            B7,         B_bsbuf_circ        .asg            B8,         B_Wptr        .asg            B9,         B_level        .asg            B9,         B_t12        .asg            B9,         B_t13        .asg            B9,         B_t15

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人免费在线视频| 国产精品久久一卡二卡| 26uuu欧美日本| 久久久国际精品| 亚洲自拍偷拍麻豆| 六月丁香综合在线视频| 国产成人一级电影| 在线区一区二视频| 精品免费国产二区三区| 亚洲日本一区二区| 黑人精品欧美一区二区蜜桃 | 成人永久免费视频| 欧美日韩一区在线| 欧美国产一区在线| 日韩精彩视频在线观看| 99亚偷拍自图区亚洲| 日韩精品中文字幕在线不卡尤物| 国产精品网站在线观看| 日韩精品乱码av一区二区| 国产在线看一区| 欧美肥妇bbw| 亚洲一二三四在线| 国产精品18久久久久久久久久久久| 在线影视一区二区三区| 中文av一区特黄| 国产成人精品一区二| 精品精品国产高清一毛片一天堂| 亚洲精品中文在线| 91猫先生在线| 中文字幕亚洲区| 紧缚奴在线一区二区三区| 91麻豆精品91久久久久同性| 视频一区二区国产| 欧美日韩午夜在线视频| 亚洲午夜久久久久| 欧美日韩一区不卡| 久久精品999| 久久久亚洲欧洲日产国码αv| 久久国产精品第一页| 国产肉丝袜一区二区| 91丨九色丨黑人外教| 亚洲一二三四区不卡| 51久久夜色精品国产麻豆| 日本中文字幕一区二区视频| 日韩女优电影在线观看| 国产成人久久精品77777最新版本 国产成人鲁色资源国产91色综 | 高清国产午夜精品久久久久久| 欧美激情艳妇裸体舞| 欧美吻胸吃奶大尺度电影| 美女视频网站久久| 最新热久久免费视频| 欧美美女激情18p| 成熟亚洲日本毛茸茸凸凹| 亚洲一二三四区| 中文字幕亚洲一区二区av在线| 欧美二区三区的天堂| www.日韩大片| 国产精品一区二区视频| 日韩电影一区二区三区四区| 亚洲欧洲国产日韩| 久久日一线二线三线suv| 欧美亚洲动漫另类| 99在线精品观看| 国产成人免费av在线| 久久国产三级精品| 麻豆成人久久精品二区三区红| 一区二区三区国产| 国产精品萝li| 亚洲精品免费在线| 日韩三级精品电影久久久| 欧美性生活久久| 欧洲激情一区二区| 欧美另类高清zo欧美| 欧洲视频一区二区| 欧美伊人久久久久久久久影院| 99r国产精品| 色域天天综合网| 欧美性生活久久| 制服丝袜成人动漫| 日韩三级在线免费观看| 日韩午夜在线观看视频| 欧美欧美午夜aⅴ在线观看| 欧美疯狂做受xxxx富婆| 久久综合九色综合97_久久久| 亚洲精品一线二线三线| 国产精品久久午夜| 午夜欧美一区二区三区在线播放| 五月激情综合网| 精品伊人久久久久7777人| 国产成人免费在线视频| 91免费国产在线| 欧美日韩一卡二卡三卡| 久久久精品蜜桃| 亚洲人xxxx| 激情文学综合网| 不卡一区二区在线| 欧美日韩在线电影| 国产精品少妇自拍| 日韩精品一级中文字幕精品视频免费观看| 亚洲免费观看高清| 精品一区二区三区的国产在线播放 | 国产ts人妖一区二区| 在线视频亚洲一区| 精品美女被调教视频大全网站| 国产精品你懂的在线欣赏| 香蕉久久夜色精品国产使用方法| 韩国av一区二区三区四区| 欧美影院一区二区| 日韩国产成人精品| 欧美视频一区二区| 欧美国产一区视频在线观看| 经典三级在线一区| 欧美一级夜夜爽| 亚洲成人一二三| 91福利在线导航| 一区二区三区欧美久久| 91碰在线视频| 亚洲品质自拍视频| 色婷婷久久久综合中文字幕| 久久久不卡网国产精品二区| 美国av一区二区| 欧美一二三区在线观看| 免费欧美日韩国产三级电影| 欧美一区二区视频免费观看| 亚洲乱码国产乱码精品精98午夜| 成人app网站| 亚洲美女少妇撒尿| 91福利在线播放| 免费高清成人在线| 欧美成人综合网站| 国产精品一区二区久久不卡| 中文在线一区二区| 91婷婷韩国欧美一区二区| 亚洲一区av在线| 亚洲精品一区二区精华| 91理论电影在线观看| 视频在线观看一区| 久久女同精品一区二区| 色综合天天综合狠狠| 亚洲午夜三级在线| 久久综合狠狠综合久久综合88 | 久久精品一级爱片| 91丨九色丨黑人外教| 天天色图综合网| 亚洲高清一区二区三区| 欧美人妖巨大在线| 99在线精品免费| 精品一区二区三区久久| 亚洲国产精品嫩草影院| 久久久久久久久免费| 欧美一区二区精美| 91玉足脚交白嫩脚丫在线播放| 美国三级日本三级久久99| 亚洲精品日产精品乱码不卡| 26uuu精品一区二区在线观看| 91久久精品网| 成人午夜视频网站| 捆绑紧缚一区二区三区视频| 亚洲无线码一区二区三区| 国产精品伦理在线| 国产三级一区二区| 精品处破学生在线二十三| 91精品国产麻豆国产自产在线| 色哟哟精品一区| 成人avav影音| 99精品久久只有精品| fc2成人免费人成在线观看播放| 欧美aa在线视频| 蜜桃视频一区二区三区| 视频一区中文字幕国产| 天堂一区二区在线免费观看| 亚洲电影你懂得| 日韩在线卡一卡二| 国精品**一区二区三区在线蜜桃| 91在线观看高清| 色88888久久久久久影院野外| 色婷婷综合久久久中文一区二区 | 一区二区三区欧美视频| 亚洲综合色婷婷| 人人超碰91尤物精品国产| 激情另类小说区图片区视频区| 国产成人一区在线| 欧美色手机在线观看| 欧美大胆人体bbbb| 国产人成亚洲第一网站在线播放| 国产精品理论在线观看| 亚洲曰韩产成在线| 国产在线精品一区二区不卡了| 成人国产精品免费观看视频| 日本韩国欧美国产| 久久久久久久久久久久久夜| 亚洲乱码日产精品bd| 另类小说色综合网站| 91网站在线观看视频| 久久久精品tv| 亚洲aaa精品| 一本久久a久久精品亚洲| 日韩视频在线你懂得| 亚洲三级电影网站| av综合在线播放|