Home
last modified time | relevance | path

Searched refs:PUT_BITS (Results 1 – 11 of 11) sorted by relevance

/external/libavc/encoder/
Dih264e_encode_header.c131 PUT_BITS(ps_bitstrm, in ih264e_generate_nal_unit_header()
163 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_info_present_flag, 1, in ih264e_generate_vui()
168 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_idc, 8, return_status, in ih264e_generate_vui()
172 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_width, 16, return_status, in ih264e_generate_vui()
175 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_height, 16, return_status, in ih264e_generate_vui()
181 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_info_present_flag, 1, in ih264e_generate_vui()
187 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_appropriate_flag, 1, in ih264e_generate_vui()
192 PUT_BITS(ps_bitstrm, ps_vui->u1_video_signal_type_present_flag, 1, in ih264e_generate_vui()
197 PUT_BITS(ps_bitstrm, ps_vui->u1_video_format, 3, return_status, in ih264e_generate_vui()
201 PUT_BITS(ps_bitstrm, ps_vui->u1_video_full_range_flag, 1, return_status, in ih264e_generate_vui()
[all …]
Dih264e_cavlc.c1037PUT_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()
1052PUT_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()
1085PUT_BITS(ps_bitstream, u4_transform_size_8x8_flag, 1, error_status, "u4_transform_size_8x8_flag"); in ih264e_write_islice_mb_cavlc()
1096PUT_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()
1111PUT_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()
1319PUT_BITS(ps_bitstream, intra_pred_mode_flag, 1, error_status, "prev_intra4x4_pred_mode_flag"); in ih264e_write_pslice_mb_cavlc()
[all …]
Dih264e_encode_header.h52 #define PUT_BITS(ps_bitstrm, code_val, code_len, ret_val, syntax_string) \ macro
/external/libhevc/encoder/
Dihevce_encode_header_sei_vui.c177 PUT_BITS(ps_bitstrm, ps_sub_lyr_hrd_params->au1_cbr_flag[j], 1, return_status); in ihevce_generate_sub_layer_hrd_params()
213 PUT_BITS(ps_bitstrm, ps_hrd_params->u1_nal_hrd_parameters_present_flag, 1, return_status); in ihevce_generate_hrd_params()
218 PUT_BITS(ps_bitstrm, ps_hrd_params->u1_vcl_hrd_parameters_present_flag, 1, return_status); in ihevce_generate_hrd_params()
226 PUT_BITS( in ihevce_generate_hrd_params()
235 PUT_BITS(ps_bitstrm, ps_hrd_params->u1_tick_divisor_minus2, 8, return_status); in ihevce_generate_hrd_params()
239 PUT_BITS( in ihevce_generate_hrd_params()
249 PUT_BITS( in ihevce_generate_hrd_params()
259 PUT_BITS( in ihevce_generate_hrd_params()
270 PUT_BITS(ps_bitstrm, ps_hrd_params->u4_bit_rate_scale, 4, return_status); in ihevce_generate_hrd_params()
274 PUT_BITS(ps_bitstrm, ps_hrd_params->u4_cpb_size_scale, 4, return_status); in ihevce_generate_hrd_params()
[all …]
Dihevce_encode_header.c154 PUT_BITS( in ihevce_generate_nal_unit_header()
161 PUT_BITS(ps_bitstrm, 0, 6, return_status); in ihevce_generate_nal_unit_header()
164 PUT_BITS(ps_bitstrm, (nuh_temporal_id + 1), 3, return_status); in ihevce_generate_nal_unit_header()
195 PUT_BITS(ps_bitstrm, ps_ptl->i1_profile_space, 2, return_status); in ihevce_generate_when_profile_present()
199 PUT_BITS(ps_bitstrm, ps_ptl->i1_tier_flag, 1, return_status); in ihevce_generate_when_profile_present()
203 PUT_BITS(ps_bitstrm, ps_ptl->i1_profile_idc, 5, return_status); in ihevce_generate_when_profile_present()
209 PUT_BITS(ps_bitstrm, ps_ptl->ai1_profile_compatibility_flag[i], 1, return_status); in ihevce_generate_when_profile_present()
215 PUT_BITS(ps_bitstrm, ps_ptl->i1_general_progressive_source_flag, 1, return_status); in ihevce_generate_when_profile_present()
219 PUT_BITS(ps_bitstrm, ps_ptl->i1_general_interlaced_source_flag, 1, return_status); in ihevce_generate_when_profile_present()
223 PUT_BITS(ps_bitstrm, ps_ptl->i1_general_non_packed_constraint_flag, 1, return_status); in ihevce_generate_when_profile_present()
[all …]
Dihevce_encode_header.h48 #define PUT_BITS(ps_bitstrm, code_val, code_len, ret_val) \ macro
/external/libjpeg-turbo/
Djchuff.c354 #define PUT_BITS(code, size) { \ macro
394 PUT_BITS(code, size) \
400 PUT_BITS(code, size) \
401 PUT_BITS(temp2, nbits) \
407 PUT_BITS(code, size) \
413 PUT_BITS(code, size) \
415 PUT_BITS(temp2, nbits) \
474 PUT_BITS(0x7F, 7) in flush_bits()
/external/libjpeg-turbo/simd/x86_64/
Djchuff-sse2.asm62 %macro PUT_BITS 1
93 PUT_BITS %1
308 PUT_BITS rbx
319 PUT_BITS rbx ; PUT_BITS(temp2, nbits)
/external/libjpeg-turbo/simd/i386/
Djchuff-sse2.asm62 %macro PUT_BITS 1
79 PUT_BITS %1
324 EMIT_BITS eax ; PUT_BITS(temp2, nbits)
392 EMIT_BITS eax ; PUT_BITS(temp2, nbits)
/external/libjpeg-turbo/simd/arm/
Djsimd_neon.S2454 .macro emit_byte BUFFER, PUT_BUFFER, PUT_BITS, ZERO, TMP
2455 sub \PUT_BITS, \PUT_BITS, #0x8
2456 lsr \TMP, \PUT_BUFFER, \PUT_BITS
2464 .macro put_bits PUT_BUFFER, PUT_BITS, CODE, SIZE
2466 add \PUT_BITS, \SIZE
2471 .macro checkbuf15 BUFFER, PUT_BUFFER, PUT_BITS, ZERO, TMP
2472 cmp \PUT_BITS, #0x10
2475 emit_byte \BUFFER, \PUT_BUFFER, \PUT_BITS, \ZERO, \TMP
2476 emit_byte \BUFFER, \PUT_BUFFER, \PUT_BITS, \ZERO, \TMP
/external/libjpeg-turbo/simd/arm64/
Djsimd_neon.S3012 PUT_BITS .req x7
3016 sub PUT_BITS, PUT_BITS, #0x8
3017 lsr x19, PUT_BUFFER, PUT_BITS
3027 add PUT_BITS, PUT_BITS, \SIZE
3031 cmp PUT_BITS, #0x20
3040 cmp PUT_BITS, #0x30
3426 .unreq PUT_BITS