Searched refs:p_img (Results 1 – 2 of 2) sorted by relevance
2856 MediaImage *p_img = &p_params->sMediaImage; in describe_color_format() local2865 p_img->mType = MediaImage::MEDIA_IMAGE_TYPE_YUV; in describe_color_format()2866 p_img->mNumPlanes = 3; in describe_color_format()2868 p_img->mWidth = p_params->nFrameWidth; in describe_color_format()2869 p_img->mHeight = p_params->nFrameHeight; in describe_color_format()2871 stride = ALIGN(p_img->mWidth, DEFAULT_ALIGNMENT_STRIDE); in describe_color_format()2872 scanlines = ALIGN(p_img->mHeight, DEFAULT_ALIGNMENT_SCANLINES_Y); in describe_color_format()2874 p_img->mBitDepth = 8; in describe_color_format()2877 p_img->mPlane[MediaImage::Y].mOffset = 0; in describe_color_format()2878 p_img->mPlane[MediaImage::Y].mColInc = 1; in describe_color_format()[all …]
3163 MediaImage *p_img = &p_params->sMediaImage; in describe_color_format() local3172 p_img->mType = MediaImage::MEDIA_IMAGE_TYPE_YUV; in describe_color_format()3173 p_img->mNumPlanes = 3; in describe_color_format()3175 p_img->mWidth = p_params->nFrameWidth; in describe_color_format()3176 p_img->mHeight = p_params->nFrameHeight; in describe_color_format()3184 stride = ALIGN(p_img->mWidth, 128); in describe_color_format()3185 scanlines = ALIGN(p_img->mHeight, 32); in describe_color_format()3187 p_img->mBitDepth = 8; in describe_color_format()3190 p_img->mPlane[MediaImage::Y].mOffset = 0; in describe_color_format()3191 p_img->mPlane[MediaImage::Y].mColInc = 1; in describe_color_format()[all …]