Home
last modified time | relevance | path

Searched refs:vstride (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/codec2/sfplugin/tests/
DMediaCodec_sanity_test.cpp357 int32_t stride, vstride; in TEST_P() local
359 ofmt->findInt32("slice-height", &vstride) || ofmt->findInt32("height", &vstride); in TEST_P()
376 EXPECT_EQ(img->mPlane[img->U].mOffset, (uint32_t)(stride * vstride)); in TEST_P()
380 EXPECT_EQ(img->mPlane[img->V].mOffset, (uint32_t)(stride * vstride * 5 / 4)); in TEST_P()
384 EXPECT_GE(size, (size_t)(stride * vstride * 5 / 4 + stride / 2 * 119 + 160)); in TEST_P()
385 EXPECT_LE(size, (size_t)(stride * vstride * 3 / 2)); in TEST_P()
394 EXPECT_EQ(img->mPlane[img->U].mOffset, (uint32_t)(stride * vstride)); in TEST_P()
398 EXPECT_EQ(img->mPlane[img->V].mOffset, (uint32_t)(stride * vstride + 1)); in TEST_P()
402 EXPECT_GE(size, (size_t)(stride * vstride + stride * 119 + 320)); in TEST_P()
403 EXPECT_LE(size, (size_t)(stride * vstride * 3 / 2)); in TEST_P()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVpxEnc.cpp321 uint32_t vstride = (height + mStrideAlign - 1) & ~(mStrideAlign - 1); in initEncoder() local
322 mConversionBuffer = MemoryBlock::Allocate(stride * vstride * 3 / 2); in initEncoder()
478 uint32_t vstride = (height + mStrideAlign - 1) & ~(mStrideAlign - 1); in process() local
482 ConvertRGBToPlanarYUV(mConversionBuffer.data(), stride, vstride, in process()
508 MediaImage2 img = CreateYUV420PlanarMediaImage2(width, height, stride, vstride); in process()
509 if (mConversionBuffer.size() >= stride * vstride * 3 / 2) { in process()
516 vpx_img_wrap(&raw_frame, VPX_IMG_FMT_I420, stride, vstride, in process()
521 stride, vstride, mConversionBuffer.size()); in process()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.h53 uint32_t width, uint32_t height, uint32_t stride, uint32_t vstride);
64 uint32_t width, uint32_t height, uint32_t stride, uint32_t vstride);
DCodec2BufferUtils.cpp274 uint32_t width, uint32_t height, uint32_t stride, uint32_t vstride) { in CreateYUV420PlanarMediaImage2() argument
291 .mOffset = stride * vstride, in CreateYUV420PlanarMediaImage2()
298 .mOffset = stride * vstride * 5 / 4, in CreateYUV420PlanarMediaImage2()
309 uint32_t width, uint32_t height, uint32_t stride, uint32_t vstride) { in CreateYUV420SemiPlanarMediaImage2() argument
326 .mOffset = stride * vstride, in CreateYUV420SemiPlanarMediaImage2()
333 .mOffset = stride * vstride + 1, in CreateYUV420SemiPlanarMediaImage2()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp91 int32_t vstride = (img->mPlane[1].mOffset - img->mPlane[0].mOffset) / stride; in handleImageData() local
92 newFormat->setInt32(KEY_SLICE_HEIGHT, vstride); in handleImageData()
93 ALOGD("[%s] updating vstride = %d", mName, vstride); in handleImageData()
/frameworks/native/opengl/libagl/
Degl.cpp71 int32_t vstride; member