Home
last modified time | relevance | path

Searched refs:luma_idx (Results 1 – 2 of 2) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dmediacodec_sw_buffer.c298 size_t luma_idx = y * QCOM_TILE_HEIGHT * linesize + x * QCOM_TILE_WIDTH; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka() local
301 size_t chroma_idx = (luma_idx / linesize) * linesize / 2 + (luma_idx % linesize); in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
323 memcpy(frame->data[0] + luma_idx, src_luma, tile_width); in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
325 luma_idx += linesize; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
327 memcpy(frame->data[0] + luma_idx, src_luma, tile_width); in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
329 luma_idx += linesize; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamc.c1007 gint luma_idx; in gst_amc_color_format_copy() local
1029 luma_idx = y * TILE_HEIGHT * v_luma_stride + x * TILE_WIDTH; in gst_amc_color_format_copy()
1037 vptr = v_luma + luma_idx; in gst_amc_color_format_copy()
1041 luma_idx += v_luma_stride; in gst_amc_color_format_copy()
1043 vptr = v_luma + luma_idx; in gst_amc_color_format_copy()
1047 luma_idx += v_luma_stride; in gst_amc_color_format_copy()