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

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

?? mpeg2_vld_intra_h.asm

?? h263,jpeg,mpeg2編解碼核心程序(TI DSP C64xx)
?? ASM
?? 第 1 頁 / 共 4 頁
字號:
* ========================================================================= **   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

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕av一区二区三区高 | 国产精品自拍网站| 欧美精品在线观看一区二区| 亚洲地区一二三色| 欧美日韩成人在线| 看电影不卡的网站| 国产日韩精品久久久| av电影在线观看不卡| 亚洲你懂的在线视频| 欧美日韩aaa| 久久99精品视频| 中文字幕av一区 二区| 91老师片黄在线观看| 三级久久三级久久| 久久嫩草精品久久久精品| 不卡的av在线播放| 亚洲国产精品一区二区久久| 日韩免费视频一区| 成人av免费网站| 亚洲国产欧美在线| 久久久久国产精品人| 色呦呦国产精品| 日本免费新一区视频| 国产色综合久久| 在线观看日韩精品| 久久er精品视频| 亚洲欧美色图小说| 日韩欧美高清dvd碟片| 99在线精品一区二区三区| 日本不卡视频在线| 国产精品久久久爽爽爽麻豆色哟哟| 欧美主播一区二区三区| 国产精品亚洲成人| 亚洲午夜免费福利视频| 久久久高清一区二区三区| 欧美性生活久久| 成人av一区二区三区| 日本午夜一本久久久综合| 国产精品视频在线看| 欧美一区二区三区视频在线| 99视频精品在线| 国产美女av一区二区三区| 亚洲成人免费看| 中日韩免费视频中文字幕| 制服丝袜中文字幕一区| 99精品视频一区| 黑人精品欧美一区二区蜜桃| 亚洲一区二区三区四区在线免费观看 | 精品国产污污免费网站入口| 91高清在线观看| 成人久久18免费网站麻豆| 美美哒免费高清在线观看视频一区二区| 亚洲国产精品成人综合色在线婷婷 | 亚洲欧美另类综合偷拍| 久久网站最新地址| 欧美久久久久久蜜桃| 91麻豆免费看片| 成人一级视频在线观看| 国内外成人在线视频| 日韩国产精品久久久| 樱花影视一区二区| 国产精品久久久久久久蜜臀| 精品乱码亚洲一区二区不卡| 56国语精品自产拍在线观看| 色狠狠色狠狠综合| 色哟哟国产精品| 不卡电影一区二区三区| 东方aⅴ免费观看久久av| 国内国产精品久久| 久久精品国产秦先生| 日韩精品91亚洲二区在线观看| 亚洲国产精品麻豆| 亚洲一区二区成人在线观看| 亚洲男人天堂av网| 亚洲精品成人在线| 亚洲激情一二三区| 性做久久久久久久久| 精品国产a毛片| 成人午夜电影久久影院| 亚洲va天堂va国产va久| 亚洲一区二区三区视频在线播放| 亚洲视频在线一区二区| 136国产福利精品导航| 亚洲欧洲日韩在线| 最新不卡av在线| 亚洲综合无码一区二区| 亚洲国产视频在线| 日本一区中文字幕| 久久99九九99精品| 国产成人自拍网| 成人禁用看黄a在线| 91免费视频大全| 欧美性猛交xxxxxx富婆| 7777精品伊人久久久大香线蕉的| 日韩视频中午一区| 久久精品亚洲精品国产欧美| 国产精品入口麻豆九色| 亚洲精品日日夜夜| 视频在线在亚洲| 国产精品亚洲专一区二区三区| 成人午夜av影视| 欧美色图免费看| 日韩精品一区二区在线观看| 国产精品日韩精品欧美在线| 一区二区日韩av| 麻豆精品在线看| 成人妖精视频yjsp地址| 在线观看一区二区视频| 欧美一级日韩不卡播放免费| 久久久久国产一区二区三区四区| 亚洲男同性视频| 精品一区精品二区高清| 成av人片一区二区| 欧美狂野另类xxxxoooo| 久久先锋影音av鲁色资源| 亚洲欧美日韩人成在线播放| 日韩在线卡一卡二| 成人a免费在线看| 69堂成人精品免费视频| 欧美激情综合五月色丁香小说| 亚洲精品美腿丝袜| 精品亚洲成av人在线观看| 97se亚洲国产综合自在线| 欧美一级理论片| 亚洲四区在线观看| 韩国成人在线视频| 欧美日韩黄色一区二区| 国产精品国产三级国产普通话三级| 亚洲一区在线观看免费观看电影高清| 国内久久婷婷综合| 欧美系列日韩一区| 国产精品久久久久久久第一福利| 午夜精品久久一牛影视| gogogo免费视频观看亚洲一| 精品少妇一区二区三区日产乱码 | 不卡av免费在线观看| 91麻豆精品国产自产在线观看一区| 国产精品视频免费看| 美女网站在线免费欧美精品| 欧美三级中文字幕在线观看| 中文字幕精品一区| 日本高清视频一区二区| 精品国产乱子伦一区| 亚洲成人一二三| 色老汉av一区二区三区| 久久婷婷一区二区三区| 日韩福利电影在线| 欧美亚洲动漫另类| 亚洲国产精品黑人久久久| 日韩精品五月天| 在线观看亚洲一区| 久久午夜国产精品| 亚洲国产cao| 色婷婷亚洲精品| 国产精品久久久久久亚洲毛片 | 亚洲mv在线观看| 99久久综合色| 中文乱码免费一区二区| 国产成人无遮挡在线视频| 精品区一区二区| 美女精品一区二区| 日韩精品一区二区在线观看| 日本不卡一区二区| 欧美日韩成人综合天天影院| 午夜精品在线看| 欧美日韩情趣电影| 性做久久久久久免费观看| 欧美性受xxxx黑人xyx| 亚洲午夜在线视频| 欧美日韩国产小视频在线观看| 伊人色综合久久天天| 91久久精品国产91性色tv| 亚洲人123区| 在线观看三级视频欧美| 亚洲va欧美va天堂v国产综合| 欧美日产国产精品| 丝袜国产日韩另类美女| 91精品国产色综合久久久蜜香臀| 丝袜诱惑亚洲看片| 欧美r级在线观看| 国产精品影音先锋| 国产精品国产三级国产a| 91欧美一区二区| 亚洲成av人片在线| 日韩精品一区二区三区四区视频| 国产一区二区三区在线观看免费视频| 亚洲美女免费视频| 在线播放91灌醉迷j高跟美女| 青青草国产成人99久久| 久久亚洲二区三区| 色香色香欲天天天影视综合网| 一区二区三区日韩欧美| 欧美一区二区三区在线观看视频| 久久激五月天综合精品| 国产精品久久久久aaaa樱花| 欧美色图激情小说| 国产毛片精品一区| 亚洲精品成a人| 精品久久久久久久人人人人传媒 | 成人a区在线观看|