• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/

Lines Matching defs:block_type

71 static int rv34_decode_mv(RV34DecContext *r, int block_type);
363 r->block_type = RV34_MB_TYPE_INTRA16x16;
373 r->block_type = RV34_MB_TYPE_INTRA;
395 r->block_type = r->decode_mb_info(r);
396 if(r->block_type == -1)
398 s->current_picture_ptr->mb_type[mb_pos] = rv34_mb_type_to_lavc[r->block_type];
399 r->mb_type[mb_pos] = r->block_type;
400 if(r->block_type == RV34_MB_SKIP){
407 rv34_decode_mv(r, r->block_type);
408 if(r->block_type == RV34_MB_SKIP){
465 static void rv34_pred_mv(RV34DecContext *r, int block_type, int subblock_no, int dmv_no)
473 int c_off = part_sizes_w[block_type];
506 for(j = 0; j < part_sizes_h[block_type]; j++){
507 for(i = 0; i < part_sizes_w[block_type]; i++){
549 static void rv34_pred_mv_b(RV34DecContext *r, int block_type, int dir)
593 if(block_type == RV34_MB_B_BACKWARD || block_type == RV34_MB_B_FORWARD){
601 static void rv34_pred_mv_rv3(RV34DecContext *r, int block_type, int dir)
653 * @param block_type type of the current block
664 static inline void rv34_mc(RV34DecContext *r, const int block_type,
747 if(block_type == RV34_MB_P_16x8){
751 }else if(block_type == RV34_MB_P_8x16){
756 is16x16 = (block_type != RV34_MB_P_8x8) && (block_type != RV34_MB_P_16x8) && (block_type != RV34_MB_P_8x16);
780 static void rv34_mc_1mv(RV34DecContext *r, const int block_type,
784 rv34_mc(r, block_type, xoff, yoff, mv_off, width, height, dir, r->rv30, 0,
811 static void rv34_mc_2mv(RV34DecContext *r, const int block_type)
813 int weighted = !r->rv30 && block_type != RV34_MB_B_BIDIR && r->weight1 != 8192;
815 rv34_mc(r, block_type, 0, 0, 0, 2, 2, 0, r->rv30, weighted,
819 rv34_mc(r, block_type, 0, 0, 0, 2, 2, 1, r->rv30, 0,
823 rv34_mc(r, block_type, 0, 0, 0, 2, 2, 1, r->rv30, 1,
857 static int rv34_decode_mv(RV34DecContext *r, int block_type)
866 for(i = 0; i < num_mvs[block_type]; i++){
870 switch(block_type){
878 rv34_mc_1mv (r, block_type, 0, 0, 0, 2, 2, 0);
898 rv34_mc_2mv(r, block_type);
905 rv34_pred_mv(r, block_type, 0, 0);
906 rv34_mc_1mv (r, block_type, 0, 0, 0, 2, 2, 0);
913 rv34_pred_mv_rv3(r, block_type, block_type == RV34_MB_B_BACKWARD);
915 rv34_pred_mv_b (r, block_type, block_type == RV34_MB_B_BACKWARD);
916 rv34_mc_1mv (r, block_type, 0, 0, 0, 2, 2, block_type == RV34_MB_B_BACKWARD);
920 rv34_pred_mv(r, block_type, 0, 0);
921 rv34_pred_mv(r, block_type, 1 + (block_type == RV34_MB_P_16x8), 1);
922 if(block_type == RV34_MB_P_16x8){
923 rv34_mc_1mv(r, block_type, 0, 0, 0, 2, 1, 0);
924 rv34_mc_1mv(r, block_type, 0, 8, s->b8_stride, 2, 1, 0);
926 if(block_type == RV34_MB_P_8x16){
927 rv34_mc_1mv(r, block_type, 0, 0, 0, 1, 2, 0);
928 rv34_mc_1mv(r, block_type, 8, 0, 1, 1, 2, 0);
932 rv34_pred_mv_b (r, block_type, 0);
933 rv34_pred_mv_b (r, block_type, 1);
934 rv34_mc_2mv (r, block_type);
938 rv34_pred_mv(r, block_type, i, i);
939 rv34_mc_1mv (r, block_type, (i&1)<<3, (i&2)<<2, (i&1)+(i>>1)*s->b8_stride, 1, 1, 0);