Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 16 of 16) sorted by relevance

/rockchip-linux_mpp/mpp/codec/enc/h264/
H A Dh264e_sei.c30 static MPP_RET write_recovery_point(MppWriteCtx *bit, RK_U32 recovery_frame_cnt) in write_recovery_point() argument
32 mpp_writer_put_ue(bit, recovery_frame_cnt); in write_recovery_point()
33 mpp_writer_put_bits(bit, 1, 1); in write_recovery_point()
34 mpp_writer_put_bits(bit, 0, 1); in write_recovery_point()
35 mpp_writer_put_bits(bit, 0, 2); in write_recovery_point()
36 mpp_writer_trailing(bit); in write_recovery_point()
50 MppWriteCtx *bit = &bit_ctx; in h264e_sei_recovery_point_to_packet() local
56 mpp_writer_init(bit, src, 100); in h264e_sei_recovery_point_to_packet()
57 write_recovery_point(bit, recovery_frame_cnt); in h264e_sei_recovery_point_to_packet()
58 payload_size = mpp_writer_bytes(bit); in h264e_sei_recovery_point_to_packet()
[all …]
H A Dh264e_sps.c263 MppWriteCtx *bit = &bit_ctx; in h264e_sps_to_packet() local
268 mpp_writer_init(bit, p, buf_size); in h264e_sps_to_packet()
271 mpp_writer_put_raw_bits(bit, 0, 24); in h264e_sps_to_packet()
272 mpp_writer_put_raw_bits(bit, 1, 8); in h264e_sps_to_packet()
274 mpp_writer_put_raw_bits(bit, 0, 1); in h264e_sps_to_packet()
276 mpp_writer_put_raw_bits(bit, H264_NALU_PRIORITY_HIGHEST, 2); in h264e_sps_to_packet()
278 mpp_writer_put_raw_bits(bit, H264_NALU_TYPE_SPS, 5); in h264e_sps_to_packet()
281 mpp_writer_put_bits(bit, sps->profile_idc, 8); in h264e_sps_to_packet()
283 mpp_writer_put_bits(bit, sps->constraint_set0, 1); in h264e_sps_to_packet()
285 mpp_writer_put_bits(bit, sps->constraint_set1, 1); in h264e_sps_to_packet()
[all …]
H A Dh264e_pps.c130 MppWriteCtx *bit = &bit_ctx; in h264e_pps_to_packet() local
133 mpp_writer_init(bit, p, buf_size); in h264e_pps_to_packet()
136 mpp_writer_put_raw_bits(bit, 0, 24); in h264e_pps_to_packet()
137 mpp_writer_put_raw_bits(bit, 1, 8); in h264e_pps_to_packet()
139 mpp_writer_put_raw_bits(bit, 0, 1); in h264e_pps_to_packet()
141 mpp_writer_put_raw_bits(bit, H264_NALU_PRIORITY_HIGHEST, 2); in h264e_pps_to_packet()
143 mpp_writer_put_raw_bits(bit, H264_NALU_TYPE_PPS, 5); in h264e_pps_to_packet()
146 mpp_writer_put_ue(bit, pps->pps_id); in h264e_pps_to_packet()
148 mpp_writer_put_ue(bit, pps->sps_id); in h264e_pps_to_packet()
150 mpp_writer_put_bits(bit, pps->entropy_coding_mode, 1); in h264e_pps_to_packet()
[all …]
H A Dh264e_slice.c277 BitReadCtx_t bit; in h264e_slice_read() local
282 mpp_set_bitread_ctx(&bit, p, size); in h264e_slice_read()
284 mpp_set_bitread_pseudo_code_type(&bit, PSEUDO_CODE_H264_H265); in h264e_slice_read()
287 ret |= mpp_read_longbits(&bit, 32, (RK_U32 *)&val); in h264e_slice_read()
289 bit.used_bits, val); in h264e_slice_read()
292 ret |= mpp_read_bits(&bit, 1, &val); in h264e_slice_read()
294 bit.used_bits, val); in h264e_slice_read()
297 ret |= mpp_read_bits(&bit, 2, &slice->nal_reference_idc); in h264e_slice_read()
299 bit.used_bits, slice->nal_reference_idc); in h264e_slice_read()
302 ret |= mpp_read_bits(&bit, 5, &slice->nalu_type); in h264e_slice_read()
[all …]
/rockchip-linux_mpp/mpp/codec/dec/vp9/
H A Dvpx_rac.c77 int bit = code_word >= low_shift; in vpx_rac_get_prob() local
79 c->high = bit ? c->high - low : low; in vpx_rac_get_prob()
80 c->code_word = bit ? code_word - low_shift : code_word; in vpx_rac_get_prob()
82 return bit; in vpx_rac_get_prob()
/rockchip-linux_mpp/mpp/hal/common/av1/
H A Dfilm_grain_noise_table.c234 RK_U16 bit; in UpdateRandomRegister() local
236 bit = ((random_reg >> 0) ^ (random_reg >> 1) ^ (random_reg >> 3) ^ in UpdateRandomRegister()
239 *random_register = (random_reg >> 1) | (bit << 15); in UpdateRandomRegister()
/rockchip-linux_mpp/mpp/base/
H A Dmpp_bitread.c247 RK_S32 bit; in mpp_read_ue() local
251 if (mpp_read_bits(bitctx, 1, &bit)) { in mpp_read_ue()
255 } while (bit == 0); in mpp_read_ue()
/rockchip-linux_mpp/mpp/codec/dec/vp8/
H A Dvp8d_parser.c60 RK_U32 bit = 0; in vp8hwdDecodeBool() local
75 bit = 1; in vp8hwdDecodeBool()
81 return bit; in vp8hwdDecodeBool()
107 return bit; in vp8hwdDecodeBool()
112 RK_U32 bit = 0; in vp8hwdDecodeBool128() local
127 bit = 1; in vp8hwdDecodeBool128()
135 return bit; in vp8hwdDecodeBool128()
158 return bit; in vp8hwdDecodeBool128()
164 RK_S32 bit; in vp8hwdReadBits() local
167 for (bit = bits - 1; bit >= 0; bit--) { in vp8hwdReadBits()
[all …]
/rockchip-linux_mpp/doc/
H A DRockchip_Developer_Guide_MPP_EN.md220 …width and height. <br>2. Image sequence format changes, for example 8 bit to 10 bit. <br>Once info…
222 … space range of image data: <br>YUV full range:0 \~ 255(8bit) <br>YUV limit range:16 ~ 235(8bit ) …
313 ##### **Consumption of input bit stream**
345 When the information such as the width, height, format, and pixel bit depth of the bitstream is cha…
587bit rate control mode, currently supports CBR and VBR:<br>CBR is Constant Bit Rate,fixed bit rate …
589 |rc:bps_max|S32|RK_S32|Indicates the highest bit rate in VBR mode.|
590 |rc:bps_min|S32|RK_S32|Indicates the lowest bit rate in VBR mode.|
591 |rc:fps_in_flex|S32|RK_S32|Flag bit indicating whether the input frame rate is variable. The defaul…
592 |rc:fps_in_flex|S32|RK_S32|Flag bit indicating whether the input frame rate is variable. The defaul…
794 …hall subject to practice. The operating environment of Demo is based on the Android 32bit platform.
[all …]
H A DRockchip_Developer_Guide_MPP_CN.md231 …变化的描述结构,说明了新的宽高,stride,以及图像格式。 可能的info_change原因有: 图像序列宽高变化。 图像序列格式变化,如8bit变为10bit。 一旦info_change产生…
233 …ppFrameColorRange | 表示图像数据彩色空间范围: YUV full range:0 \~ 255(8bit) YUV limit range:16 \~ 235(8bit) ![…
868 MPP的demo程序变化比较快,以下说明仅供参考,具体情况以实际运行结果为准。Demo的运行环境均以Android 32bit平台为准。
1118 A:这是google 64bit ndk的问题,其libc.so中缺少一些符号定义,问题情况参见:
/rockchip-linux_mpp/
H A DCHANGELOG.md261 - [sys_cfg/buf_slot]: support yuv422sp 10bit
314 - [misc]: Fix compile on 32bit platform
535 - [av1d_parser]: fix fmt error for 10bit HDR source
537 - [av1d_vdpu]: Fix forced 8bit output failure issue
557 - [av1]: Fix 10bit source display issue
571 - [av1d]: Only rk3588 support 10bit translate to 8bit
584 - [vdpu383]: Fix av1 global params bit pos issue
721 - [av1d_cbs]: fix read 32bit data err
/rockchip-linux_mpp/build/android/
H A Dndk_links.md281 NDKr8e is the first NDK with 32bit and 64bit releases. The prior ones were
393 * 32-bit : http://dl.google.com/android/ndk/android-ndk-r4-darwin-x86.zip
H A DREADME.md81 * `android-21` for 64-bit ABIs.
127 * **ANDROID_FORCE_ARM_BUILD** = `OFF` - generate 32-bit ARM instructions instead of Thumb. Applicab…
H A Dandroid.toolchain.cmake76 # 64-bit ABIs for NDK r10 and newer:
114 # ANDROID_FORCE_ARM_BUILD=OFF - set ON to generate 32-bit ARM instructions
361 set( ANDROID_NDK_HOST_X64 1 CACHE BOOL "Try to use 64-bit compiler toolchain" )
474 set( ANDROID_NDK_HOST_SYSTEM_NAME ${ANDROID_NDK_HOST_SYSTEM_NAME2} ) # only 32-bit at the moment
479 set( ANDROID_NDK_HOST_SYSTEM_NAME ${ANDROID_NDK_HOST_SYSTEM_NAME2} ) # only 32-bit at the moment
729 …set( ANDROID_FORCE_ARM_BUILD ${ANDROID_FORCE_ARM_BUILD} CACHE BOOL "Use 32-bit ARM instructions in…
/rockchip-linux_mpp/debian/
H A Dchangelog20 * [h264e]: limit bit rate on movement scene
/rockchip-linux_mpp/tools/
H A Dmpp_doxyfile933 # will make the HTML file larger and loading of large files a bit slower, you