Home
last modified time | relevance | path

Searched refs:luma_size (Results 1 – 15 of 15) sorted by relevance

/third_party/libdrm/tests/amdgpu/
Dvce_tests.c358 unsigned luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16); in amdgpu_cs_vce_encode_idr() local
362 chroma_offset = luma_offset + luma_size; in amdgpu_cs_vce_encode_idr()
378 ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2); in amdgpu_cs_vce_encode_idr()
380 ib_cpu[len + 10 + i] = luma_size * 1.5; in amdgpu_cs_vce_encode_idr()
393 ib_cpu[len + 73] = luma_size * 1.5; in amdgpu_cs_vce_encode_idr()
394 ib_cpu[len + 74] = luma_size * 2.5; in amdgpu_cs_vce_encode_idr()
408 unsigned luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16); in amdgpu_cs_vce_encode_p() local
412 chroma_offset = luma_offset + luma_size; in amdgpu_cs_vce_encode_p()
430 ib_cpu[len + 2 + i] = luma_size * 1.5 * (i + 2); in amdgpu_cs_vce_encode_p()
432 ib_cpu[len + 10 + i] = luma_size * 1.5; in amdgpu_cs_vce_encode_p()
[all …]
Duvd_enc_tests.c432 unsigned luma_size = ALIGN(enc.width, align) * ALIGN(enc.height, 16); in amdgpu_cs_uvd_enc_encode() local
434 chroma_offset = luma_offset + luma_size; in amdgpu_cs_uvd_enc_encode()
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
Dsimple_api_fuzzer.c66 size_t luma_size = w * h; in LLVMFuzzerTestOneInput() local
71 if (size & 1) luma_size--; in LLVMFuzzerTestOneInput()
75 uint8_t* const luma_buf = (uint8_t*)malloc(luma_size); in LLVMFuzzerTestOneInput()
78 WebPDecodeYUVInto(data, size, luma_buf, luma_size, w /* luma_stride */, in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavcodec/
Dmediacodec_sw_buffer.c288 size_t luma_size = tile_w_align * tile_h_luma * QCOM_TILE_SIZE; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka() local
289 if((luma_size % QCOM_TILE_GROUP_SIZE) != 0) in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
290 luma_size = (((luma_size - 1) / QCOM_TILE_GROUP_SIZE) + 1) * QCOM_TILE_GROUP_SIZE; in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
308 const uint8_t *src_chroma = data + luma_size in ff_mediacodec_sw_buffer_copy_yuv420_packed_semi_planar_64x32Tile2m8ka()
Dindeo3.c169 int luma_size, chroma_size; in allocate_frame_buffers() local
191 luma_size = luma_pitch * (luma_height + 1); in allocate_frame_buffers()
203 ctx->planes[p].buffers[0] = av_malloc(!p ? luma_size : chroma_size); in allocate_frame_buffers()
204 ctx->planes[p].buffers[1] = av_malloc(!p ? luma_size : chroma_size); in allocate_frame_buffers()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dradeon_vcn_enc_4_0.c105 int luma_size = enc->enc_pic.ctx_buf.rec_luma_pitch * align(aligned_height, enc->alignment); in radeon_enc_ctx() local
107 luma_size *= 2; in radeon_enc_ctx()
108 int chroma_size = align(luma_size / 2, enc->alignment); in radeon_enc_ctx()
112 offset += luma_size; in radeon_enc_ctx()
Dradeon_vcn_enc.c414 int luma_size = rec_luma_pitch * align(aligned_height, enc->alignment); in setup_dpb() local
416 luma_size *= 2; in setup_dpb()
417 int chroma_size = align(luma_size / 2, enc->alignment); in setup_dpb()
427 offset += luma_size; in setup_dpb()
432 offset += luma_size; in setup_dpb()
Dradeon_vcn_enc_1_2.c1045 int luma_size = enc->enc_pic.ctx_buf.rec_luma_pitch * align(aligned_height, enc->alignment); in radeon_enc_ctx() local
1047 luma_size *= 2; in radeon_enc_ctx()
1048 int chroma_size = align(luma_size / 2, enc->alignment); in radeon_enc_ctx()
1052 offset += luma_size; in radeon_enc_ctx()
/third_party/skia/third_party/externals/libwebp/src/webp/
Ddecode.h130 uint8_t* luma, size_t luma_size, int luma_stride,
311 uint8_t* luma, size_t luma_size, int luma_stride,
319 uint8_t* luma, size_t luma_size, int luma_stride,
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Ddecode.h133 uint8_t* luma, size_t luma_size, int luma_stride,
314 uint8_t* luma, size_t luma_size, int luma_stride,
322 uint8_t* luma, size_t luma_size, int luma_stride,
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c711 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, in WebPINewYUVA() argument
720 luma_size = u_size = v_size = a_size = 0; in WebPINewYUVA()
726 if (luma_size == 0 || u_size == 0 || v_size == 0) return NULL; in WebPINewYUVA()
741 idec->output_.u.YUVA.y_size = luma_size; in WebPINewYUVA()
754 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, in WebPINewYUV() argument
757 return WebPINewYUVA(luma, luma_size, luma_stride, in WebPINewYUV()
Dwebp_dec.c576 uint8_t* luma, size_t luma_size, int luma_stride, in WebPDecodeYUVInto() argument
588 output.u.YUVA.y_size = luma_size; in WebPDecodeYUVInto()
/third_party/skia/third_party/externals/libwebp/src/dec/
Didec_dec.c716 WebPIDecoder* WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, in WebPINewYUVA() argument
725 luma_size = u_size = v_size = a_size = 0; in WebPINewYUVA()
731 if (luma_size == 0 || u_size == 0 || v_size == 0) return NULL; in WebPINewYUVA()
746 idec->output_.u.YUVA.y_size = luma_size; in WebPINewYUVA()
759 WebPIDecoder* WebPINewYUV(uint8_t* luma, size_t luma_size, int luma_stride, in WebPINewYUV() argument
762 return WebPINewYUVA(luma, luma_size, luma_stride, in WebPINewYUV()
Dwebp_dec.c576 uint8_t* luma, size_t luma_size, int luma_stride, in WebPDecodeYUVInto() argument
588 output.u.YUVA.y_size = luma_size; in WebPDecodeYUVInto()
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/
Dgstamc.c989 size_t luma_size = tile_w_align * tile_h_luma * TILE_SIZE; in gst_amc_color_format_copy() local
997 if ((luma_size % TILE_GROUP_SIZE) != 0) in gst_amc_color_format_copy()
998 luma_size = (((luma_size - 1) / TILE_GROUP_SIZE) + 1) * TILE_GROUP_SIZE; in gst_amc_color_format_copy()
1015 cdata + luma_size + tile_pos (x, y / 2, tile_w_align, in gst_amc_color_format_copy()