Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/
DCodec2Buffer.cpp265 uint32_t vStride = align(view.crop().height, 2); in GraphicView2MediaImageConverter() local
359 mediaImage->mPlane[mediaImage->U].mOffset = stride * vStride; in GraphicView2MediaImageConverter()
365 mediaImage->mPlane[mediaImage->V].mOffset = stride * vStride * 5 / 4; in GraphicView2MediaImageConverter()
387 mediaImage->mPlane[mediaImage->U].mOffset = stride * vStride; in GraphicView2MediaImageConverter()
393 mediaImage->mPlane[mediaImage->V].mOffset = stride * vStride + 1; in GraphicView2MediaImageConverter()
415 mediaImage->mPlane[mediaImage->U].mOffset = stride * vStride; in GraphicView2MediaImageConverter()
421 mediaImage->mPlane[mediaImage->V].mOffset = stride * vStride + 2; in GraphicView2MediaImageConverter()
457 int32_t offset = rowInc * vStride / yPlane.rowSampling; in GraphicView2MediaImageConverter()
465 offset += rowInc * vStride / uPlane.rowSampling; in GraphicView2MediaImageConverter()
621 bufferSize += stride * vStride / plane.rowSampling / plane.colSampling; in GraphicView2MediaImageConverter()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp591 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in process() local
608 uStride = vStride = width / 2; in process()
623 && uStride == vStride in process()
624 && yStride == 2 * vStride) { in process()
644 uStride = vStride = width / 2; in process()
DC2SoftMpeg4Dec.cpp613 size_t vStride = align(mHeight, 16); in process() local
615 const uint8_t *srcU = (const uint8_t *)srcY + vStride * srcYStride; in process()
616 const uint8_t *srcV = (const uint8_t *)srcY + vStride * srcYStride * 5 / 4; in process()
/frameworks/av/media/module/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp121 size_t vStride = align(mHeight, 16); in dumpOutput() local
132 src = srcStart + vStride * srcYStride; in dumpOutput()
138 src = srcStart + vStride * srcYStride * 5 / 4; in dumpOutput()
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcEnc.cpp880 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs() local
905 uStride = vStride = yStride / 2; in setEncodeArgs()
920 uStride == vStride && yStride == 2 * vStride) { in setEncodeArgs()
927 uStride = vStride = yStride / 2; in setEncodeArgs()
964 ps_encode_ip->ai4_inp_strd[2] = vStride; in setEncodeArgs()
968 ps_encode_ip->ai4_inp_size[2] = vStride * height >> 1; in setEncodeArgs()
/frameworks/av/media/codec2/components/avc/
DC2SoftAvcEnc.cpp1532 int32_t vStride = layout.planes[C2PlanarLayout::PLANE_V].rowInc; in setEncodeArgs() local
1552 uStride = vStride = yStride / 2; in setEncodeArgs()
1566 && uStride == vStride in setEncodeArgs()
1567 && yStride == 2 * vStride) { in setEncodeArgs()
1574 uStride = vStride = yStride / 2; in setEncodeArgs()
1617 ps_inp_raw_buf->au4_strd[2] = vStride; in setEncodeArgs()