Home
last modified time | relevance | path

Searched refs:luma_size (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
H A 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/libdrm/tests/amdgpu/
H A 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. in amdgpu_cs_vce_encode_p()
572 unsigned luma_size = ALIGN(enc->width, align) * ALIGN(enc->height, 16); amdgpu_cs_vce_mv() local
[all...]
H A 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/mesa3d/src/gallium/drivers/radeonsi/
H A 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()
H A 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()
H A 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/ffmpeg/libavcodec/
H A 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()
H A Dindeo3.c171 int luma_size, chroma_size; in allocate_frame_buffers() local
193 luma_size = luma_pitch * (luma_height + 1); in allocate_frame_buffers()
205 ctx->planes[p].buffers[0] = av_malloc(!p ? luma_size : chroma_size); in allocate_frame_buffers()
206 ctx->planes[p].buffers[1] = av_malloc(!p ? luma_size : chroma_size); in allocate_frame_buffers()
H A Dlibsvtav1.c127 const size_t luma_size = config->source_width * config->source_height * in alloc_buffer() local
132 svt_enc->raw_size = luma_size * 3 / 2; in alloc_buffer()
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Ddecode.h124 // chroma ones. The size of each plane buffer is passed as 'luma_size',
130 uint8_t* luma, size_t luma_size, int luma_stride,
302 // 'luma_size' and its stride 'luma_stride'. Similarly, the chroma-u plane
311 uint8_t* luma, size_t luma_size, int luma_stride,
319 uint8_t* luma, size_t luma_size, int luma_stride,
/third_party/skia/third_party/externals/libwebp/src/dec/
H A 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()
H A Dwebp_dec.c576 uint8_t* luma, size_t luma_size, int luma_stride, in WebPDecodeYUVInto()
588 output.u.YUVA.y_size = luma_size; in WebPDecodeYUVInto()
575 WebPDecodeYUVInto(const uint8_t* data, size_t data_size, uint8_t* luma, size_t luma_size, int luma_stride, uint8_t* u, size_t u_size, int u_stride, uint8_t* v, size_t v_size, int v_stride) WebPDecodeYUVInto() argument

Completed in 13 milliseconds