/hardware/intel/common/libmix/videoencoder/ |
D | bitstream.h | 59 static void bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() function 98 bitstream_put_ui(bs, 0, size_in_bits - 1); // leading zero in bitstream_put_ue() 99 bitstream_put_ui(bs, val, size_in_bits); in bitstream_put_ue() 130 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning() 135 bitstream_put_ui(bs, 1, 1); in rbsp_trailing_bits() 141 bitstream_put_ui(bs, 0x00000001, 32); in nal_start_code_prefix() 146 bitstream_put_ui(bs, 0, 1); /* forbidden_zero_bit: 0 */ in nal_header() 147 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header() 148 bitstream_put_ui(bs, nal_unit_type, 5); in nal_header() 190 bitstream_put_ui(bs, profile_idc, 8); /* profile_idc */ in sps_rbsp() [all …]
|
/hardware/intel/common/libva/test/encode/ |
D | avcenc.c | 786 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() function 824 bitstream_put_ui(bs, 0, size_in_bits - 1); // leading zero in bitstream_put_ue() 825 bitstream_put_ui(bs, val, size_in_bits); in bitstream_put_ue() 858 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning() 864 bitstream_put_ui(bs, 1, 1); in rbsp_trailing_bits() 870 bitstream_put_ui(bs, 0x00000001, 32); in nal_start_code_prefix() 875 bitstream_put_ui(bs, 0, 1); /* forbidden_zero_bit: 0 */ in nal_header() 876 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header() 877 bitstream_put_ui(bs, nal_unit_type, 5); in nal_header() 890 bitstream_put_ui(bs, profile_idc, 8); /* profile_idc */ in sps_rbsp() [all …]
|
D | mpeg2enc.c | 195 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() function 242 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning() 287 bitstream_put_ui(bs, START_CODE_SEQ, 32); in sps_rbsp() 288 bitstream_put_ui(bs, seq_param->picture_width, 12); in sps_rbsp() 289 bitstream_put_ui(bs, seq_param->picture_height, 12); in sps_rbsp() 290 bitstream_put_ui(bs, seq_param->aspect_ratio_information, 4); in sps_rbsp() 291 bitstream_put_ui(bs, frame_rate_code, 4); /* frame_rate_code */ in sps_rbsp() 292 …bitstream_put_ui(bs, (seq_param->bits_per_second + 399) / 400, 18); /* the low 18 bits of bit_rate… in sps_rbsp() 293 bitstream_put_ui(bs, 1, 1); /* marker_bit */ in sps_rbsp() 294 bitstream_put_ui(bs, seq_param->vbv_buffer_size, 10); in sps_rbsp() [all …]
|
D | mpeg2vaenc.c | 195 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() function 242 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning() 287 bitstream_put_ui(bs, START_CODE_SEQ, 32); in sps_rbsp() 288 bitstream_put_ui(bs, seq_param->picture_width, 12); in sps_rbsp() 289 bitstream_put_ui(bs, seq_param->picture_height, 12); in sps_rbsp() 290 bitstream_put_ui(bs, seq_param->aspect_ratio_information, 4); in sps_rbsp() 291 bitstream_put_ui(bs, frame_rate_code, 4); /* frame_rate_code */ in sps_rbsp() 292 …bitstream_put_ui(bs, (seq_param->bits_per_second + 399) / 400, 18); /* the low 18 bits of bit_rate… in sps_rbsp() 293 bitstream_put_ui(bs, 1, 1); /* marker_bit */ in sps_rbsp() 294 bitstream_put_ui(bs, seq_param->vbv_buffer_size, 10); in sps_rbsp() [all …]
|
D | h264encode.c | 204 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() function 242 bitstream_put_ui(bs, 0, size_in_bits - 1); // leading zero in bitstream_put_ue() 243 bitstream_put_ui(bs, val, size_in_bits); in bitstream_put_ue() 276 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning() 282 bitstream_put_ui(bs, 1, 1); in rbsp_trailing_bits() 288 bitstream_put_ui(bs, 0x00000001, 32); in nal_start_code_prefix() 293 bitstream_put_ui(bs, 0, 1); /* forbidden_zero_bit: 0 */ in nal_header() 294 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header() 295 bitstream_put_ui(bs, nal_unit_type, 5); in nal_header() 307 bitstream_put_ui(bs, profile_idc, 8); /* profile_idc */ in sps_rbsp() [all …]
|
/hardware/intel/common/libva/test/transcode/ |
D | mpeg2transcode.cpp | 2493 bitstream_put_ui(bitstream *bs, unsigned int val, int size_in_bits) in bitstream_put_ui() function 2531 bitstream_put_ui(bs, 0, size_in_bits - 1); // leading zero in bitstream_put_ue() 2532 bitstream_put_ui(bs, val, size_in_bits); in bitstream_put_ue() 2565 bitstream_put_ui(bs, new_val, bit_left); in bitstream_byte_aligning() 2571 bitstream_put_ui(bs, 1, 1); in rbsp_trailing_bits() 2577 bitstream_put_ui(bs, 0x00000001, 32); in nal_start_code_prefix() 2582 bitstream_put_ui(bs, 0, 1); /* forbidden_zero_bit: 0 */ in nal_header() 2583 bitstream_put_ui(bs, nal_ref_idc, 2); in nal_header() 2584 bitstream_put_ui(bs, nal_unit_type, 5); in nal_header() 2597 bitstream_put_ui(bs, profile_idc, 8); /* profile_idc */ in sps_rbsp() [all …]
|