Home
last modified time | relevance | path

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

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
Dvp9_read_bit_buffer.c12 size_t vp9_rb_bytes_read(struct vp9_read_bit_buffer *rb) { in vp9_rb_bytes_read() argument
13 return rb->bit_offset / CHAR_BIT + (rb->bit_offset % CHAR_BIT > 0); in vp9_rb_bytes_read()
16 int vp9_rb_read_bit(struct vp9_read_bit_buffer *rb) { in vp9_rb_read_bit() argument
17 const size_t off = rb->bit_offset; in vp9_rb_read_bit()
20 if (rb->bit_buffer + p >= rb->bit_buffer_end) { in vp9_rb_read_bit()
21 rb->error_handler(rb->error_handler_data); in vp9_rb_read_bit()
24 const int bit = (rb->bit_buffer[p] & (1 << q)) >> q; in vp9_rb_read_bit()
25 rb->bit_offset = off + 1; in vp9_rb_read_bit()
30 int vp9_rb_read_literal(struct vp9_read_bit_buffer *rb, int bits) { in vp9_rb_read_literal() argument
33 value |= vp9_rb_read_bit(rb) << bit; in vp9_rb_read_literal()
[all …]
Dvp9_decodeframe.c76 static int decode_unsigned_max(struct vp9_read_bit_buffer *rb, int max) { in decode_unsigned_max() argument
77 const int data = vp9_rb_read_literal(rb, get_unsigned_bits(max)); in decode_unsigned_max()
491 struct vp9_read_bit_buffer *rb) { in setup_segmentation() argument
497 seg->enabled = vp9_rb_read_bit(rb); in setup_segmentation()
502 seg->update_map = vp9_rb_read_bit(rb); in setup_segmentation()
505 seg->tree_probs[i] = vp9_rb_read_bit(rb) ? vp9_rb_read_literal(rb, 8) in setup_segmentation()
508 seg->temporal_update = vp9_rb_read_bit(rb); in setup_segmentation()
511 seg->pred_probs[i] = vp9_rb_read_bit(rb) ? vp9_rb_read_literal(rb, 8) in setup_segmentation()
520 seg->update_data = vp9_rb_read_bit(rb); in setup_segmentation()
522 seg->abs_delta = vp9_rb_read_bit(rb); in setup_segmentation()
[all …]
Dvp9_read_bit_buffer.h33 size_t vp9_rb_bytes_read(struct vp9_read_bit_buffer *rb);
35 int vp9_rb_read_bit(struct vp9_read_bit_buffer *rb);
37 int vp9_rb_read_literal(struct vp9_read_bit_buffer *rb, int bits);
39 int vp9_rb_read_signed_literal(struct vp9_read_bit_buffer *rb, int bits);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
Dvp9_dx_iface.c97 struct vp9_read_bit_buffer rb = { data, data + data_sz, 0, NULL, NULL }; in vp9_peek_si() local
98 const int frame_marker = vp9_rb_read_literal(&rb, 2); in vp9_peek_si()
99 const int version = vp9_rb_read_bit(&rb); in vp9_peek_si()
100 (void) vp9_rb_read_bit(&rb); // unused version bit in vp9_peek_si()
106 if (vp9_rb_read_bit(&rb)) { // show an existing frame in vp9_peek_si()
110 si->is_kf = !vp9_rb_read_bit(&rb); in vp9_peek_si()
115 rb.bit_offset += 1; // show frame in vp9_peek_si()
116 rb.bit_offset += 1; // error resilient in vp9_peek_si()
118 if (vp9_rb_read_literal(&rb, 8) != VP9_SYNC_CODE_0 || in vp9_peek_si()
119 vp9_rb_read_literal(&rb, 8) != VP9_SYNC_CODE_1 || in vp9_peek_si()
[all …]
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp92 mVideoInfo->rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in v4lInitMmap()
93 mVideoInfo->rb.memory = V4L2_MEMORY_MMAP; in v4lInitMmap()
94 mVideoInfo->rb.count = count; in v4lInitMmap()
96 ret = v4lIoctl(mCameraHandle, VIDIOC_REQBUFS, &mVideoInfo->rb); in v4lInitMmap()
102 count = mVideoInfo->rb.count; in v4lInitMmap()
136 mVideoInfo->rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in v4lInitUsrPtr()
137 mVideoInfo->rb.memory = V4L2_MEMORY_USERPTR; in v4lInitUsrPtr()
138 mVideoInfo->rb.count = count; in v4lInitUsrPtr()
140 ret = v4lIoctl(mCameraHandle, VIDIOC_REQBUFS, &mVideoInfo->rb); in v4lInitUsrPtr()
146 count = mVideoInfo->rb.count; in v4lInitUsrPtr()
[all …]
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
DV4LCameraAdapter.cpp236 mVideoInfo->rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in UseBuffersPreview()
237 mVideoInfo->rb.memory = V4L2_MEMORY_MMAP; in UseBuffersPreview()
238 mVideoInfo->rb.count = num; in UseBuffersPreview()
240 ret = ioctl(mCameraHandle, VIDIOC_REQBUFS, &mVideoInfo->rb); in UseBuffersPreview()
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h37 struct v4l2_requestbuffers rb; member
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h61 struct v4l2_requestbuffers rb; member
/hardware/ti/omap4xxx/hwc/
Dhwc.c600 int rb[2]; in crop_to_rect() member
607 vis.rb[0] = vis_rect.right; vis.rb[1] = vis_rect.bottom; in crop_to_rect()
622 if (win.wh[c] <= 0 || vis.rb[c] <= vis.lt[c] || in crop_to_rect()
624 win.xy[c] >= vis.rb[c] || in crop_to_rect()
638 if (win.xy[c] + win.wh[c] > vis.rb[c]) { in crop_to_rect()
639 crop.wh[c ^ swap] = crop.wh[c ^ swap] * (vis.rb[c] - win.xy[c]) / win.wh[c]; in crop_to_rect()
640 win.wh[c] = vis.rb[c] - win.xy[c]; in crop_to_rect()
/hardware/ti/omap4-aah/kernel-headers-ti/video/
Ddsscomp.h117 __s16 rr, rg, rb; member
/hardware/ti/omap4-aah/hwc/
Dhwc.c789 int rb[2]; in crop_to_rect() member
796 vis.rb[0] = vis_rect.right; vis.rb[1] = vis_rect.bottom; in crop_to_rect()
811 if (win.wh[c] <= 0 || vis.rb[c] <= vis.lt[c] || in crop_to_rect()
813 win.xy[c] >= vis.rb[c] || in crop_to_rect()
827 if (win.xy[c] + win.wh[c] > vis.rb[c]) { in crop_to_rect()
828 crop.wh[c ^ swap] = crop.wh[c ^ swap] * (vis.rb[c] - win.xy[c]) / win.wh[c]; in crop_to_rect()
829 win.wh[c] = vis.rb[c] - win.xy[c]; in crop_to_rect()
/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dmsm_mdp.h416 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x27/kernel-headers/linux/
Dmsm_mdp.h396 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8960/original-kernel-headers/linux/
Dmsm_mdp.h458 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_mdp.h442 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_mdp.h537 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_mdp.h561 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_mdp.h725 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_mdp.h671 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_mdp.h675 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_mdp.h728 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
/hardware/intel/img/libdrm/
Dconfigure12908 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`