Lines Matching refs:error_status
248 IH264E_ERROR_T error_status = IH264E_SUCCESS; in ih264e_write_coeff4x4_cavlc() local
308 error_status = ih264e_put_bits(ps_bit_stream, u4_codeword, u4_codesize); in ih264e_write_coeff4x4_cavlc()
310 return error_status; in ih264e_write_coeff4x4_cavlc()
369 error_status = ih264e_put_bits(ps_bit_stream, u4_codeword, u4_codesize); in ih264e_write_coeff4x4_cavlc()
376 error_status = ih264e_put_bits(ps_bit_stream, u4_sign1, u4_trailing_ones); in ih264e_write_coeff4x4_cavlc()
461 error_status = ih264e_put_bits(ps_bit_stream, u4_codeword, u4_codesize); in ih264e_write_coeff4x4_cavlc()
520 error_status = ih264e_put_bits(ps_bit_stream, u4_codeword, u4_codesize); in ih264e_write_coeff4x4_cavlc()
551 error_status = ih264e_put_bits(ps_bit_stream, u4_codeword, u4_codesize); in ih264e_write_coeff4x4_cavlc()
563 return error_status; in ih264e_write_coeff4x4_cavlc()
613 IH264E_ERROR_T error_status = IH264E_SUCCESS; in ih264e_write_coeff8x8_cavlc() local
632 …error_status = ih264e_write_coeff4x4_cavlc(pi2_res_block[0], pu1_nnz[0], u4_block_type, pu1_zero_r… in ih264e_write_coeff8x8_cavlc()
645 …error_status = ih264e_write_coeff4x4_cavlc(pi2_res_block[1], pu1_nnz[1], u4_block_type, pu1_zero_r… in ih264e_write_coeff8x8_cavlc()
658 …error_status = ih264e_write_coeff4x4_cavlc(pi2_res_block[2], pu1_nnz[2], u4_block_type, pu1_zero_r… in ih264e_write_coeff8x8_cavlc()
671 …error_status = ih264e_write_coeff4x4_cavlc(pi2_res_block[3], pu1_nnz[3], u4_block_type, pu1_zero_r… in ih264e_write_coeff8x8_cavlc()
673 return error_status; in ih264e_write_coeff8x8_cavlc()
703 IH264E_ERROR_T error_status = IH264E_SUCCESS; in ih264e_encode_residue() local
765 …error_status = ih264e_write_coeff4x4_cavlc(pi2_res_block[0], au1_nnz[0], CAVLC_LUMA_4x4_DC, pu1_ze… in ih264e_encode_residue()
786 …error_status = ih264e_write_coeff8x8_cavlc(ps_ent_ctxt, pi2_res_block, au1_nnz, au2_sig_coeff_map,… in ih264e_encode_residue()
808 …error_status = ih264e_write_coeff8x8_cavlc(ps_ent_ctxt, pi2_res_block, au1_nnz, au2_sig_coeff_map,… in ih264e_encode_residue()
830 …error_status = ih264e_write_coeff8x8_cavlc(ps_ent_ctxt, pi2_res_block, au1_nnz, au2_sig_coeff_map,… in ih264e_encode_residue()
851 …error_status = ih264e_write_coeff8x8_cavlc(ps_ent_ctxt, pi2_res_block, au1_nnz, au2_sig_coeff_map,… in ih264e_encode_residue()
870 …error_status = ih264e_write_coeff4x4_cavlc(pi2_res_block[0], au1_nnz[0], CAVLC_CHROMA_4x4_DC, pu1_… in ih264e_encode_residue()
872 …error_status = ih264e_write_coeff4x4_cavlc(pi2_res_block[1], au1_nnz[1], CAVLC_CHROMA_4x4_DC, pu1_… in ih264e_encode_residue()
895 …error_status = ih264e_write_coeff8x8_cavlc(ps_ent_ctxt, pi2_res_block, au1_nnz, au2_sig_coeff_map,… in ih264e_encode_residue()
916 …error_status = ih264e_write_coeff8x8_cavlc(ps_ent_ctxt, pi2_res_block, au1_nnz, au2_sig_coeff_map,… in ih264e_encode_residue()
927 return error_status; in ih264e_encode_residue()
955 IH264E_ERROR_T error_status = IH264E_SUCCESS; in ih264e_write_islice_mb_cavlc() local
1009 PUT_BITS_UEV(ps_bitstream, mb_type_stream, error_status, "mb type"); in ih264e_write_islice_mb_cavlc()
1012 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_islice_mb_cavlc()
1027 PUT_BITS_UEV(ps_bitstream, 0, error_status, "mb type"); in ih264e_write_islice_mb_cavlc()
1037 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_islice_mb_cavlc()
1043 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_islice_mb_cavlc()
1052 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_islice_mb_cavlc()
1058 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_islice_mb_cavlc()
1063 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_islice_mb_cavlc()
1082 PUT_BITS_UEV(ps_bitstream, 0, error_status, "mb type"); in ih264e_write_islice_mb_cavlc()
1085 … PUT_BITS(ps_bitstream, u4_transform_size_8x8_flag, 1, error_status, "u4_transform_size_8x8_flag"); in ih264e_write_islice_mb_cavlc()
1096 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_islice_mb_cavlc()
1102 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_islice_mb_cavlc()
1111 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_islice_mb_cavlc()
1117 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_islice_mb_cavlc()
1122 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_islice_mb_cavlc()
1133 PUT_BITS_UEV(ps_bitstream, gu1_cbp_map_tables[cbp][0], error_status, "coded_block_pattern"); in ih264e_write_islice_mb_cavlc()
1139 PUT_BITS_SEV(ps_bitstream, mb_qp_delta, error_status, "mb_qp_delta"); in ih264e_write_islice_mb_cavlc()
1151 error_status = ih264e_encode_residue(ps_ent_ctxt, mb_type, cbp); in ih264e_write_islice_mb_cavlc()
1160 return error_status; in ih264e_write_islice_mb_cavlc()
1187 IH264E_ERROR_T error_status = IH264E_SUCCESS; in ih264e_write_pslice_mb_cavlc() local
1253 error_status = ih264e_encode_residue(ps_ent_ctxt, P16x16, 0); in ih264e_write_pslice_mb_cavlc()
1259 return error_status; in ih264e_write_pslice_mb_cavlc()
1267 PUT_BITS_UEV(ps_bitstream, *ps_ent_ctxt->pi4_mb_skip_run, error_status, "mb skip run"); in ih264e_write_pslice_mb_cavlc()
1289 PUT_BITS_UEV(ps_bitstream, mb_type_stream, error_status, "mb type"); in ih264e_write_pslice_mb_cavlc()
1292 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_pslice_mb_cavlc()
1309 PUT_BITS_UEV(ps_bitstream, 5, error_status, "mb type"); in ih264e_write_pslice_mb_cavlc()
1319 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_pslice_mb_cavlc()
1325 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_pslice_mb_cavlc()
1334 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_pslice_mb_cavlc()
1340 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_pslice_mb_cavlc()
1345 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_pslice_mb_cavlc()
1368 PUT_BITS_UEV(ps_bitstream, 5, error_status, "mb type"); in ih264e_write_pslice_mb_cavlc()
1371 … PUT_BITS(ps_bitstream, u4_transform_size_8x8_flag, 1, error_status, "u4_transform_size_8x8_flag"); in ih264e_write_pslice_mb_cavlc()
1382 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_pslice_mb_cavlc()
1388 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_pslice_mb_cavlc()
1397 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_pslice_mb_cavlc()
1403 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_pslice_mb_cavlc()
1408 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_pslice_mb_cavlc()
1428 PUT_BITS_UEV(ps_bitstream, mb_type - 3, error_status, "mb type"); in ih264e_write_pslice_mb_cavlc()
1432 PUT_BITS_SEV(ps_bitstream, *pi2_mv_ptr++, error_status, "mv x"); in ih264e_write_pslice_mb_cavlc()
1433 PUT_BITS_SEV(ps_bitstream, *pi2_mv_ptr++, error_status, "mv y"); in ih264e_write_pslice_mb_cavlc()
1443 …PUT_BITS_UEV(ps_bitstream, gu1_cbp_map_tables[cbp][cbptable], error_status, "coded_block_pattern"); in ih264e_write_pslice_mb_cavlc()
1449 PUT_BITS_SEV(ps_bitstream, mb_qp_delta, error_status, "mb_qp_delta"); in ih264e_write_pslice_mb_cavlc()
1461 error_status = ih264e_encode_residue(ps_ent_ctxt, mb_type, cbp); in ih264e_write_pslice_mb_cavlc()
1471 return error_status; in ih264e_write_pslice_mb_cavlc()
1499 IH264E_ERROR_T error_status = IH264E_SUCCESS; in ih264e_write_bslice_mb_cavlc() local
1564 error_status = ih264e_encode_residue(ps_ent_ctxt, B16x16, 0); in ih264e_write_bslice_mb_cavlc()
1571 return error_status; in ih264e_write_bslice_mb_cavlc()
1580 PUT_BITS_UEV(ps_bitstream, *ps_ent_ctxt->pi4_mb_skip_run, error_status, "mb skip run"); in ih264e_write_bslice_mb_cavlc()
1602 PUT_BITS_UEV(ps_bitstream, mb_type_stream, error_status, "mb type"); in ih264e_write_bslice_mb_cavlc()
1605 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_bslice_mb_cavlc()
1623 PUT_BITS_UEV(ps_bitstream, 23, error_status, "mb type"); in ih264e_write_bslice_mb_cavlc()
1633 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_bslice_mb_cavlc()
1639 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_bslice_mb_cavlc()
1648 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_bslice_mb_cavlc()
1654 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_bslice_mb_cavlc()
1659 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_bslice_mb_cavlc()
1682 PUT_BITS_UEV(ps_bitstream, 23, error_status, "mb type"); in ih264e_write_bslice_mb_cavlc()
1685 … PUT_BITS(ps_bitstream, u4_transform_size_8x8_flag, 1, error_status, "u4_transform_size_8x8_flag"); in ih264e_write_bslice_mb_cavlc()
1696 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_bslice_mb_cavlc()
1702 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_bslice_mb_cavlc()
1711 … PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_bslice_mb_cavlc()
1717 PUT_BITS(ps_bitstream, rem_intra_mode, 3, error_status, "rem_intra4x4_pred_mode"); in ih264e_write_bslice_mb_cavlc()
1722 PUT_BITS_UEV(ps_bitstream, chroma_intra_mode, error_status, "intra_chroma_pred_mode"); in ih264e_write_bslice_mb_cavlc()
1730 PUT_BITS_UEV(ps_bitstream, B_DIRECT_16x16, error_status, "mb type"); in ih264e_write_bslice_mb_cavlc()
1752 PUT_BITS_UEV(ps_bitstream, mb_type_stream, error_status, "mb type"); in ih264e_write_bslice_mb_cavlc()
1758 PUT_BITS_SEV(ps_bitstream, ps_mb_hdr_b16x16->ai2_mv[0][0], error_status, "mv l0 x"); in ih264e_write_bslice_mb_cavlc()
1759 PUT_BITS_SEV(ps_bitstream, ps_mb_hdr_b16x16->ai2_mv[0][1], error_status, "mv l0 y"); in ih264e_write_bslice_mb_cavlc()
1763 PUT_BITS_SEV(ps_bitstream, ps_mb_hdr_b16x16->ai2_mv[1][0], error_status, "mv l1 x"); in ih264e_write_bslice_mb_cavlc()
1764 PUT_BITS_SEV(ps_bitstream, ps_mb_hdr_b16x16->ai2_mv[1][1], error_status, "mv l1 y"); in ih264e_write_bslice_mb_cavlc()
1774 …PUT_BITS_UEV(ps_bitstream, gu1_cbp_map_tables[cbp][cbptable], error_status, "coded_block_pattern"); in ih264e_write_bslice_mb_cavlc()
1780 PUT_BITS_SEV(ps_bitstream, mb_qp_delta, error_status, "mb_qp_delta"); in ih264e_write_bslice_mb_cavlc()
1792 error_status = ih264e_encode_residue(ps_ent_ctxt, mb_type, cbp); in ih264e_write_bslice_mb_cavlc()
1802 return error_status; in ih264e_write_bslice_mb_cavlc()