Home
last modified time | relevance | path

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

/hardware/google/av/media/sfplugin/utils/
DCodec2BufferUtils.cpp66 static status_t _ImageCopy(View &view, const MediaImage2 *img, ImagePixel *imgBase) { in _ImageCopy() argument
68 const C2PlanarLayout &layout = view.layout(); in _ImageCopy()
75 viewRow = view.data()[i]; in _ImageCopy()
120 status_t ImageCopy(uint8_t *imgBase, const MediaImage2 *img, const C2GraphicView &view) { in ImageCopy() argument
121 if (view.width() != img->mWidth || view.height() != img->mHeight) { in ImageCopy()
124 if ((IsNV12(view) && IsI420(img)) || (IsI420(view) && IsNV12(img))) { in ImageCopy()
126 const uint8_t* src_y = view.data()[0]; in ImageCopy()
127 const uint8_t* src_u = view.data()[1]; in ImageCopy()
128 const uint8_t* src_v = view.data()[2]; in ImageCopy()
129 int32_t src_stride_y = view.layout().planes[0].rowInc; in ImageCopy()
[all …]
DCodec2BufferUtils.h75 status_t ImageCopy(uint8_t *imgBase, const MediaImage2 *img, const C2GraphicView &view);
86 status_t ImageCopy(C2GraphicView &view, const uint8_t *imgBase, const MediaImage2 *img);
91 bool IsYUV420(const C2GraphicView &view);
96 bool IsNV12(const C2GraphicView &view);
101 bool IsI420(const C2GraphicView &view);
/hardware/google/av/media/sfplugin/
DCodec2Buffer.cpp71 C2ReadView view = buffer->data().linearBlocks()[0].map().get(); in copyLinear() local
72 if (view.error() != C2_OK) { in copyLinear()
73 ALOGD("Error while mapping: %d", view.error()); in copyLinear()
76 if (view.capacity() > capacity()) { in copyLinear()
78 view.capacity(), capacity()); in copyLinear()
81 memcpy(base(), view.data(), view.capacity()); in copyLinear()
82 setRange(0, view.capacity()); in copyLinear()
216 const C2GraphicView &view, int32_t colorFormat) in GraphicView2MediaImageConverter() argument
218 mView(view), in GraphicView2MediaImageConverter()
219 mWidth(view.width()), in GraphicView2MediaImageConverter()
[all …]
DCodec2Buffer.h40 status_t ImageCopy(uint8_t *imgBase, const MediaImage2 *img, const C2GraphicView &view);
51 status_t ImageCopy(C2GraphicView &view, const uint8_t *imgBase, const MediaImage2 *img);
232 C2GraphicView &&view,
316 std::unique_ptr<const C2GraphicView> &&view,
DCCodecBufferChannel.cpp2500 C2ReadView view = in flush() local
2502 if (view.error() != C2_OK) { in flush()
2503 ALOGD("[%s] failed to map flushed codec config data: %d", mName, view.error()); in flush()
2506 configs->push_back(ABuffer::CreateAsCopy(view.data(), view.capacity())); in flush()
2507 ALOGV("[%s] stashed flushed codec config data (size=%u)", mName, view.capacity()); in flush()
/hardware/interfaces/tests/foo/1.0/
DIFooCallback.hal31 // above, both from the point of view of the caller (callerBlockedNs) and
32 // from the point of view of IFooCallback itself (timeNs). timeNs measures
48 // how long the three methods above took, from the point of view of that
/hardware/google/av/codec2/hidl/1.0/mts/audio/
DMtsHidlC2V1_0TargetAudioEncTest.cpp322 C2WriteView view = block->map().get(); in encodeNFrames() local
323 if (view.error() != C2_OK) { in encodeNFrames()
324 fprintf(stderr, "C2LinearBlock::map() failed : %d", view.error()); in encodeNFrames()
327 ASSERT_EQ((size_t)bytesCount, view.capacity()); in encodeNFrames()
328 ASSERT_EQ(0u, view.offset()); in encodeNFrames()
329 ASSERT_EQ((size_t)bytesCount, view.size()); in encodeNFrames()
331 memcpy(view.base(), data, bytesCount); in encodeNFrames()
DMtsHidlC2V1_0TargetAudioDecTest.cpp448 C2WriteView view = block->map().get(); in decodeNFrames() local
449 if (view.error() != C2_OK) { in decodeNFrames()
450 fprintf(stderr, "C2LinearBlock::map() failed : %d", view.error()); in decodeNFrames()
453 ASSERT_EQ((size_t)size, view.capacity()); in decodeNFrames()
454 ASSERT_EQ(0u, view.offset()); in decodeNFrames()
455 ASSERT_EQ((size_t)size, view.size()); in decodeNFrames()
457 memcpy(view.base(), data, size); in decodeNFrames()
/hardware/google/av/codec2/hidl/1.0/mts/video/
DMtsHidlC2V1_0TargetVideoEncTest.cpp307 C2GraphicView view = block->map().get(); in encodeNFrames() local
308 if (view.error() != C2_OK) { in encodeNFrames()
309 fprintf(stderr, "C2GraphicBlock::map() failed : %d", view.error()); in encodeNFrames()
313 uint8_t* pY = view.data()[C2PlanarLayout::PLANE_Y]; in encodeNFrames()
314 uint8_t* pU = view.data()[C2PlanarLayout::PLANE_U]; in encodeNFrames()
315 uint8_t* pV = view.data()[C2PlanarLayout::PLANE_V]; in encodeNFrames()
DMtsHidlC2V1_0TargetVideoDecTest.cpp390 C2WriteView view = block->map().get(); in decodeNFrames() local
391 if (view.error() != C2_OK) { in decodeNFrames()
392 fprintf(stderr, "C2LinearBlock::map() failed : %d", view.error()); in decodeNFrames()
395 ASSERT_EQ((size_t)size, view.capacity()); in decodeNFrames()
396 ASSERT_EQ(0u, view.offset()); in decodeNFrames()
397 ASSERT_EQ((size_t)size, view.size()); in decodeNFrames()
399 memcpy(view.base(), data, size); in decodeNFrames()
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp347 C2WriteView view = block->map().get(); in play() local
348 if (view.error() != C2_OK) { in play()
349 fprintf(stderr, "C2LinearBlock::map() failed : %d", view.error()); in play()
352 memcpy(view.base(), data, size); in play()
/hardware/google/av/media/codecs/xaac/
DC2SoftXaacDec.cpp409 C2ReadView view = mDummyReadView; in process() local
413 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
414 size = view.capacity(); in process()
416 if (size && view.error()) { in process()
417 ALOGE("read view map failed %d", view.error()); in process()
418 work->result = view.error(); in process()
433 inBuffer = const_cast<uint8_t*>(view.data() + offset); in process()
469 const uint8_t* adtsHeader = view.data() + offset; in process()
512 inBuffer = const_cast<uint8_t*>(view.data() + offset); in process()
/hardware/google/av/media/codecs/aac/
DC2SoftAacDec.cpp541 C2ReadView view = mDummyReadView; in process() local
545 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
546 size = view.capacity(); in process()
561 inBuffer[0] = const_cast<UCHAR *>(view.data() + offset); in process()
593 const uint8_t *adtsHeader = view.data() + offset; in process()
638 inBuffer[0] = const_cast<UCHAR *>(view.data() + offset); in process()
DC2SoftAacEnc.cpp346 C2ReadView view = mDummyReadView; in process() local
350 view = work->input.buffers[0]->data().linearBlocks().front().map().get(); in process()
351 data = view.data(); in process()
352 capacity = view.capacity(); in process()
/hardware/interfaces/biometrics/face/1.0/
Dtypes.hal208 * Only the upper part of the face was detected. The sensor's field of view
217 * Only the lower part of the face was detected. The sensor's field of view
226 * Only the right part of the face was detected. The sensor's field of view
235 * Only the left part of the face was detected. The sensor's field of view
252 * No face was detected within the sensor's field of view.
/hardware/interfaces/camera/device/1.0/
Dtypes.hal198 * the top-left of the camera field of view, and (1000, 1000) represents the
199 * bottom-right of the field of view. The width and height cannot be 0 or
217 * the face leaves the field-of-view and comes back, it will get a new
/hardware/google/av/media/codecs/avc/
DC2SoftAvcEnc.cpp1392 std::shared_ptr<const C2GraphicView> view; in process() local
1396 view = std::make_shared<const C2GraphicView>( in process()
1398 if (view->error() != C2_OK) { in process()
1399 ALOGE("graphic view map err = %d", view->error()); in process()
1423 &s_encode_ip, &s_encode_op, view.get(), wView.base(), wView.capacity(), timestamp); in process()
/hardware/interfaces/gnss/measurement_corrections/1.0/
Dtypes.hal114 * A set of SingleSatCorrection each containing measurement corrections for a satellite in view
/hardware/interfaces/input/common/1.0/
Dtypes.hal516 * The pointer is not down but has entered the boundaries of a window or view.
520 * The pointer is not down but has exited the boundaries of a window or view.
/hardware/interfaces/camera/device/3.2/
DICameraDeviceSession.hal304 * that from the HAL's point of view, a processCaptureRequest() call may
/hardware/interfaces/renderscript/1.0/
DIContext.hal47 * and the type must describe the size of the view starting at that point.
/hardware/qcom/msm8998/json-c/
DDoxyfile650 # to the contents of the HTML help documentation and to the tree view.