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

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

?? mpeg2_vld_intra_h.asm

?? h263,jpeg,mpeg2編解碼核心程序(TI DSP C64xx)
?? ASM
?? 第 1 頁(yè) / 共 4 頁(yè)
字號(hào):
* ========================================================================= **   TEXAS INSTRUMENTS, INC.                                                 **                                                                           **   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.                  * *                                                                           * *   NOTES                                                                   * *       This code is little ENDIAN.                                         * *       This code is interrupt-tolerant but not interruptible.              * *                                                                           * *   MEMORY NOTES                                                            * *       No bank conflicts                                                   * *                                                                           * *   CYCLES                                                                  * *       10 * (S - CB) + 55 * CB + 15 * NCB + 35                             * *       where S:   Number of symbols in MB, CB: Number of coded blocks,     * *             NCB: Number of not-coded blocks, and CB+NCB=6                 * *                                                                           * *   CODE SIZE                                                               * *       1496 bytes                                                          * *                                                                           * *   DATA SIZE                                                               * *       3584 bytes for the lookup tables                                    * * ------------------------------------------------------------------------- **             Copyright (c) 2002 Texas Instruments, Incorporated.           **                            All Rights Reserved.                           ** ========================================================================= *            .sect ".text:hand"            .global _mpeg2_vld_intra_asm* ====================== SYMBOLIC REGISTER ASSIGNMENTS ===================== *        .asg            A0,         A_neg        .asg            A1,         A_bptr1        .asg            A1,         A_qw        .asg            A1,         A_test1        .asg            A1,         A_test2        .asg            A14,        A_constSHR      ; 12Q4 MERGE        .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

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲伊人色欲综合网| 972aa.com艺术欧美| 裸体健美xxxx欧美裸体表演| 亚洲444eee在线观看| 亚洲va国产天堂va久久en| 一个色综合av| 亚洲风情在线资源站| 亚洲成人动漫精品| 丝袜亚洲另类欧美| 喷白浆一区二区| 九九热在线视频观看这里只有精品| 日本美女一区二区三区视频| 免费不卡在线观看| 国产一区二区三区最好精华液| 国产精品亚洲成人| 成人av第一页| 欧洲精品一区二区| 欧美日韩免费在线视频| 538prom精品视频线放| 欧美videos大乳护士334| 久久九九全国免费| 亚洲欧洲精品一区二区三区不卡 | 亚洲视频一二三| 一区二区在线观看视频| 天天av天天翘天天综合网 | 国产成人综合网| 不卡视频一二三四| 日本韩国欧美一区二区三区| 欧美日本一区二区| 精品捆绑美女sm三区| 中文字幕乱码亚洲精品一区| 亚洲精品自拍动漫在线| 日韩av在线播放中文字幕| 91免费视频大全| 91精品免费观看| 国产丝袜美腿一区二区三区| 亚洲三级在线观看| 日本三级亚洲精品| 成人午夜视频在线| 欧美日韩久久久| 国产网站一区二区| 亚洲综合免费观看高清完整版在线 | 成人99免费视频| 欧美日韩黄视频| 国产精品美女久久久久aⅴ| 亚洲一卡二卡三卡四卡无卡久久| 国内精品在线播放| 欧美熟乱第一页| 亚洲国产精品精华液ab| 视频一区二区欧美| 成人av片在线观看| 欧美一级欧美三级在线观看| 国产精品毛片高清在线完整版 | 欧美视频一区二区三区在线观看 | 亚洲精品自拍动漫在线| 国产一区二三区| 欧洲色大大久久| 国产精品污污网站在线观看| 日韩精品1区2区3区| 91美女视频网站| 精品精品欲导航| 亚洲一区中文在线| 粉嫩一区二区三区在线看| 视频一区免费在线观看| 久久精品99久久久| 国产a久久麻豆| 日韩国产一区二| 亚洲v精品v日韩v欧美v专区| 亚洲成a人v欧美综合天堂 | 丝袜亚洲另类欧美综合| 亚洲国产一区二区三区青草影视| 亚洲图片你懂的| 国产精品第四页| 亚洲欧美偷拍三级| 亚洲精品少妇30p| 亚洲精品视频在线| 亚洲男女毛片无遮挡| 中文字幕中文字幕在线一区 | 欧美变态口味重另类| 日韩免费视频线观看| 91精品国产综合久久香蕉的特点| 欧美剧在线免费观看网站 | 精品亚洲欧美一区| 韩国av一区二区三区在线观看| 久久精品国产一区二区三区免费看| 麻豆精品视频在线| 国产一区二区三区国产| 丁香亚洲综合激情啪啪综合| 99久久精品国产麻豆演员表| 91丨九色丨黑人外教| 在线观看视频一区二区欧美日韩| 欧美中文一区二区三区| 欧美美女直播网站| 日韩视频免费观看高清完整版在线观看 | 美女免费视频一区二区| 激情欧美日韩一区二区| 国产精品一卡二卡| 99国产欧美久久久精品| 欧美日韩综合一区| 欧美成人乱码一区二区三区| 日本一区二区三区高清不卡| 亚洲精品国产高清久久伦理二区| 午夜视频一区在线观看| 国内成+人亚洲+欧美+综合在线| 懂色av中文字幕一区二区三区| 色素色在线综合| 日韩视频免费观看高清完整版在线观看 | 国产午夜三级一区二区三| 国产精品国产自产拍高清av| 亚洲高清视频中文字幕| 国产在线日韩欧美| 色婷婷激情综合| 精品少妇一区二区三区在线视频| 中文字幕高清不卡| 午夜视黄欧洲亚洲| 丰满岳乱妇一区二区三区 | 91精品国产入口在线| 国产亚洲欧美色| 午夜av一区二区| 处破女av一区二区| 欧美日韩国产系列| 美洲天堂一区二卡三卡四卡视频| 国产在线精品一区二区三区不卡| 91美女在线看| 久久精品视频免费| 日韩av电影天堂| 一本一道波多野结衣一区二区| 精品日韩一区二区| 亚洲最快最全在线视频| 国产成人aaaa| 日韩欧美视频在线| 亚洲免费伊人电影| 国产寡妇亲子伦一区二区| 欧美一区二区视频观看视频 | 91精品国产综合久久久久久漫画 | 自拍av一区二区三区| 国产一区激情在线| 6080午夜不卡| 亚洲一区二区欧美日韩 | 亚洲成人综合网站| 成人免费视频播放| 26uuuu精品一区二区| 日韩精品成人一区二区三区| 色av一区二区| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆| 国产在线播精品第三| 91麻豆精品国产91久久久久| 一二三区精品视频| 99久久99久久精品国产片果冻| 久久久久国产精品麻豆| 日本不卡在线视频| 欧美三级电影网站| 一区二区三区av电影| 不卡视频一二三| 中文字幕欧美日本乱码一线二线| 国产在线视频精品一区| 精品国精品自拍自在线| 麻豆国产精品官网| 欧美成人伊人久久综合网| 亚洲国产另类av| 欧美三日本三级三级在线播放| 亚洲精品成人悠悠色影视| 97国产精品videossex| 中文字幕一区二区三区蜜月| 高清不卡在线观看| 国产精品久久夜| av一区二区不卡| 亚洲精品大片www| 在线观看亚洲一区| 国产一区二区在线观看视频| 久久久精品免费免费| 国产成人在线电影| 国产精品麻豆欧美日韩ww| yourporn久久国产精品| 亚洲视频资源在线| 欧美日韩中文字幕一区二区| 亚洲电影你懂得| 欧美一区二区三区在线观看视频| 秋霞午夜鲁丝一区二区老狼| 日韩一级高清毛片| 国产乱码精品一区二区三区av| 国产午夜亚洲精品午夜鲁丝片| 成人av在线看| 亚洲国产精品久久艾草纯爱 | 欧美日韩在线三级| 日韩精品亚洲一区二区三区免费| 精品三级av在线| jlzzjlzz欧美大全| 亚洲丶国产丶欧美一区二区三区| 日韩一区二区在线观看视频播放| 久久99久久久欧美国产| 国产日本欧美一区二区| 91麻豆国产精品久久| 天天综合天天做天天综合| 日韩欧美色电影| 97久久久精品综合88久久| 污片在线观看一区二区| 国产日韩精品一区二区三区在线| 色呦呦日韩精品| 美女任你摸久久|