Searched refs:rb (Results 1 - 21 of 21) sorted by relevance

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/
H A Dvp9_read_bit_buffer.c12 size_t vp9_rb_bytes_read(struct vp9_read_bit_buffer *rb) { argument
13 return rb->bit_offset / CHAR_BIT + (rb->bit_offset % CHAR_BIT > 0);
16 int vp9_rb_read_bit(struct vp9_read_bit_buffer *rb) { argument
17 const size_t off = rb->bit_offset;
20 if (rb->bit_buffer + p >= rb->bit_buffer_end) {
21 rb->error_handler(rb->error_handler_data);
24 const int bit = (rb
30 vp9_rb_read_literal(struct vp9_read_bit_buffer *rb, int bits) argument
37 vp9_rb_read_signed_literal(struct vp9_read_bit_buffer *rb, int bits) argument
[all...]
H A 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);
H A Dvp9_decodeframe.c76 static int decode_unsigned_max(struct vp9_read_bit_buffer *rb, int max) { argument
77 const int data = vp9_rb_read_literal(rb, get_unsigned_bits(max));
491 struct vp9_read_bit_buffer *rb) {
497 seg->enabled = vp9_rb_read_bit(rb);
502 seg->update_map = vp9_rb_read_bit(rb);
505 seg->tree_probs[i] = vp9_rb_read_bit(rb) ? vp9_rb_read_literal(rb, 8)
508 seg->temporal_update = vp9_rb_read_bit(rb);
511 seg->pred_probs[i] = vp9_rb_read_bit(rb) ? vp9_rb_read_literal(rb,
490 setup_segmentation(struct segmentation *seg, struct vp9_read_bit_buffer *rb) argument
542 setup_loopfilter(struct loopfilter *lf, struct vp9_read_bit_buffer *rb) argument
568 read_delta_q(struct vp9_read_bit_buffer *rb, int *delta_q) argument
574 setup_quantization(VP9_COMMON *const cm, MACROBLOCKD *const xd, struct vp9_read_bit_buffer *rb) argument
593 read_interp_filter(struct vp9_read_bit_buffer *rb) argument
602 read_frame_size(struct vp9_read_bit_buffer *rb, int *width, int *height) argument
610 setup_display_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
644 setup_frame_size(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
651 setup_frame_size_with_refs(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
734 setup_tile_info(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
996 check_sync_code(VP9_COMMON *cm, struct vp9_read_bit_buffer *rb) argument
1015 read_uncompressed_header(VP9D_COMP *pbi, struct vp9_read_bit_buffer *rb) argument
1258 struct vp9_read_bit_buffer rb = { data, data_end, 0, cm, error_handler }; local
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/
H A Dvp9_dx_iface.c97 struct vp9_read_bit_buffer rb = { data, data + data_sz, 0, NULL, NULL }; local
98 const int frame_marker = vp9_rb_read_literal(&rb, 2);
99 const int version = vp9_rb_read_bit(&rb);
100 (void) vp9_rb_read_bit(&rb); // unused version bit
106 if (vp9_rb_read_bit(&rb)) { // show an existing frame
110 si->is_kf = !vp9_rb_read_bit(&rb);
115 rb.bit_offset += 1; // show frame
116 rb.bit_offset += 1; // error resilient
118 if (vp9_rb_read_literal(&rb, 8) != VP9_SYNC_CODE_0 ||
119 vp9_rb_read_literal(&rb,
[all...]
/hardware/ti/omap4-aah/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp92 mVideoInfo->rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
93 mVideoInfo->rb.memory = V4L2_MEMORY_MMAP;
94 mVideoInfo->rb.count = count;
96 ret = v4lIoctl(mCameraHandle, VIDIOC_REQBUFS, &mVideoInfo->rb);
102 count = mVideoInfo->rb.count;
136 mVideoInfo->rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
137 mVideoInfo->rb.memory = V4L2_MEMORY_USERPTR;
138 mVideoInfo->rb.count = count;
140 ret = v4lIoctl(mCameraHandle, VIDIOC_REQBUFS, &mVideoInfo->rb);
146 count = mVideoInfo->rb
[all...]
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
H A DV4LCameraAdapter.h37 struct v4l2_requestbuffers rb; member in struct:android::VideoInfo
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/
H A DV4LCameraAdapter.cpp236 mVideoInfo->rb.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
237 mVideoInfo->rb.memory = V4L2_MEMORY_MMAP;
238 mVideoInfo->rb.count = num;
240 ret = ioctl(mCameraHandle, VIDIOC_REQBUFS, &mVideoInfo->rb);
/hardware/ti/omap4-aah/camera/inc/V4LCameraAdapter/
H A DV4LCameraAdapter.h61 struct v4l2_requestbuffers rb; member in struct:Ti::Camera::VideoInfo
/hardware/ti/omap4-aah/kernel-headers-ti/video/
H A Ddsscomp.h117 __s16 rr, rg, rb; member in struct:omap_dss_cpr_coefs
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c600 int rb[2]; member in struct:__anon3520
607 vis.rb[0] = vis_rect.right; vis.rb[1] = vis_rect.bottom;
622 if (win.wh[c] <= 0 || vis.rb[c] <= vis.lt[c] ||
624 win.xy[c] >= vis.rb[c] ||
638 if (win.xy[c] + win.wh[c] > vis.rb[c]) {
639 crop.wh[c ^ swap] = crop.wh[c ^ swap] * (vis.rb[c] - win.xy[c]) / win.wh[c];
640 win.wh[c] = vis.rb[c] - win.xy[c];
1574 FILE *fd = fopen(path, "rb");
/hardware/qcom/msm8960/kernel-headers/linux/
H A Dmsm_mdp.h442 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8960/original-kernel-headers/linux/
H A Dmsm_mdp.h458 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8x27/kernel-headers/linux/
H A Dmsm_mdp.h396 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8x27/original-kernel-headers/linux/
H A Dmsm_mdp.h416 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/ti/omap4-aah/hwc/
H A Dhwc.c789 int rb[2]; member in struct:__anon3405
796 vis.rb[0] = vis_rect.right; vis.rb[1] = vis_rect.bottom;
811 if (win.wh[c] <= 0 || vis.rb[c] <= vis.lt[c] ||
813 win.xy[c] >= vis.rb[c] ||
827 if (win.xy[c] + win.wh[c] > vis.rb[c]) {
828 crop.wh[c ^ swap] = crop.wh[c ^ swap] * (vis.rb[c] - win.xy[c]) / win.wh[c];
829 win.wh[c] = vis.rb[c] - win.xy[c];
2130 FILE *fd = fopen(path, "rb");
/hardware/qcom/msm8x74/kernel-headers/linux/
H A Dmsm_mdp.h537 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8x74/original-kernel-headers/linux/
H A Dmsm_mdp.h561 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8x26/kernel-headers/linux/
H A Dmsm_mdp.h671 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8x26/original-kernel-headers/linux/
H A Dmsm_mdp.h725 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8x84/kernel-headers/linux/
H A Dmsm_mdp.h675 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff
/hardware/qcom/msm8x84/original-kernel-headers/linux/
H A Dmsm_mdp.h728 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member in struct:mdp_pcc_coeff

Completed in 803 milliseconds