Home
last modified time | relevance | path

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

/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/
Dringbuffer.cpp44 void ringbuffer_free(ringbuffer_t* rb) { in ringbuffer_free() argument
45 if (rb != NULL) free(rb->base); in ringbuffer_free()
46 free(rb); in ringbuffer_free()
49 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available() argument
50 assert(rb); in ringbuffer_available()
51 return rb->available; in ringbuffer_available()
54 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size() argument
55 assert(rb); in ringbuffer_size()
56 return rb->total - rb->available; in ringbuffer_size()
59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert() argument
[all …]
Dringbuffer.h37 void ringbuffer_free(ringbuffer_t* rb);
40 size_t ringbuffer_available(const ringbuffer_t* rb);
43 size_t ringbuffer_size(const ringbuffer_t* rb);
48 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length);
54 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p,
58 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length);
62 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length);
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/
Dringbuffer.cpp44 void ringbuffer_free(ringbuffer_t* rb) { in ringbuffer_free() argument
45 if (rb != NULL) free(rb->base); in ringbuffer_free()
46 free(rb); in ringbuffer_free()
49 size_t ringbuffer_available(const ringbuffer_t* rb) { in ringbuffer_available() argument
50 assert(rb); in ringbuffer_available()
51 return rb->available; in ringbuffer_available()
54 size_t ringbuffer_size(const ringbuffer_t* rb) { in ringbuffer_size() argument
55 assert(rb); in ringbuffer_size()
56 return rb->total - rb->available; in ringbuffer_size()
59 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length) { in ringbuffer_insert() argument
[all …]
Dringbuffer.h37 void ringbuffer_free(ringbuffer_t* rb);
40 size_t ringbuffer_available(const ringbuffer_t* rb);
43 size_t ringbuffer_size(const ringbuffer_t* rb);
48 size_t ringbuffer_insert(ringbuffer_t* rb, const uint8_t* p, size_t length);
54 size_t ringbuffer_peek(const ringbuffer_t* rb, off_t offset, uint8_t* p,
58 size_t ringbuffer_pop(ringbuffer_t* rb, uint8_t* p, size_t length);
62 size_t ringbuffer_delete(ringbuffer_t* rb, size_t length);
/hardware/qcom/sm7250/display/libhistogram/
Dringbuffer_test.cpp53 void insertFrameIncrementTimeline(histogram::Ringbuffer &rb, TickingTimeKeeper &tk, in insertFrameIncrementTimeline() argument
55 rb.insert(frame); in insertFrameIncrementTimeline()
74 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TimeKeeperWrapper>(tk)); in createFilledRingbuffer() local
75 insertFrameIncrementTimeline(*rb, *tk, frame0); in createFilledRingbuffer()
76 insertFrameIncrementTimeline(*rb, *tk, frame1); in createFilledRingbuffer()
77 insertFrameIncrementTimeline(*rb, *tk, frame2); in createFilledRingbuffer()
78 insertFrameIncrementTimeline(*rb, *tk, frame3); in createFilledRingbuffer()
79 return rb; in createFilledRingbuffer()
107 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TickingTimeKeeper>()); in TEST_F() local
109 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F()
[all …]
/hardware/qcom/sm8150/display/libhistogram/
Dringbuffer_test.cpp53 void insertFrameIncrementTimeline(histogram::Ringbuffer &rb, TickingTimeKeeper &tk, in insertFrameIncrementTimeline() argument
55 rb.insert(frame); in insertFrameIncrementTimeline()
74 auto rb = histogram::Ringbuffer::create(4, std::make_unique<TimeKeeperWrapper>(tk)); in createFilledRingbuffer() local
75 insertFrameIncrementTimeline(*rb, *tk, frame0); in createFilledRingbuffer()
76 insertFrameIncrementTimeline(*rb, *tk, frame1); in createFilledRingbuffer()
77 insertFrameIncrementTimeline(*rb, *tk, frame2); in createFilledRingbuffer()
78 insertFrameIncrementTimeline(*rb, *tk, frame3); in createFilledRingbuffer()
79 return rb; in createFilledRingbuffer()
108 auto rb = histogram::Ringbuffer::create(1, std::make_unique<TickingTimeKeeper>()); in TEST_F() local
110 std::tie(numFrames, bins) = rb->collect_ringbuffer_all(); in TEST_F()
[all …]
/hardware/google/graphics/common/libhwjpeg/
Dhwjpeg-v4l2.cpp880 v4l2_requestbuffers rb; in PrepareStream() local
881 memset(&rb, 0, sizeof(rb)); in PrepareStream()
883 rb.count = 1; in PrepareStream()
884 rb.memory = V4L2_MEMORY_USERPTR; in PrepareStream()
885 rb.type = V4L2_BUF_TYPE_VIDEO_OUTPUT; in PrepareStream()
888 if (ioctl(GetDeviceFD(), VIDIOC_REQBUFS, &rb) < 0) { in PrepareStream()
893 if (ioctl(GetDeviceFD(), VIDIOC_STREAMON, &rb.type) < 0) { in PrepareStream()
896 rb.count = 0; in PrepareStream()
898 ioctl(GetDeviceFD(), VIDIOC_REQBUFS, &rb); in PrepareStream()
911 v4l2_requestbuffers rb; in CancelStream() local
[all …]
/hardware/qcom/sm7250/display/sdm/include/private/
Dcolor_params.h305 uint32_t rb = 0; member
325 uint32_t rb = 0; member
/hardware/qcom/sm8150/display/sdm/include/private/
Dcolor_params.h339 uint32_t rb = 0; member
359 uint32_t rb = 0; member
/hardware/qcom/display/msm8996/sdm/include/private/
Dcolor_params.h223 uint32_t rb = 0; member
/hardware/qcom/display/msm8909w_3100/sdm/include/private/
Dcolor_params.h321 uint32_t rb = 0; member
/hardware/qcom/display/msm8998/sdm/include/private/
Dcolor_params.h317 uint32_t rb = 0; member
/hardware/qcom/sm7250/display/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp401 mdp_pcc_coeffs->rb = sde_pcc_coeffs->rb; in GetDrmPCC()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_color_manager_drm.cpp401 mdp_pcc_coeffs->rb = sde_pcc_coeffs->rb; in GetDrmPCC()
/hardware/qcom/display/msm8909/sdm/include/private/
Dcolor_params.h322 uint32_t rb = 0; member
/hardware/interfaces/tv/tuner/assets/
Dtuner_frontend_input.es2083 `@�rb~qK�}u�w�c'^�.`�?�p4pSu�}��P6W�'SKh��1�O�"(�_�Q���J�����x%���(��� ����A�@�S�0����E…