Home
last modified time | relevance | path

Searched refs:tx_mode (Results 1 – 22 of 22) sorted by relevance

/external/v4l2_codec2/vda/
Dvp9_compressed_header_parser.cc67 int tx_mode; in ReadTxMode() local
69 tx_mode = Vp9CompressedHeader::ONLY_4X4; in ReadTxMode()
71 tx_mode = reader_.ReadLiteral(2); in ReadTxMode()
72 if (tx_mode == Vp9CompressedHeader::ALLOW_32X32) in ReadTxMode()
73 tx_mode += reader_.ReadLiteral(1); in ReadTxMode()
75 fhdr->compressed_header.tx_mode = in ReadTxMode()
76 static_cast<Vp9CompressedHeader::Vp9TxMode>(tx_mode); in ReadTxMode()
130 tx_mode_to_biggest_tx_size[fhdr->compressed_header.tx_mode]; in ReadCoefProbs()
265 if (fhdr->compressed_header.tx_mode == Vp9CompressedHeader::TX_MODE_SELECT) in Parse()
Dvp9_parser.h182 Vp9TxMode tx_mode; member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_bitstream.c267 if (bsize >= BLOCK_8X8 && cm->tx_mode == TX_MODE_SELECT && in pack_inter_mode_mvs()
349 if (bsize >= BLOCK_8X8 && cm->tx_mode == TX_MODE_SELECT) in write_mb_modes_kf()
679 const TX_MODE tx_mode = cpi->common.tx_mode; in update_coef_probs() local
680 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in update_coef_probs()
816 vpx_write_literal(w, VPXMIN(cm->tx_mode, ALLOW_32X32), 2); in encode_txfm_probs()
817 if (cm->tx_mode >= ALLOW_32X32) in encode_txfm_probs()
818 vpx_write_bit(w, cm->tx_mode == TX_MODE_SELECT); in encode_txfm_probs()
821 if (cm->tx_mode == TX_MODE_SELECT) { in encode_txfm_probs()
1281 cm->tx_mode = ONLY_4X4; in write_compressed_header()
Dvp9_picklpf.c106 if (cm->tx_mode != ONLY_4X4) bias >>= 1; in search_filter_level()
Dvp9_pickmode.c353 if (cpi->common.tx_mode == TX_MODE_SELECT) { in calculate_tx_size()
356 tx_mode_to_biggest_tx_size[cpi->common.tx_mode]); in calculate_tx_size()
372 tx_mode_to_biggest_tx_size[cpi->common.tx_mode]); in calculate_tx_size()
1120 tx_mode_to_biggest_tx_size[cpi->common.tx_mode]); in vp9_pick_intra_mode()
1802 VPXMIN(max_txsize_lookup[bsize], tx_mode_to_biggest_tx_size[cm->tx_mode]); in vp9_pick_inter_mode()
2410 tx_mode_to_biggest_tx_size[cpi->common.tx_mode]); in vp9_pick_inter_mode()
Dvp9_encodeframe.c1868 static void set_mode_info_seg_skip(MACROBLOCK *x, TX_MODE tx_mode, in set_mode_info_seg_skip() argument
1880 VPXMIN(max_txsize_lookup[bsize], tx_mode_to_biggest_tx_size[tx_mode]); in set_mode_info_seg_skip()
4370 return cpi->common.tx_mode; in select_tx_mode()
4451 set_mode_info_seg_skip(x, cm->tx_mode, rd_cost, bsize); in nonrd_pick_sb_modes()
5701 cm->tx_mode = select_tx_mode(cpi, xd); in encode_frame_internal()
5961 if (cm->tx_mode == TX_MODE_SELECT) { in vp9_encode_frame()
5982 cm->tx_mode = ALLOW_8X8; in vp9_encode_frame()
5986 cm->tx_mode = ONLY_4X4; in vp9_encode_frame()
5989 cm->tx_mode = ALLOW_32X32; in vp9_encode_frame()
5991 cm->tx_mode = ALLOW_16X16; in vp9_encode_frame()
[all …]
Dvp9_rdopt.c818 const TX_SIZE largest_tx_size = tx_mode_to_biggest_tx_size[cm->tx_mode]; in choose_largest_tx_size()
853 if (cm->tx_mode == TX_MODE_SELECT) { in choose_tx_size_from_rd()
859 VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[cm->tx_mode]); in choose_tx_size_from_rd()
906 *rate = r[mi->tx_size][cm->tx_mode == TX_MODE_SELECT]; in choose_tx_size_from_rd()
/external/u-boot/drivers/net/
Dsunxi_emac.c21 u32 tx_mode; /* 0x04 */ member
287 writel(EMAC_TX_SETUP, &regs->tx_mode); in emac_setup()
Dpch_gbe.h245 u32 tx_mode; member
Dpch_gbe.c212 PCH_GBE_TM_SHORT_PKT, &mac_regs->tx_mode); in pch_gbe_start()
/external/libvpx/libvpx/test/
Dvp9_encoder_parms_get_to_decoder.cc111 EXPECT_EQ(ONLY_4X4, common->tx_mode); in HandleDecodeResult()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c82 TX_MODE tx_mode = cm->tx_mode; in read_tx_size() local
85 if (allow_select && tx_mode == TX_MODE_SELECT && bsize >= BLOCK_8X8) in read_tx_size()
88 return VPXMIN(max_tx_size, tx_mode_to_biggest_tx_size[tx_mode]); in read_tx_size()
Dvp9_decodeframe.c64 TX_MODE tx_mode = vpx_read_literal(r, 2); in read_tx_mode() local
65 if (tx_mode == ALLOW_32X32) tx_mode += vpx_read_bit(r); in read_tx_mode()
66 return tx_mode; in read_tx_mode()
1317 static void read_coef_probs(FRAME_CONTEXT *fc, TX_MODE tx_mode, vpx_reader *r) { in read_coef_probs() argument
1318 const TX_SIZE max_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in read_coef_probs()
2411 cm->tx_mode = xd->lossless ? ONLY_4X4 : read_tx_mode(&r); in read_compressed_header()
2412 if (cm->tx_mode == TX_MODE_SELECT) read_tx_mode_probs(&fc->tx_probs, &r); in read_compressed_header()
2413 read_coef_probs(fc, cm->tx_mode, &r); in read_compressed_header()
/external/libaom/libaom/av1/encoder/
Dpicklpf.c149 if (cm->tx_mode != ONLY_4X4) bias >>= 1; in search_filter_level()
Dencodeframe.c311 const TX_MODE tx_mode) { in reset_tx_size() argument
315 } else if (tx_mode != TX_MODE_SELECT) { in reset_tx_size()
316 mbmi->tx_size = tx_size_from_tx_mode(mbmi->sb_type, tx_mode); in reset_tx_size()
368 reset_tx_size(x, mi_addr, cm->tx_mode); in update_state()
4935 return cpi->common.tx_mode; in select_tx_mode()
5420 cm->tx_mode = select_tx_mode(cpi); in encode_frame_internal()
5767 if (cm->tx_mode == TX_MODE_SELECT && cpi->td.mb.txb_split_count == 0) in av1_encode_frame()
5768 cm->tx_mode = TX_MODE_LARGEST; in av1_encode_frame()
6048 if (cm->tx_mode == TX_MODE_SELECT && !xd->lossless[mbmi->segment_id] && in encode_superblock()
6079 intra_tx_size = tx_size_from_tx_mode(bsize, cm->tx_mode); in encode_superblock()
[all …]
Dbitstream.c1523 if (cm->tx_mode == TX_MODE_SELECT && block_signals_txsize(bsize) && in write_modes_b()
3073 assert(cm->tx_mode == ONLY_4X4); in write_uncompressed_header_obu()
3075 aom_wb_write_bit(wb, cm->tx_mode == TX_MODE_SELECT); in write_uncompressed_header_obu()
Drdopt.c3575 if (cm->tx_mode != TX_MODE_SELECT || !block_signals_txsize(bsize)) return 0; in tx_size_cost()
3596 cm->tx_mode == TX_MODE_SELECT && block_signals_txsize(mbmi->sb_type); in txfm_yrd()
3685 mbmi->tx_size = tx_size_from_tx_mode(bs, cm->tx_mode); in choose_largest_tx_size()
3751 const int tx_select = cm->tx_mode == TX_MODE_SELECT; in choose_tx_size_type_from_rd()
3760 const TX_SIZE chosen_tx_size = tx_size_from_tx_mode(bs, cm->tx_mode); in choose_tx_size_type_from_rd()
4198 TX_SIZE tx_size = tx_size_from_tx_mode(bsize, cm->tx_mode); in intra_model_yrd()
8916 if (cm->tx_mode == TX_MODE_SELECT && !xd->lossless[mbmi->segment_id]) { in txfm_search()
11021 block_signals_txsize(bsize) ? tx_size_from_tx_mode(bsize, cm->tx_mode) in rd_pick_skip_mode()
11107 if (cm->tx_mode == TX_MODE_SELECT && !xd->lossless[mbmi->segment_id]) { in sf_refine_fast_tx_type_search()
/external/libvpx/libvpx/vp9/common/
Dvp9_onyxc_int.h164 TX_MODE tx_mode; member
Dvp9_entropymode.c383 if (cm->tx_mode == TX_MODE_SELECT) { in vp9_adapt_mode_probs()
/external/libaom/libaom/av1/common/
Dblockd.h732 static INLINE TX_SIZE tx_size_from_tx_mode(BLOCK_SIZE bsize, TX_MODE tx_mode) { in tx_size_from_tx_mode() argument
733 const TX_SIZE largest_tx_size = tx_mode_to_biggest_tx_size[tx_mode]; in tx_size_from_tx_mode()
Donyxc_int.h383 TX_MODE tx_mode; member
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c1364 const TX_MODE tx_mode = cm->tx_mode; in read_tx_size() local
1369 if ((!is_inter || allow_select_inter) && tx_mode == TX_MODE_SELECT) { in read_tx_size()
1373 return tx_size_from_tx_mode(bsize, tx_mode); in read_tx_size()
1376 assert(IMPLIES(tx_mode == ONLY_4X4, bsize == BLOCK_4X4)); in read_tx_size()
1597 if (cm->tx_mode == TX_MODE_SELECT && block_signals_txsize(bsize) && in parse_decode_block()
5417 cm->tx_mode = read_tx_mode(cm, rb); in read_uncompressed_header()